This guide gets you from zero to a running feature pipeline using Claude Code Max and the AI Development Squad template.
| Tool | Install |
|---|---|
| Claude Code | npm install -g @anthropic-ai/claude-code |
| GitHub CLI | brew install gh |
| Git | pre-installed on macOS/Linux |
| Node.js | brew install node (for Playwright E2E tests) |
| Docker | docker.com/get-started |
| Zellij | brew install zellij (swarm mode only, >= 0.41.0) |
License required: Claude Code Max subscription (includes claude-opus-4-6 and claude-sonnet-4-6).
flowchart TD
A["Clone the template globally"] --> B["Add scripts/ to PATH"]
B --> C["Scaffold a new project"]
C --> D["Authenticate gh CLI"]
D --> E["Start your first feature"]
git clone https://github.com/kinncj/AI-Development-Squad-Template.git ~/.ai-squad
echo 'export PATH="$HOME/.ai-squad/scripts:$PATH"' >> ~/.zshrc
source ~/.zshrcVerify:
ai-squad helpmkdir my-project && cd my-project
ai-squad initai-squad init will:
- Copy all agent definitions, commands, and skills into the project
- Initialize a git repository
- Install npm dependencies (Playwright)
- Offer to bootstrap GitHub labels
gh auth login
gh repo create my-project --public --push --source=.ai-squad labelsThis creates the full label set the orchestrator uses to track pipeline phases.
Open Claude Code in your project directory and run:
/feature "describe your feature here"
Claude Code will invoke the orchestrator, which drives all 8 phases sequentially in a single session.
Swarm mode opens each agent in its own Zellij tab so all Phase 5 tasks run simultaneously.
ai-squad swarm feature "describe your feature here"See Swarm Mode for full details.
Run these inside Claude Code with /command-name:
| Command | What it does |
|---|---|
/feature "description" |
Full 8-phase pipeline from discovery to PR |
/build-feature "description" |
Alias for /feature |
/bugfix "description" |
Reproduce → fix → validate → CHANGELOG |
/validate |
Run the full test suite (no discovery/architecture) |
/tdd "requirement" |
Single RED → GREEN → REFACTOR cycle |
sequenceDiagram
participant H as Human
participant ORC as Orchestrator
participant PO as @product-owner
participant ARCH as @architect
participant QA as @qa
participant DEV as Specialist agents
participant DOCS as @docs
H->>ORC: /feature "description"
ORC->>PO: Phase 1 — write stories & acceptance criteria
PO-->>H: stories.md (human gate)
H-->>ORC: approved
ORC->>ARCH: Phase 2 — ADR, contracts, threat model
ARCH-->>H: architecture.md (human gate)
H-->>ORC: approved
ORC->>ORC: Phase 3 — decompose into plan.md
ORC->>DEV: Phase 4 — spin up infra
loop Each task in plan.md
ORC->>QA: write failing test (RED)
ORC->>DEV: make test pass (GREEN)
ORC->>DEV: refactor
end
ORC->>QA: Phase 6 — full validation suite
ORC->>DOCS: Phase 7 — docs, CHANGELOG
ORC->>H: Phase 8 — PR created ✅
my-project/
├── .claude/
│ ├── agents/ # 27 agent definitions
│ ├── commands/ # /feature, /bugfix, /validate, /tdd
│ └── skills/ # 17 reusable skill files
├── .opencode/ # Mirror for OpenCode platform
├── CLAUDE.md # Project rules loaded by Claude Code
├── Makefile # 13-target build/test contract
├── docker-compose.test.yml
└── docs/specs/ # Pipeline artifact output
See Customization Guide.
claude: command not found
Install Claude Code: npm install -g @anthropic-ai/claude-code
ai-squad: command not found
Check your PATH: echo $PATH | grep ai-squad
Re-run: source ~/.zshrc
Agent doesn't start a phase
Ensure CLAUDE.md is present in your project root — it contains the project rules the orchestrator reads.
Swarm mode: There is no active session!
You are already inside a Zellij session. Press Ctrl-o d to detach first, then re-run the command. See Swarm Mode.