epic-sprints
Skill94 starsChanged 7 months agoMITView on GitHub
Generate sprint breakdown with dependency graph and execution layers for epic workflows. Break down epic plans into parallelizable sprints with dependency analysis, API contract locking, and execution layer optimization. Invoke /tasks with epic context: The /tasks phase will: Also generates tasks.xml: For parallel sprint execution, API contracts must be locked: Alternative: /meta:enforce-git-commits --phase "epic-sprint-breakdown" Goal: Maximize parallelization while respecting dependencies
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/Agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analysis-phaseSkill
- anti-duplicationSkill
- audit-claude-mdSkill
- breaking-change-detectorSkill
- caching-strategySkill
- clarification-phaseSkill
- create-agent-skillsSkill
- create-hooksSkill
- create-meta-promptsSkill
- create-slash-commandsSkill
- create-subagentsSkill
- debug-phaseSkill
- dependency-conflict-resolverSkill
- design-tokensSkill
- domain-memorySkill
- dry-runSkill
- epic-meta-promptingSkill
- epic-scopingSkill
- epic-walkthroughSkill
- error-recoverySkill
- finalize-phaseSkill
- git-workflow-enforcerSkill
- hallucination-detectorSkill
- implementation-phaseSkill
- mockup-extractionSkill
- multi-agent-votingSkill
- optimization-phaseSkill
- parallel-execution-optimizerSkill
- planning-phaseSkill
- production-deployment-phaseSkill
- project-initialization-phaseSkill
- regression-test-generatorSkill
- roadmap-integrationSkill
- session-boundarySkill
- shadcn-integrationSkill
- specification-phaseSkill
- staging-deployment-phaseSkill
- staging-validation-phaseSkill
- task-breakdown-phaseSkill
- task-status-syncSkill
- theme-consistencySkill
- ultrathinkSkill
- workflow-detectionSkill
- worktree-contextSkill
- x-announcementSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
After plan.md is complete and reviewed
- Distinctive: line 25
Read plan.md to understand phases
- Distinctive: line 81
All tasks across all sprints
- Distinctive: line 125
Resource constraints: Consider subsystem conflicts when parallelizing
- Distinctive: line 133
Start with sprints that have no dependencies (Layer 1)
- Very specific: line 167
After sprint breakdown, proceed to /implement-epic for parallel sprint execution.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Epic Sprints Skill
Generate sprint breakdown with dependency graph and execution layers for epic workflows.
Purpose
Break down epic plans into parallelizable sprints with dependency analysis, API contract locking, and execution layer optimization.
When to Invoke
- During
/epicStep 4 (Sprint Breakdown phase) - After plan.md is complete and reviewed
- Invokes
/taskscommand with epic context
Sprint Breakdown Process
Invoke /tasks with epic context:
/tasksThe /tasks phase will:
- Read plan.md to understand phases
- Analyze complexity and identify sprint boundaries
- Build dependency graph between sprints
- Lock API contracts (OpenAPI schemas) for parallel work
- Generate sprint-plan.md with execution layers
Sprint Plan Structure
<sprint_plan>
<sprints>
<sprint id="S01" name="auth-backend">
<dependencies></dependencies>
<estimated_hours>16</estimated_hours>
<subsystems>backend, database</subsystems>
<contracts_locked>
<api_contract>contracts/api/auth-v1.yaml</api_contract>
</contracts_locked>
</sprint>
<sprint id="S02" name="auth-frontend">
<dependencies>S01</dependencies>
<estimated_hours>20</estimated_hours>
<subsystems>frontend</subsystems>
</sprint>
<sprint id="S03" name="auth-integration">
<dependencies>S01, S02</dependencies>
<estimated_hours>12</estimated_hours>
<subsystems>backend, frontend</subsystems>
</sprint>
</sprints>
<execution_layers>
<layer num="1">
<sprint_ids>S01</sprint_ids>
<parallelizable>true</parallelizable>
</layer>
<layer num="2">
<sprint_ids>S02</sprint_ids>
<parallelizable>false</parallelizable>
<depends_on_layer>1</depends_on_layer>
</layer>
<layer num="3">
<sprint_ids>S03</sprint_ids>
<parallelizable>false</parallelizable>
<depends_on_layer>2</depends_on_layer>
</layer>
</execution_layers>
</sprint_plan>Tasks Generation
Also generates tasks.xml:
- All tasks across all sprints
- Task-level dependencies
- Sprint assignments
- Acceptance criteria per task
API Contract Locking
For parallel sprint execution, API contracts must be locked:
- Extract API boundaries from plan.md
- Generate OpenAPI schemas in
contracts/api/ - Mark contracts as locked in sprint-plan.md
- Sprints reference locked contracts for implementation
Commit Sprint Breakdown
# Extract metadata for commit message
SPRINT_COUNT=$(xmllint --xpath 'count(//sprint)' epics/${EPIC_SLUG}/sprint-plan.md)
LAYER_COUNT=$(xmllint --xpath 'count(//layer)' epics/${EPIC_SLUG}/sprint-plan.md)
CONTRACT_COUNT=$(find epics/${EPIC_SLUG}/contracts -name '*.yaml' | wc -l)
TASK_COUNT=$(xmllint --xpath 'count(//task)' epics/${EPIC_SLUG}/tasks.md)
# Commit sprint breakdown and contracts
git add epics/${EPIC_SLUG}/sprint-plan.md
git add epics/${EPIC_SLUG}/tasks.md
git add epics/${EPIC_SLUG}/contracts/
git commit -m "docs(epic-tasks): create sprint breakdown for ${EPIC_SLUG} (${SPRINT_COUNT} sprints)
Sprints: ${SPRINT_COUNT}
Layers: ${LAYER_COUNT}
Contracts locked: ${CONTRACT_COUNT}
Total tasks: ${TASK_COUNT}
Next: /implement-epic (parallel sprint execution)"Alternative: /meta:enforce-git-commits --phase "epic-sprint-breakdown"
Dependency Graph Rules
- No circular dependencies: Sprints cannot depend on each other cyclically
- Layer assignment: Sprints in the same layer can run in parallel
- Contract boundaries: Sprints in different layers communicating via API must have locked contracts
- Resource constraints: Consider subsystem conflicts when parallelizing
Execution Layer Optimization
Goal: Maximize parallelization while respecting dependencies
Algorithm:
- Start with sprints that have no dependencies (Layer 1)
- Sprints depending only on Layer 1 → Layer 2
- Continue until all sprints assigned
- Mark layers as parallelizable if multiple sprints share the same layer
Example optimization:
Before: S01 → S02 → S03 → S04 (sequential, 4 layers)
After: L1[S01, S03] → L2[S02, S04] (parallel, 2 layers, 2x speedup)State Updates
After sprint breakdown:
phases:
tasks:
status: completed
completed_at: { ISO_TIMESTAMP }
sprints:
total: { SPRINT_COUNT }
completed: 0
failed: 0
layers:
total: { LAYER_COUNT }
completed: 0Next Step
After sprint breakdown, proceed to /implement-epic for parallel sprint execution.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

