ai-sdd
v1.2.2
Published
Transform your coding workflow with AI-powered Spec-Driven Development. One command installs 11 powerful slash commands, Project Memory, and structured development workflows for 7 AI coding agents based on the AI-Assisted SDD methodology.
Downloads
574
Maintainers
Readme
ai-sdd: AI-Assisted Spec-Driven Development
Transform AI coding agents into production-ready spec-driven development
One command. Hours instead of weeks. Requirements → Design → Tasks → Implementation.
Stop losing development time to scattered context and unclear specifications. ai-sdd brings structured Spec-Driven Development (SDD) to Claude Code, Cursor, Gemini CLI, Codex CLI, GitHub Copilot, Qwen Code, and Windsurf, based on the methodology from AI-Assisted SDD book.
What you get:
- ✅ Spec-first guarantees — Approve requirements/design upfront, then AI implements exactly as specified
- ✅ Parallel execution ready — Tasks decomposed for concurrent implementation with dependency tracking
- ✅ Team-aligned templates — Customize once, all agents output docs that fit your approval process
- ✅ Project Memory — AI remembers your architecture, patterns, and standards across sessions
- ✅ 7 agents, unified workflow — Same spec-driven process across Claude, Cursor, Gemini, Codex, Copilot, Qwen, Windsurf
- ✅ Hours instead of weeks — Feature planning goes from days to hours with AI-assisted specs
🚀 Quick Start
# Run in your project root directory
cd your-project
npx ai-sdd@latest
# ✅ That's it! Now run: /sdd:spec-init <what-to-build>Installation takes 30 seconds. Supports 7 agents (Claude (Commands / Subagents), Cursor, Gemini, Codex, Copilot, Qwen, Windsurf) × 12 languages.
📋 See It In Action
Example: Building a new Photo Albums Feature
/sdd:spec-init Photo albums with upload, tagging, and sharing
/sdd:spec-requirements photo-albums-en
/sdd:spec-design photo-albums-en -y
/sdd:spec-tasks photo-albums-en -yGenerated in 10 minutes:
- ✅ requirements.md — EARS-format requirements
- ✅ design.md — Architecture with Mermaid diagrams
- ✅ tasks.md — Implementation tasks with dependencies
🎯 Use Cases
| Scenario | Workflow |
|----------|----------|
| New feature (greenfield) | spec-init → spec-requirements → spec-design → spec-tasks → spec-impl |
| Enhance existing code (brownfield) | steering → spec-init → (validate-gap →) spec-design → (validate-design →) spec-tasks → spec-impl |
| Team process alignment | Customize templates once in .sdd/settings/templates/ → all agents follow same format |
🎨 Customization
Customize templates and rules in .sdd/settings/ to match your team's workflow:
- templates/ - Define document structure (requirements, design, tasks)
- rules/ - Define AI generation principles and judgment criteria
Common use cases: PRD-style requirements, API/database schemas, approval gates, JIRA integration, domain-specific standards.
⚙️ Advanced Installation
Choose Your Agent
npx ai-sdd --claude # Claude Code (11 commands) [default]
npx ai-sdd --claude-agent # Claude Code Subagents (12 commands + 9 subagents)
npx ai-sdd --cursor # Cursor IDE
npx ai-sdd --gemini # Gemini CLI
npx ai-sdd --codex # Codex CLI
npx ai-sdd --copilot # GitHub Copilot
npx ai-sdd --qwen # Qwen Code
npx ai-sdd --windsurf # Windsurf IDEChoose Your Language
npx ai-sdd --lang ja # Japanese
npx ai-sdd --lang zh-TW # Traditional Chinese
npx ai-sdd --lang es # Spanish
npx ai-sdd --lang pt # Portuguese
# Supports: en, ja, zh-TW, zh, es, pt, de, fr, ru, it, ko, arAdvanced Options
# Preview changes before applying
npx ai-sdd --dry-run
# Custom specs directory
npx ai-sdd --sdd-dir docs📚 Documentation & Support
📖 Learn More
Book: AI-Assisted SDD: Spec-Driven Development with Gemini, Claude, and ai-sdd
This comprehensive guide by Leonardo Sampaio covers the complete SDD methodology, practical examples, and best practices for AI-assisted development.
Package Documentation
- tools/ai-sdd/README.md - Complete tool documentation
📦 Package Information
This repository contains the ai-sdd NPM package located in tools/ai-sdd/.
For detailed documentation, installation instructions, and usage examples, see the Tool Documentation.
💡 About SDD Methodology
Spec-Driven Development (SDD) is a systematic approach to software development that emphasizes:
- Clear Specifications First - Define what you're building before writing code
- AI-Assisted Planning - Leverage AI to generate comprehensive requirements and design documents
- Structured Workflow - Follow a proven path from requirements to implementation
- Team Alignment - Ensure everyone works from the same specifications
- Quality Gates - Validate specifications before implementation begins
Learn more about the methodology in the AI-Assisted SDD book.
License
MIT License - see LICENSE file for details.
Author
Leonardo Sampaio - Amazon Author Page
