Skip to content

jeremymanning/ccpm

 
 

Repository files navigation

Claude Code PM

Automaze   Claude Code GitHub Issues   Tests Coverage   MIT License   Follow on 𝕏   Star this repo

Transform PRDs into shipped features using spec-driven development

Transform PRDs into shipped features using GitHub Issues and parallel AI agents.

Stop losing context. Eliminate task blocking. Reduce shipped bugs. This battle-tested system turns product requirements into production code with full traceability at every step.

Claude Code PM

Quick Start (2 minutes)

1. Install CCPM

# Install from GitHub
pip install git+https://github.com/automazeio/ccpm.git

The installer automatically:

  • ✅ Installs GitHub CLI if needed
  • ✅ Sets up GitHub authentication
  • ✅ Installs required extensions
  • ✅ Configures your environment

2. Set Up Your Project

# Navigate to your project
cd /path/to/your/project

# Set up CCPM
ccpm setup .

# Initialize the PM system
ccpm init

3. Ship Your First Feature

# In Claude Code, create a comprehensive PRD
/pm:prd-new user-authentication

# Transform PRD into technical implementation plan
/pm:prd-parse user-authentication

# Break down and sync to GitHub in one command
/pm:epic-oneshot user-authentication

# Start implementing with parallel agents
/pm:issue-start 1234

🎉 That's it! You're now using spec-driven development with full GitHub integration.

How It Works

graph LR
    A[PRD Creation] --> B[Epic Planning]
    B --> C[Task Decomposition]
    C --> D[GitHub Sync]
    D --> E[Parallel Execution]
Loading

The 5-Phase Discipline

  1. 🧠 Brainstorm - Think deeper than comfortable
  2. 📝 Document - Write specs that leave nothing to interpretation
  3. 📐 Plan - Architect with explicit technical decisions
  4. ⚡ Execute - Build exactly what was specified
  5. 📊 Track - Maintain transparent progress at every step

Why GitHub Issues?

  • 🤝 True Team Collaboration - Multiple Claude instances work simultaneously
  • 🔄 Seamless Human-AI Handoffs - Progress visible to everyone
  • 📈 Scalable Beyond Solo Work - Add team members without friction
  • 🎯 Single Source of Truth - Issues are the project state

Commands

CLI Commands

Command Description Example
ccpm setup <path> Set up CCPM in a project ccpm setup .
ccpm init Initialize PM system ccpm init
ccpm status Show project status ccpm status
ccpm sync Sync with GitHub ccpm sync
ccpm list List all PRDs ccpm list
ccpm search <term> Search content ccpm search auth
ccpm validate Validate system integrity ccpm validate
ccpm clean Archive completed work ccpm clean
ccpm import Import GitHub issues ccpm import
ccpm update Update CCPM ccpm update
ccpm uninstall Remove CCPM ccpm uninstall
ccpm help Show help ccpm help
ccpm --help Show help ccpm --help

Claude Code Commands (/pm:*)

PRD Management
  • /pm:prd-new <name> - Create new PRD through brainstorming
  • /pm:prd-parse <name> - Convert PRD to implementation epic
  • /pm:prd-list - List all PRDs
  • /pm:prd-edit <name> - Edit existing PRD
  • /pm:prd-status <name> - Show implementation status
Epic Management
  • /pm:epic-decompose <name> - Break epic into tasks
  • /pm:epic-sync <name> - Push to GitHub
  • /pm:epic-oneshot <name> - Decompose and sync in one command
  • /pm:epic-show <name> - Display epic and tasks
  • /pm:epic-start <name> - Launch parallel agents
  • /pm:epic-close <name> - Mark as complete
Issue Management
  • /pm:issue-start <id> - Begin work with specialized agent
  • /pm:issue-sync <id> - Push updates to GitHub
  • /pm:issue-show <id> - Display issue details
  • /pm:issue-close <id> - Mark as complete
  • /pm:issue-analyze <id> - Identify parallelization opportunities
Workflow Commands
  • /pm:next - Get next priority task with context
  • /pm:status - Project dashboard
  • /pm:standup - Daily standup report
  • /pm:blocked - Show blocked tasks
  • /pm:in-progress - List work in progress
  • /pm:sync - Full GitHub sync
  • /pm:validate - Check system integrity

Tip: Type /pm:help in Claude Code for a quick reference.

Advanced Features

Parallel Execution

Traditional approach: One issue = One developer = Sequential work

CCPM approach: One issue = Multiple parallel work streams

Example: "Implement user authentication" becomes:

  • Agent 1: Database schema and migrations
  • Agent 2: Service layer and business logic
  • Agent 3: API endpoints and middleware
  • Agent 4: UI components and forms
  • Agent 5: Tests and documentation

All running simultaneously in the same worktree.

Context Optimization

  • Main conversation stays strategic
  • Each agent handles its own context in isolation
  • Implementation details never pollute main thread
  • Use specialized agents:
    • file-analyzer - Summarize logs and verbose outputs
    • code-analyzer - Search code and trace logic
    • test-runner - Execute tests with full analysis
    • parallel-worker - Coordinate parallel work streams

Team Collaboration

GitHub Issues enable:

  • Multiple Claude instances working simultaneously
  • Real-time progress visibility for all team members
  • Seamless handoffs between AI and human developers
  • Integration with existing GitHub workflows

File Structure

.claude/
├── prds/              # Product Requirements Documents
├── epics/             # Implementation plans
│   └── [epic-name]/
│       ├── epic.md    # Technical plan
│       ├── [#].md     # Task files (synced with GitHub)
│       └── updates/   # Work-in-progress
├── agents/            # Specialized task agents
├── commands/pm/       # PM command definitions
└── context/           # Project-wide context

Troubleshooting

Key Features

Parallel Execution

Ship faster with multiple agents working simultaneously. Tasks marked parallel: true enable conflict-free concurrent development.

🔗 GitHub Native

Works with tools your team already uses. Issues are the source of truth, comments provide history, and there is no dependency on the Projects API.

🤖 Agent Specialization

Right tool for every job. Different agents for UI, API, and database work. Each reads requirements and posts updates automatically.

📊 Full Traceability

Every decision is documented. PRD → Epic → Task → Issue → Code → Commit. Complete audit trail from idea to production.

🚀 Developer Productivity

Focus on building, not managing. Intelligent prioritization, automatic context loading, and incremental sync when ready.

Proven Results

Teams using this system report:

  • 89% less time lost to context switching – you'll use /compact and /clear a LOT less
  • 5-8 parallel tasks vs 1 previously – editing/testing multiple files at the same time
  • 75% reduction in bug rates – due to the breaking down features into detailed tasks
  • Up to 3x faster feature delivery – based on feature size and complexity

Example Flow

Installation Issues **GitHub CLI not installing automatically?**
# macOS
brew install gh

# Ubuntu/Debian
sudo apt install gh

# Windows
winget install --id GitHub.cli

Get Started Now

Quick Setup (2 minutes)

  1. Install this repository into your project:

    Unix/Linux/macOS

    cd path/to/your/project/
    curl -sSL https://raw.githubusercontent.com/automazeio/ccpm/main/ccpm.sh | bash
    # or: 
    wget -qO- https://raw.githubusercontent.com/automazeio/ccpm/main/ccpm.sh | bash

    Windows (PowerShell)

    cd path/to/your/project/
    iwr -useb https://raw.githubusercontent.com/automazeio/ccpm/main/ccpm.bat | iex

    💡 Note: If you already have a .claude directory, it will be automatically backed up to .claude.backup and your user content will be preserved during installation.

    See full/other installation options in the installation guide ›

  2. Initialize the PM system:

    /pm:init

    This command will:

    • Install GitHub CLI (if needed)
    • Authenticate with GitHub
    • Install gh-sub-issue extension for proper parent-child relationships
    • Create required directories
    • Update .gitignore
  3. Create CLAUDE.md with your repository information

    /init include rules from .claude/CLAUDE.md

    If you already have a CLAUDE.md file, run: /re-init to update it with important rules from .claude/CLAUDE.md.

  4. Prime the system:

    /context:create

Start Your First Feature

Python version issues? CCPM requires Python 3.8+. Check with:

python --version

Permission issues?

# Install for current user only
pip install --user git+https://github.com/automazeio/ccpm.git
GitHub Authentication
# Re-authenticate
gh auth login

# Check status
gh auth status

# Verify extensions
gh extension list
Claude Code Integration

If Claude Code commands aren't working:

  1. Ensure Claude Code is installed: https://claude.ai/code
  2. Verify CCPM setup completed: ccpm validate
  3. Check .claude/ directory exists in your project
  4. Re-initialize if needed: ccpm init

Platform Support

  • 🐧 Linux - Ubuntu, Debian, Fedora, RHEL, etc.
  • 🍎 macOS - Intel and Apple Silicon
  • 🪟 Windows - 10, 11, Server 2019+

FAQ

Can I use CCPM with existing projects?

Yes! CCPM preserves existing .claude directories and merges content intelligently. Run ccpm setup in any project.

Does this work with private repositories?

Yes, CCPM uses your GitHub authentication through the GitHub CLI. It works with any repository you have access to.

Can multiple developers use CCPM on the same project?

Absolutely! That's the power of using GitHub Issues. All developers see the same state and can collaborate seamlessly.

How do I update CCPM?

Run ccpm update to get the latest version while preserving your customizations.

Support This Project

Claude Code PM was developed at Automaze for developers who ship, by developers who ship.

If Claude Code PM helps your team ship better software:


Tip

Ship faster with Automaze. We partner with founders to bring their vision to life. Visit Automaze.io ›


Star History

Star History Chart

About

Project management system for Claude Code using GitHub Issues and Git worktrees for parallel agent execution.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.4%
  • Shell 28.5%
  • Batchfile 0.1%