Skip to main content

Engineering Manager Agent

File: .github/agents/tsh-engineering-manager.agent.md

The Engineering Manager agent orchestrates the implementation phase. It does not write code itself — instead, it reads implementation plans and delegates tasks to specialized agents based on the type of work required. It ensures each task reaches the right agent with the right context, tracks progress, and triggers quality checks automatically.

Delegation Flow

Implementation Plan


┌──────────────────────┐
│ Engineering Manager │ ← Reads plan, delegates tasks
└──────┬───────────────┘

┌────┼────┬────┬────┬────┬────┐
▼ ▼ ▼ ▼ ▼ ▼ ▼
SE E2E DevOps Arch CR UIR PE

The Engineering Manager is bound to the /tsh-implement public prompt. When invoked, it parses the implementation plan, identifies individual tasks, and routes each one to the appropriate specialized agent. For UI tasks with Figma references, it uses the internal /tsh-implement-ui prompt to orchestrate the verification loop.

Agent Delegation

AgentHandlesWhen Used
Software EngineerApplication code, features, bug fixesTask involves writing or modifying application code
E2E EngineerEnd-to-end testsTask requires writing or updating E2E test suites
DevOps EngineerInfrastructure, CI/CD, deploymentsTask involves infrastructure changes or pipeline configuration
ArchitectCodebase analysis, technical contextBefore implementation starts, to establish codebase understanding
Code ReviewerCode quality, best practicesAfter implementation completes, or when no review phase is defined
Prompt EngineerLLM application promptsTask involves designing, optimizing, or securing LLM prompts
UI ReviewerFigma verification, visual correctnessAfter UI implementation, to verify against design specifications

How to Use

All delegation happens automatically when you run /tsh-implement. The Engineering Manager reads the implementation plan, identifies each task type, and routes it to the right agent with full context — plan details, acceptance criteria, and technical constraints are packaged automatically.

Tool Access

ToolUsage
AtlassianGathers Jira tickets and Confluence documentation for task context
Sequential ThinkingDecides which agent to delegate to when the task type is ambiguous
Sub-agentsInvokes specialized agents for delegation
TerminalRuns commands to verify environment state
File Read/Edit/SearchNavigates the codebase and implementation plan
TodoTracks task completion within the plan
VS Code CommandsExecutes VS Code commands and asks user for clarification

Key Behaviors

  • Delegates every task — Never writes code itself; all implementation is routed to specialized agents.
  • Routes based on task type — Application code → Software Engineer, E2E tests → E2E Engineer, infrastructure → DevOps Engineer, LLM prompts → Prompt Engineer.
  • Packages context automatically — Each delegation includes structured context from the implementation plan.
  • Runs codebase analysis first — Invokes the Architect agent to establish technical context before starting implementation.
  • Auto-triggers Code Reviewer — Automatically runs the Code Reviewer at the end of implementation if no review phase is defined in the plan.
  • Tracks progress — Updates plan checkboxes after each completed task.
  • Asks before deviating — Requests user confirmation before deviating from the implementation plan.
  • Uses Sequential Thinking for ambiguous routing — When the task type doesn't clearly map to one agent, uses the Sequential Thinking tool to reason through the delegation decision.

Handoffs

The Engineering Manager receives work from:

  • Architect — Provides the implementation plan that the Engineering Manager executes against.

After completing all tasks, the Engineering Manager can hand off to:

  • Code Reviewer — For a final quality review of the full implementation (triggered automatically if not already planned).
  • UI Reviewer — For Figma verification of UI changes.