Architect Agent
File: .github/agents/tsh-architect.agent.md
The Architect agent designs technical solutions, system architecture, and detailed implementation plans. It translates business requirements into structured, executable specifications that are validated by the Architect Reviewer before implementation begins.
The Architect owns plan revisions and records only the user's literal Human approval response; it never infers consent from context or from Reviewer approval. tsh-plan-reviewer APPROVED is Reviewer approval only and leaves Human approval pending. Both Start Implementation and Start Infrastructure Implementation pass through the Engineering Manager and its Human approval gate; neither handoff directly authorizes file-changing work.
The Architect presents and records Human Approval when delegated to update the plan. Execution owners, not the Architect, validate the persisted Human Approval record from disk before editing.
Responsibilities
- Designing the overall architecture of the solution (components, interactions, data flow).
- Creating detailed implementation plans broken into phases and tasks with checklist-style tracking.
- Ensuring solutions align with project requirements, best practices, and quality standards.
- Defining security considerations and quality assurance guidelines.
- Collaborating with Business Analysts to clarify ambiguities.
What It Produces
Each technical specification includes:
- Solution Architecture — High-level overview of components, interactions, and data flow.
- Implementation Plan — Phases and tasks with clear definition of done for each task, ready for Architect Reviewer validation.
- Test Plan — Automated testing strategies (no manual QA steps).
- Security Considerations — Security aspects to address during implementation.
- Quality Assurance — Guidelines for ensuring implementation quality.
Tool Access
| Tool | Usage |
|---|---|
| Atlassian | Gather requirements from Jira issues and Confluence pages |
| Context7 | Evaluate libraries, verify compatibility, search integration patterns |
| Figma | Translate visual requirements into technical specifications |
| PDF Reader | Read and extract content from PDF requirement documents |
| Sequential Thinking | Design complex architectures, evaluate trade-offs, break down features |
| Terminal | Run build tools, scripts, and validation commands |
| File Read/Edit/Search | Read, modify, and search workspace files |
| VS Code Commands | Execute VS Code commands and run tasks |
| Sub-agents | Delegate subtasks to specialized agents |
| Todo | Track task progress with structured checklists |
Skills Loaded
tsh-architecture-designing— Solution design, components, data flows.tsh-creating-implementation-plans— Implementation plan template, structure, and DoD rules.tsh-codebase-analysing— Analyze current architecture, components, and patterns.tsh-implementation-gap-analysing— Focus the plan on necessary changes without duplicating existing work.tsh-technical-context-discovering— Establish project conventions and patterns before designing.tsh-sql-and-database-understanding— Database schema design, indexing strategies, transaction patterns.tsh-designing-multi-cloud-architecture— Cross-provider infrastructure design and service selection across AWS, Azure, and GCP.tsh-optimizing-cloud-cost— Cost implications of architectural decisions, pricing model comparison.tsh-implementing-ci-cd— CI/CD pipeline design, deployment strategies, delivery workflows.tsh-implementing-terraform-modules— IaC structure, Terraform module hierarchy, Terragrunt patterns.tsh-managing-secrets— Secrets management, credential rotation, vault integration.tsh-implementing-kubernetes— K8s workload configurations, scaling strategies, Helm chart structure.tsh-implementing-observability— Monitoring architecture, SLO frameworks, alerting, distributed tracing.tsh-engineering-prompts— LLM prompt architecture: prompt template strategy, system prompt design, few-shot vs zero-shot decisions.
Handoffs
After creating the plan, the Architect can hand off to:
- Internal plan review loop → the Architect invokes
tsh-plan-revieweras a nested subagent after creating or revising a plan and addresses all BLOCKER findings. After 3 iterations, if BLOCKERs remain, the Architect asks the user a structured question (try one more iteration, stop here, or give custom guidance) bundled with the remaining findings and iteration history — repeating after every further iteration untiltsh-plan-reviewerreturns Reviewer approval (or the Architect records documented reviewer readiness) or the user chooses to stop. This loop only ever settles Reviewer approval; it never grants or implies Human approval. - Engineering Manager →
/tsh-implement(Start Implementation) once the plan is Reviewer-ready, for the manager's Human approval gate - Engineering Manager →
Start Infrastructure Implementationfor infrastructure work, through the same Human approval gate