Skip to main content
Claude Code provides full sub-agent support via its Task tool. Each SDD phase runs in a fresh context window, making it ideal for complex feature development.

Prerequisites

  • Claude Code installed and configured
  • Git installed for cloning the repository
  • Access to ~/.claude/ directory

Installation Steps

1

Clone the repository

2

Run the installer

This copies skills to ~/.claude/skills/sdd-*/You should see output like:
3

Add orchestrator to CLAUDE.md

The installer will prompt you to add orchestrator instructions to ~/.claude/CLAUDE.md.Open your existing CLAUDE.md file:
Append the contents from examples/claude-code/CLAUDE.md to your existing file. This preserves your current assistant identity while adding SDD capabilities.
The orchestrator section teaches Claude Code to:
  • Detect SDD triggers (/sdd-new, feature descriptions, etc.)
  • Launch sub-agents via the Task tool
  • Pass skill file paths to sub-agents
  • Track state between phases
  • Follow artifact storage policies (engram/openspec/none)
Key sections added:
  • Artifact Store Policy (engram/openspec/none)
  • SDD Commands table
  • Command → Skill Mapping
  • Orchestrator Rules
  • Engram Artifact Convention
4

Verify installation

Open Claude Code in any project directory:
Type:
Expected response:
If Claude Code doesn’t recognize the command, verify:
  1. Skills are in ~/.claude/skills/sdd-*/
  2. Orchestrator instructions are in ~/.claude/CLAUDE.md
  3. You’ve restarted Claude Code after making changes

Configuration Locations

Skills Directory

~/.claude/skills/sdd-*/Contains 9 skill folders + _shared/ conventions

Orchestrator Config

~/.claude/CLAUDE.mdYour main assistant configuration file

How It Works

Claude Code’s Task tool enables true sub-agent delegation: Each sub-agent:
  1. Gets launched via Task(subagent_type: 'general', prompt: 'Read skill at ~/.claude/skills/sdd-explore/SKILL.md...')
  2. Starts with fresh context (no history from orchestrator)
  3. Reads its skill instructions
  4. Executes the phase work
  5. Returns structured results to orchestrator

Example Usage

Initialize SDD

Start a New Feature

Fast-Forward Planning

Artifact Storage

Claude Code supports all three storage modes:

Verification Checklist

1

Check skills are installed

Should show 9 directories:
2

Check shared conventions

Should show:
3

Verify CLAUDE.md contains SDD section

Should return matches if orchestrator instructions are present.
4

Test SDD command

Should recognize the command and launch sdd-init sub-agent.

Troubleshooting

Problem: Claude Code doesn’t recognize /sdd-initSolutions:
  1. Verify skills are in ~/.claude/skills/sdd-*/
  2. Check orchestrator instructions are appended to ~/.claude/CLAUDE.md
  3. Restart Claude Code to reload configuration
  4. Try alternative phrasing: “Initialize SDD” or “Start spec-driven development”
Problem: Orchestrator doesn’t use Task toolSolutions:
  1. Ensure orchestrator instructions mention Task tool explicitly
  2. Verify skill file paths are correct: ~/.claude/skills/sdd-{name}/SKILL.md
  3. Check Claude Code version supports Task tool (update if needed)
Problem: Results shown but not savedSolutions:
  1. Check artifact_store mode: engram requires Engram MCP server
  2. Verify Engram is running: check MCP server status
  3. Explicitly request openspec mode if you want file-based artifacts
  4. In none mode, persistence is intentionally disabled

Next Steps

Quick Start

Learn how to use SDD commands

Commands Reference

Complete command documentation

Engram Setup

Install recommended persistence backend

Workflow Guide

Understand the SDD workflow