How automazeio/ccpm works
Project type and purpose
• This is an open-source command-line tool (“Claude Code PM”) for spec-driven project management.
• It provides a Claude-powered workflow that turns PRDs into epics, epics into GitHub issues, and issues into code via parallel AI agents.
File structure
• Top-level directory: .claude/ holds all the tool’s configuration and logic.
• agents/ – definitions of AI agents (code-analyzer, file-analyzer, etc.)
• commands/ – markdown definitions of CLI commands (pm, context, testing)
• scripts/ – shell scripts invoked by commands
• context/, prds/, epics/, rules/ – data folders that the tool reads and writes
• Supporting files: AGENTS.md, COMMANDS.md, README.md, LICENSE
• Uses Git (.gitignore), GitHub CLI (gh), and a gh-sub-issue extension for issue hierarchies.
README for additional insights
• The “System Architecture” section already outlines a logical separation:
• CLAUDE.md (always-on instructions)
• agents, commands, context, epics, prds, rules, scripts
• External integrations: GitHub Issues API, Git worktrees, Claude (Anthropic) API.
• Core patterns: command-pattern CLI, plugin-style modules (commands, agents), parallel agent orchestration.
Diagramming recommendations
• Use clear labels for each component (e.g., “CLI Orchestrator,” “Agent Manager,” “Commands,” “Scripts,” “Context Store,” “GitHub API,” “Claude API”)
• User → CLI
• CLI ↔ Local FS
• CLI → Agent Manager → AI API → Agent Manager → Local FS/Git
• CLI → GitHub API
• Blue for external services (GitHub, Claude)
• Orange for Git integration
Essential architectural elements—don't omit
• Plugin boundaries (commands vs agents vs scripts vs rules)
• Parallel worker pattern (multiple agents in isolated worktrees)
• Two-way sync with GitHub (issues/comments)
• AI service calls abstracted through Agent Manager