/aid:aid-tech-specfrom AID
Guides creation of technical specifications for system architecture, API contracts, data models, and security design. Includes a structured template and phase-gate checklist for transitioning from PRD to implementation.
Ships in AID. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Purpose: design the technical solution - a blueprint developers follow without ambiguity.
Entry: PRD approved, requirements clear, dependencies identified. Exit: tech spec complete, architecture documented, API contracts defined, data models specified.
| Pitfall | Fix |
|---|---|
| Over-engineering | Design for current needs |
| Missing error handling | Define errors upfront |
| Tight coupling | Design for testability |
| Ignoring non-functionals | Address performance, security |
| Unclear contracts | APIs unambiguous with examples |
| Agent where a workflow works | Lowest ladder level that works |
| Permissions only in the prompt | Policy as code, default deny |
Emit these 9 sections, in this order, with these exact headings:
# [Feature] Technical Specification
## 1. Overview
### Problem Summary
### Proposed Solution
### Key Decisions
| Decision | Choice | Rationale |
## 2. Architecture
### System Diagram
[Mermaid or image]
### Component Breakdown
| Component | Responsibility | Dependencies |
### Data Flow
## 3. API Design
### POST /api/[resource]
**Request:**
```json
{ "field": "type" }
```
**Response (200):**
```json
{ "id": "string" }
```
**Errors:**
| Code | Error | Description |
## 4. Data Model
### Entity: [Name]
| Field | Type | Constraints | Description |
## 5. Security
### Authentication
### Authorization
### Data Protection
## 6. Error Handling
| Scenario | Response | Recovery |
## 7. Non-Functional Requirements
| Requirement | Target | Measurement |
## 8. Risks & Mitigations
| Risk | Impact | Mitigation |
## 9. Agent Architecture
[Single copy of this section's template, scaling by level and classic forms for levels 0-1:
`references/agent-architecture.md`. Never "N/A". Headings:]
### 9.1 Orchestration Pattern
### 9.2 Tool Contracts & Permission Policy
### 9.3 Guardrails
### 9.4 Trace Schema
### 9.5 Eval Harness
### 9.6 Model Choice & Fallbacks
### 9.7 Cost & Latency Budgets
### 9.8 Kill Switch
Eval timing (A9): 9.5 designs the harness from the PRD's 7A.6 and the Phase 1 seed cases (docs/prd/SEED-EVALS-<feature>.md). The tech spec never waits for the golden set: QA grows it and its held-out split in parallel with Phases 2-4, complete only for the Phase 5 release gate. The data scientist calibrates the judge in Phase 4, when a judge is introduced.
| Role | Focus |
|---|---|
| PM | Validate approach addresses requirements |
| Dev | Own spec, design for testability |
| QA | Review testability, integration points |
| Tech Lead | Review architecture, approve direction; own the §1.5 level, agent architecture, permission policy |
Save to: docs/tech-spec/YYYY-MM-DD-[feature].md
SKILL.extended.md (opens in a new tab)references/agent-architecture.md (opens in a new tab)references/api-design-patterns.md (opens in a new tab)references/api-design-template.md (opens in a new tab)references/architecture-diagrams.md (opens in a new tab)references/data-modeling-guide.md (opens in a new tab)references/error-handling-template.md (opens in a new tab)references/nfr-template.md (opens in a new tab)references/tech-spec-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
27 skills in this plugin
/aid-developmentAID Phase 4 - Development phase. Use for implementing features, TDD practices, code reviews, transitioning from planning to QA./aid-discoveryAID Phase 0 - Research & discovery. Use for validating problem spaces, identifying stakeholders, defining success metrics, deciding whether to proceed./aid-impl-planAID Phase 3 - Implementation Planning with consolidation-first approach. Resolves contradictions between PRD and Tech Spec, creates consolidated master document, then breaks down into actionable tasks and populates Jira. Includes sprint planning and risk assessment.npx claudepluginhub ilandahan/aid --plugin aidOther plugins' skills for the same job