Professional phase and checkpoint management system for Claude Code
Dev Phase Manager is a non-invasive workflow enhancement plugin for Claude Code that enables context-aware, multi-phase development workflows with intelligent checkpoint management.
- State Persistence: Save plan execution state across
/clearoperations - Automatic Progress Detection: Parse completed tasks from git history
- Seamless Recovery: Resume execution from saved checkpoints without context loss
- Multi-Phase Parallel: Suspend current phase to start urgent work
- Phase Hierarchy: Manage active and suspended phases with stack-based approach
- Smart Recovery: Resume suspended phases with full context restoration
- Non-Invasive Design: Works alongside superpowers without modifications
- Enhanced Workflow: Integrates with
brainstorming,writing-plans,subagent-driven-development - File-Based State: Uses filesystem for state transfer, maintaining clean separation
- Duplicate Prevention: Prevents accidental repeated operations
- Graceful Degradation: Works even when files are missing
- Smart Prompts: Intelligent confirmations and suggestions
# Add GitHub repository as marketplace
claude plugin marketplace add uukuguy/dev-phase-manager
# Install the plugin
claude plugin install dev-phase-manager# Clone the repository
git clone https://github.com/uukuguy/dev-phase-manager.git
# Add local directory as marketplace
claude plugin marketplace add /path/to/dev-phase-manager
# Install the plugin
claude plugin install dev-phase-manager# 1. Start a new phase
/start-phase "Phase 1 - Feature Implementation"
# 2. Design and plan
/brainstorming
/writing-plans
# 3. Save checkpoint before clearing context
/checkpoint-plan
/clear
# 4. Resume execution
/resume-plan
/subagent-driven-development
# 5. Complete phase
/end-phase# Start Phase 1
/start-phase "Phase 1 - Core Features"
# ... work on Phase 1 ...
# Urgent: Start Phase 2 (suspends Phase 1)
/start-phase "Phase 2 - Critical Bugfix"
# β Prompts: Suspend Phase 1? (y)
# ... complete Phase 2 ...
/end-phase
# Resume Phase 1
/start-phase --resume phase1
# ... complete Phase 1 ...
/end-phaseDev Phase Manager follows the dual-layer architecture pattern (same as superpowers):
dev-phase-manager/
βββ commands/ β User entry points (thin wrappers)
β βββ start-phase.md β One-line: invoke skill
β βββ end-phase.md
β βββ list-plan.md
β βββ checkpoint-plan.md
β βββ checkpoint-progress.md
β βββ resume-plan.md
β βββ mem-save.md β NEW in v1.1.0
β βββ mem-search.md β NEW in v1.1.0
βββ skills/ β Full skill logic
βββ start-phase/SKILL.md
βββ end-phase/SKILL.md
βββ list-plan/SKILL.md
βββ checkpoint-plan/SKILL.md
βββ checkpoint-progress/SKILL.md
βββ resume-plan/SKILL.md
βββ mem-save/SKILL.md β NEW in v1.1.0
βββ mem-search/SKILL.md β NEW in v1.1.0
commands/*.md are thin wrappers that invoke the corresponding skill:
---
description: "Start new phase or resume suspended phase"
disable-model-invocation: true
---
Invoke the dev-phase-manager:start-phase skill and follow it exactly as presented to youskills/*/SKILL.md contain the complete behavior definition with all execution steps.
Save current plan execution state to filesystem.
Usage:
/checkpoint-planWhat it does:
- Locates latest plan file in
docs/plans/ - Collects execution state (phase, completed tasks, current task)
- Saves to
docs/plans/.checkpoint.json - Enables recovery after
/clear
Output:
β
Checkpoint saved
Plan: Phase 5 - MCP Server
File: docs/plans/2026-02-22-mcp-server.md
Phase: design
Status: Design completed, ready for execution
Next steps:
1. /clear - Clear context
2. /resume-plan - Resume execution
Resume plan execution from saved checkpoint.
Usage:
/resume-planWhat it does:
- Loads checkpoint from
docs/plans/.checkpoint.json - Displays progress summary
- Prompts for execution mode selection
- Loads plan content into context
Output:
π Resume Plan Execution
Phase: Phase 5 - MCP Server
Plan: docs/plans/2026-02-22-mcp-server.md
Status: design β execution
Progress: 0/10 tasks completed
Next: Task 1 - Setup MCP server structure
Choose execution mode:
1. subagent-driven-development
2. executing-plans
Please execute: /subagent-driven-development
Update execution progress during implementation.
Usage:
/checkpoint-progressWhat it does:
- Auto-detects completed tasks from git log
- Updates checkpoint with current progress
- Supports manual input if auto-detection fails
Output:
β
Progress saved
Completed: 3/10 tasks (30%)
- Task 1: Setup MCP server structure
- Task 2: Define tool interfaces
- Task 3: Implement basic handlers
Current: Task 4 - Implement tool handlers
Mode: subagent-driven-development
Next steps:
1. Continue current task
2. /clear - Clear context (if needed)
3. /resume-plan - Resume after clear
Start a new phase or resume a suspended phase.
Usage:
# Start new phase
/start-phase "Phase 5 - MCP Server"
# Resume suspended phase
/start-phase --resume phase4
# Continue current phase
/start-phaseArguments:
phase_name(optional): Name of the new phase--resume <phase_id>(optional): Resume suspended phase
What it does:
- Reads phase stack from
docs/dev/.phase_stack.json - Detects conflicts with active phases
- Manages phase suspension and resumption
- Loads memory and session guide
Output:
β
Phase started: Phase 5 - MCP Server
Start time: 2026-02-22 15:00
Phase stack: 1 active, 1 suspended
βΈοΈ Suspended phases:
Phase 4 - Cognitive Layer (60% complete)
Next steps:
1. /brainstorming - Discuss design
2. /writing-plans - Create implementation plan
3. /list-plan - View complete plan
Complete current phase with proper cleanup.
Usage:
/end-phaseWhat it does:
- Idempotency check (prevents duplicate operations)
- Saves memory to claude-mem and memory MCP
- Updates
docs/dev/WORK_LOG.md - Updates
docs/dev/NEXT_SESSION_GUIDE.md - Commits documentation changes to git
- Cleans up phase stack
- Prompts to resume suspended phases
Output:
β
Phase 5 completed
Memory saved
Documentation updated
Git committed
βΈοΈ Suspended phases detected:
Phase 4 - Cognitive Layer
Suspended: 2026-02-22 15:00
Progress: 60%
Suggested actions:
1. /start-phase --resume phase4 - Resume
2. /clear - Clear context first
3. /list-plan - View all phases
Resume phase4 now? (y/n)
Display comprehensive project status.
Usage:
/list-planWhat it does:
- Reads phase stack status
- Reads checkpoint progress
- Searches recent memories
- Displays comprehensive status view
Output:
π Project Status
π’ Active Phase:
Phase 5 - MCP Server Implementation
Started: 2026-02-22 15:00
Plan: docs/plans/2026-02-22-mcp-server.md
Progress: 3/10 tasks (30%)
Current: Task 4 - Implement tool handlers
Mode: subagent-driven-development
βΈοΈ Suspended Phases:
Phase 4 - Cognitive Layer
Started: 2026-02-22 10:00
Suspended: 2026-02-22 15:00
Reason: Starting urgent Phase 5
Progress: 6/10 tasks (60%)
π Recent Memory:
1. [2026-02-22 15:00] Phase 5 started
2. [2026-02-22 14:30] Phase 4 suspended
3. [2026-02-22 12:00] Phase 4 progress - FSM design
π‘ Suggested Actions:
1. Continue Phase 5: Execute Task 4
2. If needed: /checkpoint-progress + /clear
3. When done: /end-phase
4. Resume Phase 4: /start-phase --resume phase4
π Key Files:
- Active plan: docs/plans/2026-02-22-mcp-server.md
- Session guide: docs/dev/NEXT_SESSION_GUIDE.md
- Work log: docs/dev/WORK_LOG.md
- Phase stack: docs/dev/.phase_stack.json
Save current work memory to multiple backends with local index tracking.
Usage:
/mem-saveWhat it does:
- Summarizes current progress (2-3 sentences)
- Saves to claude-mem and knowledge graph
- Appends entry to
docs/dev/MEMORY_INDEX.md - Does NOT create git commits
Output:
Memory saved
Saved to:
- claude-mem: "[Project] Memory Save - [Achievement]"
- knowledge graph: Updated observations
- MEMORY_INDEX.md: Added entry to [Active Work]
Summary:
- Completed: Feature X implementation
- In progress: Integration testing
- Next steps: Run full test suite
Search and browse work memories with local index priority.
Usage:
# Browse recent memories
/mem-search
# Search specific topic
/mem-search architectureWhat it does:
- Reads
docs/dev/MEMORY_INDEX.mdfirst (local, fast, browsable) - Searches claude-mem and knowledge graph as supplement
- Merges and displays results with local index first
Output:
Memory Search Results
Local Index (MEMORY_INDEX.md):
[Active Work]
- 15:30 | Completed MCP server integration
- 14:00 | Architecture decision: FastMCP
claude-mem:
- [2026-02-22] Phase 4 completed
Knowledge Graph:
- Ouroboros: bilingual architecture (Python + TypeScript)
docs/
βββ dev/
β βββ .phase_stack.json # Phase stack (active/suspended)
β βββ MEMORY_INDEX.md # Local memory index (NEW in v1.1.0)
β βββ NEXT_SESSION_GUIDE.md # Active phase guide
β βββ NEXT_SESSION_GUIDE-phase4.md # Suspended phase guide
β βββ WORK_LOG.md # Work log
βββ plans/
βββ .checkpoint.json # Active phase checkpoint
βββ .checkpoint-phase4.json # Suspended phase checkpoint
βββ .checkpoint.archive.json # Archived checkpoint
βββ 2026-02-22-feature.md # Plan file
{
"active_phases": [
{
"name": "Phase 5 - MCP Server",
"started_at": "2026-02-22T15:00:00+08:00",
"checkpoint": "docs/plans/.checkpoint.json",
"guide": "docs/dev/NEXT_SESSION_GUIDE.md",
"progress": "30%"
}
],
"suspended_phases": [
{
"name": "Phase 4 - Cognitive Layer",
"started_at": "2026-02-22T10:00:00+08:00",
"suspended_at": "2026-02-22T15:00:00+08:00",
"checkpoint": "docs/plans/.checkpoint-phase4.json",
"guide": "docs/dev/NEXT_SESSION_GUIDE-phase4.md",
"progress": "60%",
"reason": "Starting urgent Phase 5"
}
]
}{
"plan_file": "docs/plans/2026-02-22-mcp-server.md",
"phase": "execution",
"created_at": "2026-02-22T17:30:00+08:00",
"updated_at": "2026-02-22T18:15:00+08:00",
"completed_tasks": ["Task 1", "Task 2", "Task 3"],
"current_task": "Task 4",
"execution_mode": "subagent-driven",
"phase_name": "Phase 5 - MCP Server",
"notes": "Completed 3/10 tasks, continuing with Task 4"
}Phase Manager is designed to work seamlessly with the superpowers plugin:
start-phase (Phase Manager)
β
brainstorming (Superpowers)
β
writing-plans (Superpowers)
β
checkpoint-plan (Phase Manager)
β
clear
β
resume-plan (Phase Manager)
β
subagent-driven-development (Superpowers)
OR
executing-plans (Superpowers)
β
checkpoint-progress (Phase Manager)
β
end-phase (Phase Manager)
- No Modifications: Superpowers skills remain unchanged
- File-Based State: Uses filesystem for state transfer
- Clean Separation: Clear responsibility boundaries
- User Control: Manual skill composition for flexibility
Scenario: Implementing a complex feature that requires multiple sessions.
# Session 1: Design
/start-phase "Feature X Implementation"
/brainstorming
/writing-plans
/checkpoint-plan
/clear
# Session 2: Implementation (Part 1)
/resume-plan
/subagent-driven-development
# ... complete 5/10 tasks ...
/checkpoint-progress
/clear
# Session 3: Implementation (Part 2)
/resume-plan
/subagent-driven-development
# ... complete remaining tasks ...
/end-phaseBenefits:
- Context preserved across sessions
- Progress tracked automatically
- No manual state management
Scenario: Working on Feature A when critical bug requires immediate attention.
# Working on Feature A
/start-phase "Feature A"
# ... 60% complete ...
# Critical bug discovered
/start-phase "Hotfix - Critical Bug"
# β Suspend Feature A? (y)
# ... fix bug ...
/end-phase
# Resume Feature A
/start-phase --resume featurea
/resume-plan
# ... complete Feature A ...
/end-phaseBenefits:
- No context loss when switching
- Clear phase hierarchy
- Easy resumption
Scenario: Context approaching limit during implementation.
/resume-plan
/subagent-driven-development
# ... context at 85% ...
# Save and clear
/checkpoint-progress
/clear
# Resume with fresh context
/resume-plan
/subagent-driven-development
# ... continue seamlessly ...Benefits:
- Prevents context overflow
- Seamless continuation
- No manual state tracking
Contributions are welcome! Please feel free to submit a Pull Request.
# Clone repository
git clone https://github.com/uukuguy/dev-phase-manager.git
cd phase-manager
# Link to Claude Code plugins directory
ln -s $(pwd) ~/.claude/plugins/phase-manager
# Test commands
/list-plan- Follow existing code style
- Add tests for new features
- Update documentation
- Keep commands idempotent
- Maintain backward compatibility
Complementary, not competing:
- Superpowers: Core development skills (TDD, debugging, planning, code review)
- Dev Phase Manager: Phase and checkpoint management for long-running workflows
Dev Phase Manager is designed to enhance superpowers workflows by adding state persistence across /clear operations.
No, but recommended. Dev Phase Manager works standalone, but it's designed to integrate seamlessly with superpowers workflows like:
/brainstormingβ/writing-plansβ/checkpoint-planβ/clearβ/resume-planβ/subagent-driven-development
MIT License - see LICENSE file for details.
- Claude Code - The amazing CLI tool
- Superpowers - Inspiration for workflow enhancement
- Community contributors and testers
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Wiki
- v1.1: Memory enhancement + commands/ restoration
- v1.2: Progress visualization with progress bars
- v1.3: Phase dependency management
- v1.4: Timeline view for phase history
- v2.0: Web UI for phase management
Made with β€οΈ for the Claude Code community