|
|
4 months ago | |
|---|---|---|
| .. | ||
| HOOKS_README.md | 4 months ago | |
| README.md | 4 months ago | |
| SKILL.md | 4 months ago | |
| hooks.json | 4 months ago | |
Automatically manage ROADMAP.md and PLAN.md across all your projects, keeping sprint plans in sync with git commits and TodoWrite tasks.
/sprint # Full analysis and sync
/sprint check # Check if plan is stale
/sprint sync # Quick sync without full analysis
Or just say:
docs/ROADMAP.md - Long-term vision
docs/PLAN.md - Current sprint tasks
src/cli.py → "Implement CLI")You: I need planning docs for my project
Claude: [Invokes /sprint skill]
→ Analyzes project structure
→ Creates ROADMAP.md with AI-generated vision
→ Creates PLAN.md from current phase
→ Initializes with tasks
You: /sprint sync
Claude:
✓ Sprint plan synced!
• Completed: 2 tasks (from git commits)
• Synced: 3 tasks with TodoWrite
• Updated: 1 minute ago
You: /sprint
Claude:
📊 Full analysis complete!
Git activity (7 days):
• 15 commits analyzed
• 5 features completed
Updates:
• Moved 5 tasks to Completed
• Added 3 new tasks from ROADMAP Phase 2
• Synced all with TodoWrite
Sprint Status:
• In Progress: 2 tasks
• Pending: 8 tasks
• Completed: 15 tasks
You: /sprint check
Claude:
⚠ Plan is 4 days old
Recent activity:
• 7 git commits since last sync
• 3 TodoWrite items completed
Run /sprint sync to update
The skill expects (and creates if missing):
your-project/
├── docs/
│ ├── ROADMAP.md # Long-term product roadmap
│ └── PLAN.md # Current sprint checklist
└── .git/ # Git repository (required)
Intelligently finds commits with adaptive lookback:
# Start: 30 days
git log --since="30 days ago" --oneline --no-merges
# If no commits, expand: 60, 90, 180, 365 days
# Stops when commits found or max reached
Handles inactive projects:
Matches patterns:
feat(cli): Add analyze command → "Add analyze command"fix: Resolve bug in parser → "Resolve bug in parser"docs: Update README → "Update README"Detects work in progress and matches to tasks:
git status --porcelain
File-to-Task Matching:
src/cli.py modified → 🔨 "Implement CLI"tests/test_cli.py added → 🔨 "Write CLI tests"src/analyzer.py changed → 🔨 "Create analyzer framework"Smart reporting:
📝 Uncommitted Changes (5 files):
• src/cli.py → 🔨 "Implement CLI"
• src/analyzer.py → 🔨 "Create analyzer framework"
• README.md → (no task match)
💡 Tip: Commit your work to track progress
Suggestions:
Reads TodoWrite state from conversation context and syncs with PLAN.md checkboxes:
[x] in PLAN.md[ ] in "In Progress" section[ ] in "Pending" sectionUses fuzzy matching to link commits to tasks:
The skill can be triggered:
/sprint, /sprint sync, /sprint checkNo git repo: Suggests initializing git first Missing ROADMAP: Offers to create from template Parse errors: Offers to reformat PLAN.md Can't analyze: Creates basic template
| Command | Description | When to Use |
|---|---|---|
/sprint |
Full analysis + sync | Weekly review, major updates |
/sprint sync |
Quick sync only | Daily updates, after commits |
/sprint check |
Staleness check | Check if update needed |
| "sync my plan" | Natural language | Anytime you want to sync |
/sprint sync keeps things fresh/sprint after completing major work/sprint for comprehensive updates/sprint check to see if update neededCurrently uses sensible defaults:
Future: Could support .sprintrc for customization
"Plan is stale" but I just updated it:
git add docs/PLAN.md && git commit -m "Update plan"Tasks not syncing with TodoWrite:
/sprint sync to manually syncCommit analysis missing tasks:
docs/ROADMAP.md - 5-phase roadmap for v0.1-v0.5
docs/PLAN.md - Current sprint: PM tools development
Sprint status: 3 in progress, 8 pending, 12 completed
docs/ROADMAP.md - Full product vision with 15 categories
docs/PLAN.md - Phase 1: Foundation sprint
Sprint status: 1 in progress, 15 pending, 6 completed
Skill Version: 1.0 Created: 2025-11-01 Requires: Claude Code with git repository