Installation
Install AI-DLC in your Claude Code project
AI-DLC is distributed as a Claude Code plugin. This guide covers installation methods and prerequisites.
Prerequisites
Claude Code
AI-DLC requires Claude Code, Anthropic's AI-powered development environment. Ensure you have Claude Code installed and configured.
Han CLI (Recommended)
AI-DLC uses Han CLI for state management (han keep commands). While the plugin works without it, you'll get the best experience with Han installed.
Install Han via curl (recommended):
curl -fsSL https://han.guru/install.sh | bash
Or via Homebrew:
brew install thebushidocollective/tap/han
Verify installation:
han --version
Installation Methods
Method 1: Via Claude Code (Recommended)
Install directly from within a Claude Code session:
/plugin marketplace add thebushidocollective/ai-dlc
/plugin install ai-dlc@thebushidocollective-ai-dlc --scope project
Method 2: Via Han
If you have Han installed, use the plugin manager (must be npx, project-scoped):
npx han plugin install thebushidocollective/ai-dlc --scope project
Method 3: Manual Configuration
Add the plugin to your Claude Code settings file manually.
User-level installation (~/.claude/settings.json):
{
"plugins": [
"github:thebushidocollective/ai-dlc"
]
}
Project-level installation (.claude/settings.json in your project):
{
"plugins": [
"github:thebushidocollective/ai-dlc"
]
}
Verification
After installation, verify the plugin is working:
- Start a new Claude Code session in your project
- Type
/elaborate- you should see the elaboration flow start - If
/elaborateworks, your installation is successful
If commands aren't recognized, restart your Claude Code session.
Recommended Companion Plugins
AI-DLC works best with backpressure plugins that provide quality gates:
TypeScript Projects
npx han plugin install jutsu-typescript --scope project
npx han plugin install jutsu-biome --scope project
Python Projects
npx han plugin install jutsu-python --scope project
npx han plugin install jutsu-ruff --scope project
Go Projects
npx han plugin install jutsu-go --scope project
Note: Jutsu plugins follow the same installation pattern via Han. To install via Claude Code directly, use
/plugin marketplace addand/plugin installwith the appropriate marketplace identifier for each plugin.
These plugins provide:
- Type checking that blocks on errors
- Linting that maintains code quality
- Formatting that keeps code consistent
Project Setup
Create the AI-DLC Directory
AI-DLC stores its artifacts in .ai-dlc/ at your project root:
your-project/
.ai-dlc/
add-oauth-login/ # Intent directory
intent.md # Intent definition
unit-01-setup.md # Unit files
unit-02-callback.md
src/
tests/
...
The directory is created automatically when you run /elaborate for the first time.
Git Configuration
Add AI-DLC artifacts to version control:
# AI-DLC artifacts should be committed
git add .ai-dlc/
The .ai-dlc/ directory contains:
- Intent definitions
- Unit specifications
- Progress tracking
These are valuable documentation that should be preserved.
Gitignore (Optional)
If you prefer not to commit AI-DLC artifacts:
# .gitignore
.ai-dlc/
However, committing is recommended - it provides:
- Work history and context
- Team collaboration
- Recovery from context resets
Troubleshooting
Commands Not Recognized
Symptom: /elaborate or /execute don't activate
Solutions:
- Restart Claude Code session
- Verify plugin is in settings.json
- Check for typos in plugin path
Han Commands Fail
Symptom: han keep commands return errors
Solutions:
- Verify Han is installed:
han --version - Ensure Han is in PATH
- Reinstall:
curl -fsSL https://han.guru/install.sh | bash
Plugin Conflicts
Symptom: Unexpected behavior or command conflicts
Solutions:
- Check for duplicate plugins in settings
- Ensure compatible plugin versions
- Disable conflicting plugins temporarily
Next Steps
- Quick Start - Build your first feature with AI-DLC
- Core Concepts - Understand intents, units, and hats
- Workflows - Learn about different development patterns