Documentation

Getting Started with ADD

Everything you need to install, configure, and start building with Agent Driven Development. From first install to your first feature in under ten minutes.

Overview

ADD (Agent Driven Development) is a structured SDLC methodology where AI agents are first-class development team members. It brings the same discipline to AI-native development that TDD brought to testing.

ADD is a free Claude Code plugin — pure markdown and JSON, zero dependencies. Install it in one command and start building with coordinated agent teams that write specs, run TDD cycles, verify quality, and deploy — all with structured human collaboration at every decision point.

Core insight: AI agents are not solo contributors — they are team members. ADD treats them as a coordinated team with roles, scoped permissions, independent verification, and accumulated knowledge that compounds across projects.

The six principles that govern everything ADD does:

  1. Specs before code — Everything flows from specifications. No spec, no code.
  2. Tests before implementation — Strict TDD: RED → GREEN → REFACTOR → VERIFY.
  3. Trust but verify — Sub-agents work. Orchestrators independently verify.
  4. Structured collaboration — Interviews, away mode, decision points, engagement modes.
  5. Environment awareness — Skills adapt to your deployment tier.
  6. Continuous learning — Agents accumulate knowledge through checkpoints and retrospectives.

Installation

ADD is installed through the Claude Code plugin system. One command, nothing else required.

Terminal
$ claude plugin install add

That's it. No build step, no dependencies, no configuration files to create manually. The plugin installs commands, skills, rules, and templates into your Claude Code environment.

What gets installed: 9 commands for orchestration, 9 skills for execution, 11 behavioral rules that auto-load, and 13 document templates. Everything is plain markdown and JSON — fully inspectable, no black boxes.

Prerequisites

Verify Installation

After installing, you can verify by running any ADD command. The simplest check:

Terminal
$ /add:init

If ADD is installed correctly, this will begin the structured project interview.

Quick Start

The ADD workflow follows a clear progression: initialize your project, create specs for features, plan the implementation, build with TDD, verify quality, and deploy. Here is the complete flow.

1. Initialize your project

Terminal
$ /add:init # 5-minute structured interview

The init command runs a structured interview that captures your project's purpose, tech stack, maturity level, and team preferences. It creates:

2. Create a feature spec

Terminal
$ /add:spec # feature interview → specs/{feature}.md

A guided interview captures everything agents need: description, acceptance criteria, test cases, edge cases, dependencies, and scope boundaries. The output is a structured specification file at specs/{feature}.md.

3. Plan the implementation

Terminal
$ /add:plan specs/{feature}.md # generates implementation plan

The plan skill reads the spec and generates a step-by-step implementation plan at docs/plans/{feature}-plan.md. It identifies file changes, dependencies, test strategy, and execution order.

4. Build with TDD

Terminal
$ /add:tdd-cycle specs/{feature}.md # RED → GREEN → REFACTOR → VERIFY

The full TDD cycle: agents write failing tests from the spec (RED), implement minimal code to pass (GREEN), refactor for quality (REFACTOR), and independently verify everything works (VERIFY).

5. Verify quality

Terminal
$ /add:verify # runs 5 quality gates

The verify skill runs up to five quality gates depending on your maturity level: linting, type checking, tests, coverage, and spec compliance. All gates must pass before deployment.

6. Deploy

Terminal
$ /add:deploy # environment-aware deployment

Environment-aware deployment that promotes through your configured environments (local → dev → staging → production). Agents climb the promotion ladder autonomously until production, which always requires human approval.

Your First Feature

Here is a concrete walkthrough of creating a feature end-to-end using ADD. This assumes you have already run /add:init to set up your project.

Step 1: Create the spec

Run /add:spec and answer the interview questions. The agent will ask about:

The output is a structured specification at specs/{your-feature}.md. This file becomes the single source of truth for everything that follows.

Step 2: Generate the plan

Run /add:plan specs/{your-feature}.md to get an implementation plan. The plan breaks the spec into ordered steps, identifies which files need to be created or modified, and outlines the test strategy.

Step 3: Execute the TDD cycle

Run /add:tdd-cycle specs/{your-feature}.md and let the agents work. The cycle proceeds through four phases:

  1. RED — The test-writer agent creates failing tests from your spec's acceptance criteria. Every criterion maps to at least one test.
  2. GREEN — The implementer agent writes the minimal code needed to make all tests pass. No gold-plating.
  3. REFACTOR — The reviewer agent examines the code for quality, patterns, and spec compliance.
  4. VERIFY — An independent agent (fresh context, no shared state) verifies everything works. If verification fails, the cycle restarts.

Trust but verify: The independent verification step is what makes ADD different. A separate agent with no knowledge of the implementation decisions re-runs tests and checks spec compliance. This catches assumptions and blind spots that the implementing agent might miss.

Step 4: Verify and ship

Run /add:verify to confirm all quality gates pass. Once verified, run /add:deploy to deploy through your environment ladder. The agent handles promotion, smoke tests, and rollback automatically — pausing only at production for your approval.

Config Reference

.add/config.json is the central configuration file for your ADD project. It is created during /add:init and controls all agent behavior.

{
  "maturity": "alpha",
  "autonomy": "balanced",
  "techStack": {
    "languages": ["typescript"],
    "framework": "next.js",
    "testRunner": "vitest",
    "linter": "eslint",
    "formatter": "prettier"
  },
  "environments": {
    "local":      { "autoPromote": true,  "verify": "test:unit" },
    "dev":        { "autoPromote": true,  "verify": "test:integration" },
    "staging":    { "autoPromote": true,  "verify": "test:e2e" },
    "production": { "autoPromote": false, "verify": "test:smoke" }
  },
  "branding": {
    "accent": "#b00149",
    "palette": "raspberry",
    "fonts": { "heading": "Inter", "body": "Inter", "mono": "SF Mono" },
    "tone": "professional"
  }
}

Key Fields

Field Values Description
maturity poc | alpha | beta | ga The master dial that governs all process rigor — PRD depth, TDD enforcement, quality gates, parallelism, and WIP limits.
autonomy guided | balanced | autonomous How much freedom agents get. Guided requires human approval at each step. Autonomous allows full away-mode sessions.
techStack Object Languages, frameworks, test runner, linter, formatter, and other tooling. Agents use this to generate correct test files and configuration.
environments Object Per-environment promotion rules. autoPromote controls whether agents can deploy automatically. Production is always false.
branding Object Visual identity for generated artifacts (infographics, reports). Accent color, palette, fonts, and tone.

Knowledge System (3-Tier)

ADD's knowledge system is what makes agents get smarter over time. Knowledge is organized in three tiers, each with different scope and persistence.

Tier Location Scope Who Updates
Plugin-Global knowledge/global.md Universal ADD best practices for all users ADD maintainers only
User-Local ~/.claude/add/library.md Cross-project wisdom accumulated by this user Promoted during /add:retro
Project-Specific .add/learnings.md Discoveries specific to this project Auto-checkpoints + /add:retro

Knowledge flows upward: project discoveries can be promoted to the user library during retrospectives, and universal insights can be promoted to plugin-global. Precedence flows downward: project-specific overrides user-local, which overrides plugin-global.

Automatic Checkpoint Triggers

Agents automatically capture learnings at key moments, without requiring manual intervention:

Cross-project compounding: When an agent discovers that "UUID columns must be type uuid, not text" in Project A, that learning is stored in the project's .add/learnings.md. During /add:retro, it can be promoted to ~/.claude/add/library.md. Now every future project benefits automatically — no one repeats the mistake.

Maturity Levels

The maturity dial is the master control that governs everything in ADD. It determines how much process rigor is applied at every level — from PRD depth to TDD enforcement to quality gates to agent parallelism.

Level PRD Specs TDD Quality Gates Agents WIP
POC A paragraph Optional Optional Pre-commit only 1 1
Alpha 1-pager Critical paths Critical paths + CI 1-2 2
Beta Full template Required Enforced + Pre-deploy 2-4 4
GA Full + architecture + Acceptance criteria Strict All 5 levels 3-5 5

Choose your maturity level during /add:init. You can change it at any time by updating .add/config.json — the maturity dial scales up and down as your project evolves.

Start low, scale up: Most projects should start at POC or Alpha. The overhead of GA-level rigor is unnecessary for early exploration. As the project solidifies and the team grows, move to Beta and then GA. The maturity level is a dial, not a one-way ratchet.

What each level means in practice

Document Hierarchy

Every artifact in ADD traces to a parent. Every test traces to a spec. Every spec traces to a PRD. This traceability chain ensures nothing drifts from the original intent.

Roadmap (docs/prd.md milestones section)
 → Milestones (docs/milestones/M{N}-{name}.md)
   → Cycles (.add/cycles/cycle-{N}.md)
     → Feature Specs (specs/{feature}.md)
       → Implementation Plans (docs/plans/{feature}-plan.md)
         → User Test Cases (in spec)
           → Automated Tests (RED phase)
             → Implementation (GREEN phase)

The hierarchy mirrors how work flows from strategy to execution:

Plugin Structure

ADD is a Claude Code plugin composed entirely of markdown, JSON, and template files. No runtime dependencies, no build step, no backend.

add/
├── commands/     # 9 slash commands (/add:init, /add:spec, /add:away, etc.)
├── skills/       # 9 workflow skills (/add:tdd-cycle, /add:verify, /add:plan, etc.)
├── rules/        # 11 auto-loading behavioral rules
├── hooks/        # PostToolUse automation
├── knowledge/    # Plugin-global best practices (Tier 1)
└── templates/    # 13 document scaffolding templates

What lives where

Directory Count Description
commands/ 9 Slash commands for project orchestration: init, spec, cycle, away, back, retro, brand, brand-update, changelog.
skills/ 9 Execution skills: tdd-cycle, test-writer, implementer, reviewer, verify, plan, optimize, deploy, infographic.
rules/ 11 Behavioral rules that auto-load: spec-driven, tdd-enforcement, human-collaboration, agent-coordination, source-control, environment-awareness, quality-gates, learning, project-structure, maturity-lifecycle, design-system.
hooks/ PostToolUse automation for detecting image generation, auto-changelog triggers, and other event-driven behaviors.
knowledge/ 1 Plugin-global knowledge (Tier 1). Universal best practices that ship with ADD for all users.
templates/ 13 Scaffolding templates for PRDs, specs, plans, configs, learnings, profiles, and other structured documents.

Project state

When you run /add:init, ADD creates a .add/ directory in your project root. This is where project-specific state lives:

your-project/
├── .add/
│   ├── config.json       # Project configuration
│   ├── learnings.md      # Project-specific knowledge (Tier 3)
│   ├── cycles/           # Work cycle tracking
│   └── away-logs/        # Away session archives
├── docs/
│   ├── prd.md            # Product requirements document
│   ├── plans/            # Implementation plans
│   └── milestones/       # Milestone tracking
└── specs/                # Feature specifications

Cross-project state lives locally at ~/.claude/add/ — your user profile, the cross-project learning library, and an index of all ADD-managed projects.

Next steps: Explore the Commands Reference for detailed documentation on each command, or the Skills Reference for execution workflows. For team adoption, see the Enterprise Guide.