Skip to content
AID v2.3.0 is out.See what's new →
Concepts

FAQ

AI Integrated Development. “Integrated” captures the core philosophy: human and AI co-execute every phase. Not “AI-driven” (human is the pilot) and not “AI-assisted” (AI does more than assist).

How is AID different from SDD (Spec-Driven Development)?

Section titled “How is AID different from SDD (Spec-Driven Development)?”

SDD covers spec→code. AID covers problem→production→maintenance. AID contains SDD as one layer — the spec-and-build span — and adds discovery, requirements gathering, multi-level planning, post-deployment monitoring, and formal feedback loops. See the comparison table.

Yes — and that’s the point. Waterfall’s phases were sound. Waterfall failed because humans were too slow to execute them with rigor. Agile solved that by dropping the rigor. AI changes the economics: discovery takes hours not weeks, going back costs tokens not sprints. The rigor becomes viable again.

No. Use what applies:

  • Greenfield project with clear requirements? Skip Discover, start at Describe.
  • Quick bug fix or small change? Skip Describe entirely — run the matching shortcut (e.g. /aid-fix) directly, or /aid-triage if you’re not sure which one fits.
  • Spike/prototype? Use Discover → Specify → Execute. Skip planning.

The phases are a menu, not a checklist. The two Deliver skills — aid-deploy and aid-monitor — are optional, separately-invoked paths, not steps in the numbered sequence (which ends at Execute); many projects ship by other means and never invoke them. But know what you’re skipping and why.

Run /aid-config first — regardless of whether it’s greenfield or brownfield. Init scaffolds the Knowledge Base structure (14 empty templates), creates AGENTS.md and CLAUDE.md placeholders, and records project metadata. Once init is done, proceed to /aid-discover (existing codebase) or /aid-describe (new project).


AID ships install bundles for five host tools:

  1. Claude Code — installs to .claude/
  2. OpenAI Codex CLI — installs to .codex/
  3. Cursor — installs to .cursor/
  4. GitHub Copilot CLI — installs to .github/
  5. Antigravity — installs to .agent/

All five install trees are byte-identical in skill and agent content; only the wrapper format differs per tool.

First, bootstrap the aid CLI once per machine, then use aid add inside the repo.

Bootstrap (one of four channels):

Terminal window
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.sh | bash
# Windows PowerShell
irm https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.ps1 | iex
# npm (Node >=18)
npm i -g aid-installer
# PyPI (Python >=3.8)
pipx install aid-installer

Add AID to a project (run inside the repo):

Terminal window
aid add claude-code # or: codex cursor copilot-cli antigravity
aid add codex,cursor # multiple tools at once

Re-running aid add is safe — identical files are skipped. Root agent files you edited yourself are protected (see docs/install.md). See the full install guide for offline installs, version pinning, and the complete subcommand reference.

Terminal window
aid update # update all installed tools in the current project
aid update self # update the aid CLI itself

aid update self is channel-aware: it detects how aid was installed (curl/irm, npm, or PyPI) and prints the correct upgrade command automatically.

Terminal window
aid remove # remove all AID from the current project (asks to confirm)
aid remove claude-code # remove one tool
aid remove self # remove the aid CLI itself (asks to confirm)

Uninstall is manifest-driven — only files that aid add wrote are removed. Files you edited yourself are left in place.

The skills run as slash commands inside your AI coding tool. There are three ways in:

/aid-fix, /aid-create-api, ... # shortcut: name your change, go straight to the lite path
/aid-triage # not sure which shortcut fits? describe it, get routed
/aid-describe # broad or new-project work: full requirements interview

Once you’re on the full path:

/aid-config # always first
/aid-discover # brownfield: understand the existing code
/aid-describe # full requirements interview (on approval, run /aid-define)
/aid-define # decompose approved requirements into features (full path only)
/aid-execute # implement tasks with built-in review

Each skill is a state-machine instruction document that your host AI tool executes. No plugins required.

Yes. The Knowledge Base and formal artifacts (SPEC.md, the STATE files, IMPEDIMENT files) are designed for team collaboration. Multiple people can work on different phases simultaneously. The artifacts are the coordination mechanism.

Start with one delivery. Use the templates. See if the structure helps. Most teams report that Discovery alone (building the KB) pays for itself within the first week — every subsequent task is faster because the context is documented.


The lite path is a condensed, flattened workflow for small, well-scoped work. You enter it by naming your change with a verb-first shortcut skill — /aid-fix, /aid-create-api, /aid-change-ui, and 73 others — rather than by running /aid-describe. Every shortcut is a thin doorway into the shared shortcut engine (INTAKE → CAPTURE → SPEC → PLAN → DETAIL → GATE → APPROVAL-HALT), which collapses Describe→Define→Specify→Plan→Detail into one fast, mostly-autonomous run. It produces a flattened artifact set at the work root (SPEC.md, PLAN.md, BLUEPRINT.md, tasks/task-NNN/DETAIL.md) — no features/, no deliveries/ — then halts for your approval before /aid-execute.

When should I use the lite path vs. the full path?

Section titled “When should I use the lite path vs. the full path?”

Pick the entry yourself: if you know exactly what you want (one focused change, no new requirements gathering needed), run the matching shortcut directly. If you’re not sure which shortcut fits, run /aid-triage — it’s a stateless, suggest-only router: describe the work in a sentence, it infers scope, and suggests either a specific shortcut or the full path via /aid-describe. Broad, multi-target, or ambiguous work (multiple features, design decisions to make, formal requirements and a delivery plan needed) belongs on the full path either way.

The 76 shortcut skills are generated from a catalog (shortcut-catalog.yml) of canonical names and aliases — for example aid-create-api is canonical, aid-add-api is its alias. Each shortcut delegates to the shared shortcut engine, which consults a family-specific shortcut-scaffolding/<family>.md for SPEC/PLAN/DETAIL scaffolding appropriate to the kind of change (API, UI, CLI, data model, infra, and so on). The engine runs autonomously through CAPTURE/SPEC/PLAN/DETAIL — no per-phase human checkpoint — with a mechanical GATE grading every generated document before the terminal approval halt. It never executes; /aid-execute is a separate, user-initiated run after you approve.


The 14 standard markdown documents that capture the living understanding of a project: architecture.md, coding-standards.md, domain-glossary.md, external-sources.md, feature-inventory.md, infrastructure.md, integration-map.md, module-map.md, pipeline-contracts.md, project-structure.md, schemas.md, tech-debt.md, technology-stack.md, and test-landscape.md. Templates live at canonical/aid/templates/knowledge-base/.

The count is configurable per project via discovery.doc_set in .aid/settings.yml; 14 is the default seed.

Formal pathways for a downstream phase to revise upstream artifacts. When implementation reveals the spec was wrong, you don’t silently work around it — you create an IMPEDIMENT.md that triggers a spec revision. There are 11 loops total. See the methodology document.

AID’s review phase grades code on a scale from A+ (exemplary) to F (doesn’t build). The grading evaluates specification compliance, architecture adherence, and convention conformance — not a fixed checklist. Define your project’s specific quality gates in SPEC.md and the review criteria.

How do I handle the “spec was wrong” problem?

Section titled “How do I handle the “spec was wrong” problem?”

That’s what feedback loops are for. When implementation discovers a spec error:

  1. Create IMPEDIMENT.md describing what the spec assumed vs. what’s true
  2. Route back to the appropriate phase (Specify, Plan, or Discover)
  3. Revise the upstream artifact with a formal change record
  4. Resume implementation from the corrected spec

The impediment artifact creates an audit trail. You can always answer “why did this change?”

aid-housekeep is an on-demand, off-pipeline skill for keeping the Knowledge Base current. Run it whenever you suspect the KB has drifted from the codebase (after a large merge, a major refactor, etc.). It runs: PREFLIGHT → KB-DELTA → SUMMARY-DELTA → CLEANUP → DONE on a dedicated aid/housekeep-* branch.

All AID runtime state lives under .aid/ in your project. Key locations:

  • .aid/knowledge/ — the Knowledge Base (14 standard docs + meta)
  • .aid/knowledge/STATE.md — discovery-area state (Q&A, review history)
  • .aid/works/{work}/STATE.md — work-area state for each work item
  • .aid/works/{work}/SPEC.md — work-root spec (lite path, via a shortcut) or per-feature features/{feature}/SPEC.md (full path, via /aid-describe)
  • .aid/works/{work}/BLUEPRINT.md (lite path) or .aid/works/{work}/deliveries/{delivery}/BLUEPRINT.md (full path) — delivery definition
  • .aid/works/{work}/tasks/{task}/DETAIL.md (lite path) or .aid/works/{work}/deliveries/{delivery}/tasks/{task}/DETAIL.md (full path) — task definition, ready for execution
  • .aid/settings.yml — project configuration (including discovery.doc_set)

Report an issue with this page →