Your first work
This walkthrough takes you from a fresh AID install to a completed, delivered work item. It follows the full path — the complete six-phase pipeline. If your change is small and well-scoped, see Lite path quickstart instead.
Prerequisites: aid is installed and on your PATH. See Install AID
if you haven’t done that yet.
1. Configure AID (once per project)
Section titled “1. Configure AID (once per project)”-
Open a terminal in your project root.
This is the git repository where you want to use AID. All
aidcommands operate on the current directory. -
Add your AI tool profile.
Terminal window aid add claude-codeReplace
claude-codewith your tool’s canonical id:codex,cursor,copilot-cli, orantigravity. This installs the AID skills and agents into the correct location for your tool.Run
aid statusto confirm the install. -
Scaffold the Knowledge Base.
In your AI coding tool, run the
/aid-configskill (it was installed by the previous step):/aid-configThis scaffolds the
.aid/directory — the Knowledge Base root — and records your project defaults. Run it once per project; re-running it is safe and non-destructive.
2. Scope your work: Discover and Interview
Section titled “2. Scope your work: Discover and Interview”-
Discover (brownfield projects only).
/aid-discoverScans the codebase and builds the Knowledge Base under
.aid/knowledge/. This phase is mandatory for existing codebases; skip it for greenfield projects.Approve the DISCOVERY-SUMMARY before moving on.
-
Run the Interview skill.
In your AI tool, invoke:
/aid-interviewThe Interview opens in TRIAGE state. Answer the intake questions about your work item — what you want to change, what’s in scope, and roughly how big it is.
-
TRIAGE routes your work.
At the end of intake, TRIAGE classifies the work:
- Full path — the work is complex or high-risk; proceed through all phases below.
- Lite path — the work is small and well-scoped; jumps directly to Execute. Follow the Lite path quickstart for this flow.
For this walkthrough, assume TRIAGE routes to the full path.
-
Review the REQUIREMENTS document.
At the end of Interview, the agent produces a
REQUIREMENTS.mdin.aid/. Read it, confirm it captures your intent, and approve to advance.
3. Walk the phases
Section titled “3. Walk the phases”Each phase produces an artifact. Read it, approve it, and the next phase begins.
-
Specify.
/aid-specifyWrites a grounded specification (
SPEC.md) from the Knowledge Base and REQUIREMENTS. Review the spec carefully — this is where “what we’re building” is locked down.Approve the spec to advance to planning.
-
Plan.
/aid-planDecomposes the spec into a delivery plan (
PLAN.md) with milestones and tasks. Review the plan for scope, dependencies, and sequencing.Approve the plan to advance to detailing.
-
Detail.
/aid-detailProduces implementation-level task files (one per task) under
.aid/work-XXX/tasks/. Each task has acceptance criteria and a scope description. Review and approve. -
Execute.
/aid-executeImplements the tasks in sequence, grades its own output, and loops until each task passes. You review each task’s output and approve advancement. Repeat until all tasks are done.
4. What you get at each gate
Section titled “4. What you get at each gate”| Phase | Artifact | Gate action |
|-------|----------|-------------|
| Discover | DISCOVERY-SUMMARY + Knowledge Base | Approve discovery |
| Interview | REQUIREMENTS.md | Confirm requirements |
| Specify | SPEC.md | Approve spec |
| Plan | PLAN.md | Approve plan |
| Detail | Task files under .aid/work-*/tasks/ | Approve each task |
| Execute | Code + test output | Review, approve, or request revision |
Every gate is a human decision. The pipeline never advances without your explicit approval.
Next steps
Section titled “Next steps”- Lite path quickstart — for small changes that skip the middle phases.
- Installation guide — if you need to reinstall or switch channels.
- Methodology — the full philosophy and decision logic behind each phase.