Claude PDD - Project-Driven Development Platform. Supports PDD, PMD, and TDD methodologies with intelligent CCPM integration for Claude Code
npm install claude-pdd-clibash
npm install -g claude-pdd-cli
`
$3
`bash
Full system (CCPM + TDD) - Recommended
cpdd init
Quick setup with defaults
cpdd init --quick
Specific modes
cpdd init --mode=pm # Project management only
cpdd init --mode=tdd # TDD tools only
Control installation method
cpdd init --online # Force online mode (fetch latest CCPM from GitHub)
cpdd init --offline # Force offline mode (use built-in templates)
With GitHub integration
cpdd init --github=owner/repo
Combined options
cpdd init --mode=pm --online --github=owner/repo
`
$3
`bash
cpdd status
`
๐ Documentation
$3
๐ ๆฅ็ๅฎๆดไฝฟ็จๆๅ (COMPLETE-USAGE-GUIDE.md)
ๅ
ๅซ๏ผ
- ๐ฏ 39ไธช้กน็ฎ็ฎก็ๅฝไปค่ฏฆ่งฃ - PRDใEpicใIssueๅฎๆด็ๅฝๅจๆ
- ๐งช 5ไธชTDDๅฝไปคๅทฅไฝๆต - Red-Green-Refactorๅฎๆดๅพช็ฏ
- ๐ณ Git Worktreeๅนถ่กๅผๅ - ๅคไปฃ็ๅๅๅทฅไฝๆจกๅผ
- ๐ ๆไฝณๅฎ่ทตๅๆ
้ๆ้ค - ๅข้ๅไฝไผๅๆๅ
$3
After initialization, all functionality is accessed through Claude Code commands:
$3
#### 1. Start with Requirements
`bash
In Claude Code:
/pm:prd-new user-authentication
โ Interactive PRD creation
โ Comprehensive requirements gathering
`
#### 2. Create Epic & Tasks
`bash
/pm:prd-parse user-authentication
โ Breaks PRD into Epic with tasks
โ Creates GitHub Issues automatically
/pm:epic-sync
โ Syncs to GitHub project board
โ Sets up milestones and labels
`
#### 3. TDD Development
`bash
/pm:issue-start 123
โ Loads specific task requirements
โ Sets up development context
/tdd:spec-to-test
โ Converts requirements to test cases
โ Creates comprehensive test suite
/tdd:cycle
โ Complete Red-Green-Refactor cycle
โ Updates GitHub Issue with progress
`
#### 4. Quality & Completion
`bash
/pm:issue-close 123
โ Validates completion criteria
โ Updates Epic progress
/pm:next
โ Recommends next task
โ Handles dependencies automatically
`
๐ Intelligent Installation System
The CLI uses a revolutionary dynamic installation approach:
$3
1. Network Detection - Automatically checks internet connectivity
2. GitHub Fetch - Downloads latest CCPM from automazeio/ccpm repository
3. Smart Execution - Runs CCPM's install script with cross-platform support
4. TDD Enhancement - Overlays custom TDD functionality on top of CCPM
5. Automatic Fallback - Switches to offline mode if network fails
$3
`bash
Automatic mode (recommended)
cpdd init
โ Detects network โ Fetches latest CCPM โ Adds TDD enhancements
Force specific behavior
cpdd init --online # Always try GitHub (fail if no network)
cpdd init --offline # Use built-in templates (faster, no network needed)
`
$3
- CCPM Commands - Complete project management system (39 commands)
- GitHub Integration - Issue sync, project boards, automation
- AI Agents - Project coordination and workflow management
- Templates - PRD, Epic, and task management templates
$3
If online installation fails, the system automatically provides:
- Core TDD workflow commands
- Basic project structure
- Essential development patterns
- Framework-specific configurations
๐ฏ Installation Modes
$3
`bash
cpdd init --mode=pdd
`
Includes: All CCPM commands, TDD tools, GitHub integration, complete workflows
Perfect for: Teams wanting complete project management + development workflow
$3
`bash
cpdd init --mode=pm
`
Includes: Project management, Epic/Issue handling, GitHub sync, context management
Perfect for: Project managers, teams focused on requirement management
$3
`bash
cpdd init --mode=tdd
`
Includes: TDD cycle commands, test generation, basic testing workflows
Perfect for: Developers wanting pure TDD workflow without project management
๐ ๏ธ Supported Frameworks
| Framework | Test Framework | Package Manager | Status |
|-----------|----------------|-----------------|---------|
| Node.js/TypeScript | Jest, Vitest, Mocha | npm, yarn, pnpm | โ
Full Support |
| Java | JUnit 5, TestNG | Maven, Gradle | โ
Full Support |
| Python | pytest, unittest | pip, poetry | โ
Full Support |
| Go | go test | go modules | โ
Full Support |
| Rust | cargo test | cargo | โ
Full Support |
| C# | xUnit, NUnit | dotnet | ๐ง Coming Soon |
| PHP | PHPUnit | composer | ๐ง Coming Soon |
๐ What Gets Installed
The CLI creates a .claude/ directory with:
`
.claude/
โโโ CLAUDE.md # Unified rules and command reference
โโโ config.json # System configuration
โโโ agents/ # AI agents (6 total)
โ โโโ tdd-agent.md # TDD workflow coordinator
โ โโโ test-generator.md # Test case generator
โ โโโ parallel-worker.md # Team coordination
โ โโโ ...
โโโ commands/ # All available commands
โ โโโ pm/ # Project management (39 commands)
โ โโโ tdd/ # TDD workflow (5 commands)
โ โโโ testing/ # Test execution
โ โโโ context/ # Context management
โโโ workflows/ # Complete workflows (2 total)
โ โโโ spec-driven-tdd.md
โ โโโ issue-to-test.md
โโโ rules/ # Development rules and patterns
โโโ epics/ # Epic templates and storage
โโโ prds/ # PRD templates and storage
`
๐ Example Workflows
$3
`bash
In Claude Code:
/pm:issue-start 456 # Load bug report
/tdd:spec-to-test # Create reproduction tests
/tdd:red # Ensure tests fail (confirming bug)
/tdd:green # Fix the bug
/tdd:refactor # Improve code quality
/pm:issue-close 456 # Mark as resolved
`
$3
`bash
Complete spec-driven development:
/pm:prd-new feature-name # Create requirements
/pm:prd-parse feature-name # Break into tasks
/pm:epic-sync # Sync to GitHub
/pm:issue-start 789 # Start first task
/tdd:cycle # Implement with TDD
/pm:next # Move to next task
`
๐ Benefits
$3
- 100% Requirement Traceability - Every test and code line links back to specifications
- Reduced Context Switching - Persistent context across development sessions
- Parallel Development - Multiple developers work without conflicts
- Quality Assurance - Automated validation at every step
$3
- Real-time Visibility - GitHub Issues show actual development progress
- Specification-Driven - No implementation without requirements
- Team Coordination - Built-in conflict resolution and task assignment
- Audit Trail - Complete history from requirement to deployment
$3
- Transparency - Clear progress tracking in familiar GitHub interface
- Quality Metrics - Test coverage and completion rates visible
- Predictability - Consistent development velocity and timelines
- Risk Reduction - Early detection of scope creep and blockers
๐ง Configuration
$3
`bash
cpdd init --github=owner/repo
`
Then configure your GitHub token in Claude Code settings for full automation.
$3
The system auto-detects your framework and configures appropriate:
- Test patterns and file locations
- Build and test commands
- Coverage reporting
- CI/CD integration points
$3
Edit .claude/config.json to customize:
- Test coverage thresholds
- GitHub label prefixes
- Workflow preferences
- Team coordination settings
๐ Command Reference
$3
- cpdd init - Install/configure system
- cpdd status - Check installation status
- cpdd update - Update to latest version
$3
#### Project Management (39 commands)
- /pm:prd-* - PRD management (5 commands)
- /pm:epic-* - Epic handling (12 commands)
- /pm:issue-* - Issue management (8 commands)
- /pm:* - Workflow and coordination (14 commands)
#### TDD Development (5 commands)
- /tdd:cycle - Complete TDD cycle
- /tdd:red - Red phase (failing tests)
- /tdd:green - Green phase (implementation)
- /tdd:refactor - Refactor phase (quality)
- /tdd:spec-to-test - Requirements to tests
See .claude/CLAUDE.md for complete reference.
๐ค Contributing
We welcome contributions! This project combines:
- CCPM - Originally from automazeio/ccpm
- TDD Tools - Custom-built for Claude Code integration
$3
`bash
git clone https://github.com/MuziGeek/claude-pdd-cli.git
cd claude-pdd-cli
npm install
npm run build
npm link
`
๐ License
MIT License - see LICENSE file for details.
๐ Acknowledgments
- CCPM System - Thanks to automazeio for the amazing CCPM foundation
- Claude Code Team - For creating the platform that makes this integration possible
- TDD Community - For decades of wisdom on test-driven development practices
---
Ready to revolutionize your development workflow?
`bash
npm install -g claude-pdd-cli
cpdd init
``