/aid:aid-developmentfrom AID
Guides the development phase of the AID framework: implement features with TDD, run mandatory QA sub-agent after each task, and record QA passes via a session hook.
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.
Phase 4. Purpose: implement solution with quality built-in through TDD. Entry: tech spec completed, architecture defined. Exit: all features implemented, tests passing, code reviewed.
Deliverables:
Iron Rule: Task complete → Spawn QA → Wait for result → PASS? Next task : Fix
Per-task flow:
.aid/qa/{task-id}.yaml)Task(
subagent_type="aid:qa-validator-agent", # link-project route only: "qa-validator-agent"
prompt="Task {TASK-ID}. Acceptance criteria: .aid/qa/{TASK-ID}.yaml. Changed files: [paths]. Return JSON with verdict: PASS or FAIL.",
description="QA validation for {TASK-ID}"
)
.aid/qa/reports/{task-id}-report-{N}.json (N = QA cycle).action_required, spawn QA again.Recording a PASS. The Phase 4 QA Stop gate lets the task end only when .aid/state.json
holds a QA pass for the task's current criteria file. The one way to record it is this
command, which Claude Code asks the user to confirm:
python "${CLAUDE_PLUGIN_ROOT}/hooks/aid_session.py" qa-pass <TASK-ID> --note "<short summary>"
Never create a marker or verdict file under .aid/qa/ yourself: those files are refused,
and the gate ignores them. If the criteria file changes after the pass, the pass no longer
counts and QA must run again.
QA criteria file .aid/qa/{task-id}.yaml:
criteria:
must_achieve: # What code MUST do
must_not: # What code must NEVER do
not_included: # Scope boundaries
best_practices: # Quality standards
QA sub-agent context (isolated):
QA gate rules:
| Rule | Enforcement |
|---|---|
| Hard block | Cannot proceed until PASS |
| Max 3 cycles | After 3 FAILs, escalate to human |
| Check all criteria | Reports ALL failures |
| No skipping | Mandatory for all tasks |
When QA fails:
.aid/qa/reports/{task-id}-report-{N}.jsonaction_requiredRED (failing test) → GREEN (make pass) → REFACTOR (clean up) → REPEAT
| Phase | Rule |
|---|---|
| RED | Test MUST fail first |
| GREEN | Minimal code to pass |
| REFACTOR | Tests still pass |
Always applies, scaled by the PRD's §1.5 Solution Shape level. No part is "N/A". Sources: PRD §7A.1 Charter, §7A.6 Eval Plan, §7A.7 Telemetry & Traces.
| Level | Form in Phase 4 |
|---|---|
| 0-1 (Process change, Deterministic automation) | Ordinary TDD (above) plus structured logs and metrics |
| 2-3 (Single LLM call, Workflow) | Eval cases per LLM step, traces, versioned prompts |
| 4-5 (Agent, Multi-agent) | Plus per-tool, trajectory and never-do evals; versioned tool definitions |
Rules (eval-driven = TDD for prompts, tools and agents):
Eval cases live with the code: the dev/targeted suite and never-do checks in tests/evals/dev/; QA owns tests/evals/golden/ (golden set + held-out split). Cycle and judge rules: ../test-driven/SKILL.md. Detail: SKILL.extended.md → Eval-Driven Development.
Timing (A9): start from the Phase 1 seed cases (docs/prd/SEED-EVALS-<feature>.md); QA keeps growing the golden set in parallel (complete only for the Phase 5 gate), so never wait for it. When this phase introduces an LLM judge, the data scientist calibrates it here.
| Pitfall | Fix |
|---|---|
| Skipping TDD | Write tests first |
| Test-specific code | No if is_test: in prod |
| Over-mocking | <20% mocking |
| Happy path only | Test errors & edge cases |
| Weak assertions | Assert exact values |
Required:
Forbidden:
any typesFull rules and per-language examples: references/documentation-standards.md
File-Level:
/**
* @file UserService.ts
* @description Purpose
* @related ./UserRepository.ts
*/
Function:
/**
* Creates user account.
* @param data - User input
* @returns Created user
* @throws {ValidationError} If email invalid
*/
| Role | Focus |
|---|---|
| PM | Clarifications, validate intent |
| Dev | TDD, implement to pass tests |
| QA | Review coverage, test scenarios |
| Tech Lead | Code review, standards |
When the automated pipeline is active (.aid/pipeline/state.json exists with pipeline_status: "running"), Phase 4 step sequencing is driven by the pipeline-orchestrator skill. Run /pipeline to start it; when inactive, the manual flow above applies.
| Without Pipeline | With Pipeline |
|---|---|
| Developer decides when to review | Pipeline enforces CODE_REVIEW after DEVELOP |
| Developer decides when to write tests | Pipeline enforces TDD after CODE_REVIEW passes |
| Developer decides when to validate | Pipeline enforces TEST_REVIEW + PHASE_GATE |
| Manual flow | Automated state machine with retry loops |
Unchanged under pipeline: TDD workflow (RED-GREEN-REFACTOR), code quality standards, QA gate enforcement (same qa-validator-agent), documentation standards.
See ../pipeline-orchestrator/SKILL.md for full pipeline documentation.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ilandahan/aid --plugin aid27 skills in this plugin
/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./aid-prdAID Phase 1 - PRD creation. Use for user stories, acceptance criteria, scoping features, transitioning from discovery to tech spec./aid-qa-shipAID Phase 5 - QA and Release. Use for validating implementations, acceptance tests, preparing releases, deployment, operational readiness./aid-tech-specAID Phase 2 - Technical Specification. Use for system architecture, API contracts, data models, security architecture, transitioning from PRD to implementation./atomic-designBuild an Atomic Design system from design spec style guides - extract tokens, create atoms/molecules/organisms/templates/pages as reusable component libraries. Use when building or extending a design system or component library.Other plugins' skills for the same job