Skip to content
sprint-workflow logo

Sprint Workflow

sprint-workflow

Execute this skill should be used when the user asks about "how sprints

SKILL.md

Full skill instructions

Sprint Workflow

Overview

Sprint Workflow describes the convergent diffusion execution model used by the Sprint plugin. A sprint progresses through six distinct phases -- from loading specifications through architectural planning, parallel implementation, testing, review, and finalization.

Prerequisites

  • Sprint plugin installed (/​plugin install sprint)
  • Project onboarded via /​sprint:setup (creates .claude/​project-goals.md and .claude/​project-map.md)
  • Sprint created via /​sprint:new with a completed specs.md
  • Understanding of the agent system (see the agent-patterns skill)

Instructions

  1. Phase 0 -- Load Specifications. The orchestrator locates the sprint directory at .claude/​sprint/[N]/, reads specs.md for requirements, reads status.md if resuming a prior iteration, and detects the project type for framework-specific agent selection. See ${CLAUDE_SKILL_DIR}/​references/​sprint-phases.md for the full phase reference.
  2. Phase 1 -- Architectural Planning. The project-architect agent reads project-map.md for architecture context and project-goals.md for business objectives. It produces specification files (api-contract.md, backend-specs.md, frontend-specs.md) and returns SPAWN REQUEST blocks for implementation agents.
  3. Phase 2 -- Implementation. The orchestrator spawns implementation agents in parallel based on the architect's SPAWN REQUEST blocks. Agents include python-dev, nextjs-dev, cicd-agent, and allpurpose-agent. Each agent reads its assigned spec files and the shared api-contract.md, then returns a structured report.
  4. Phase 3 -- Testing. Testing agents execute sequentially: qa-test-agent runs first (API and unit tests), then ui-test-agent runs browser-based E2E tests. Framework-specific diagnostics agents (e.g., nextjs-diagnostics-agent) run in parallel with UI tests. All agents produce test reports.
  5. Phase 4 -- Review and Iteration. The architect reviews all agent reports, analyzes conformity against specifications, updates specs (removing completed items, adding fixes for failures), and updates status.md. The architect then decides: spawn more implementation agents, run more tests, or finalize.
  6. Phase 5 -- Finalization. The orchestrator writes the final status.md summary, ensures all spec files are in a consistent state, cleans up temporary files like manual-test-report.md, and signals FINALIZE to end the sprint.
  7. Convergence model. Each iteration reduces noise: completed work is removed from specs, working code is preserved, and only failures are re-addressed. Most sprints converge within 3-5 iterations. After 5 iterations without convergence, the orchestrator pauses and prompts for manual intervention.

Output

  • Phase-by-phase execution log showing agent spawns, reports, and decisions
  • Updated status.md after each iteration reflecting completed and remaining work
  • Specification files that shrink with each iteration as requirements are satisfied
  • Final status.md summary upon sprint completion
  • FINALIZE signal to the orchestrator when all specs are satisfied

Error Handling

ErrorCauseSolution
Sprint stuck in iteration loop (hits 5 iterations)Specs too broad or contain unresolvable conflictsReview status.md for blocking issues; narrow scope or resolve conflicting requirements
Phase 2 agents not spawnedArchitect SPAWN REQUEST missing or malformedVerify architect agent produced valid SPAWN REQUEST blocks with correct agent names
Tests fail repeatedly on same issueImplementation does not match contractCompare agent output against api-contract.md; check for schema mismatches
Sprint cannot find specsWrong sprint directory numberVerify .claude/​sprint/[N]/​specs.md exists; run /​sprint:new if needed
Architect skips testing phaseTesting section missing from specs.mdAdd QA: required and UI Testing: required to the specs (see spec-writing skill)

Examples

Starting a new sprint:

/​sprint:new       # Creates .claude/​sprint/​1/​specs.md
# Edit specs.md with requirements
/​sprint           # Executes the full phase lifecycle

Resuming after iteration pause:

# Review .claude/​sprint/​1/​status.md for blockers
# Adjust specs.md to narrow scope or fix conflicts
/​sprint           # Resumes from Phase 0, reads updated specs and status

Typical convergence flow:

Iteration 1: Architect plans → 3 agents implement → tests find 2 failures
Iteration 2: Architect narrows specs to 2 fixes → agents patch → tests pass
Iteration 3: All specs satisfied → FINALIZE

Resources

  • ${CLAUDE_SKILL_DIR}/​references/​sprint-phases.md -- Detailed reference for all six phases with agent assignments and handoff rules
  • Agent patterns skill for SPAWN REQUEST format and report structure
  • Spec writing skill for authoring effective specs.md files
  • API contract skill for designing the shared interface between agents

More skills from jeremylongshore

openrouter-compliance-review logo
jeremylongshore/claude-code-plugins-plus-skills

openrouter-compliance-review

Review OpenRouter integration for regulatory compliance (SOC2, GDPR,

2.8K 0
View
maintainx-data-handling logo
jeremylongshore/claude-code-plugins-plus-skills

maintainx-data-handling

Data synchronization, ETL patterns, and data management for MaintainX.

2.8K 0
View
groq-core-workflow-a logo
jeremylongshore/claude-code-plugins-plus-skills

groq-core-workflow-a

Execute Groq primary workflow: chat completions with tool use and JSON

2.8K 0
View
validating-csrf-protection logo
jeremylongshore/claude-code-plugins-plus-skills

validating-csrf-protection

Validate CSRF protection implementations for security gaps. Use when

2.8K 0
View
api-contract logo
jeremylongshore/claude-code-plugins-plus-skills

api-contract

Configure this skill should be used when the user asks about "API contract",

2.8K 0
View
ideogram-incident-runbook logo
jeremylongshore/claude-code-plugins-plus-skills

ideogram-incident-runbook

Execute Ideogram incident response with triage, mitigation, and postmortem.

2.8K 0
View
gamma-sdk-patterns logo
jeremylongshore/claude-code-plugins-plus-skills

gamma-sdk-patterns

Reusable patterns for the Gamma REST API (no SDK exists).

2.8K 0
View
deepgram-sdk-patterns logo
jeremylongshore/claude-code-plugins-plus-skills

deepgram-sdk-patterns

Apply production-ready Deepgram SDK patterns for TypeScript and Python.

2.8K 0
View
openrouter-upgrade-migration logo
jeremylongshore/claude-code-plugins-plus-skills

openrouter-upgrade-migration

Migrate to OpenRouter from direct provider APIs or upgrade between SDK/model

2.8K 0
View
openrouter-common-errors logo
jeremylongshore/claude-code-plugins-plus-skills

openrouter-common-errors

Diagnose and fix common OpenRouter API errors. Use when encountering

2.8K 0
View
linear-cost-tuning logo
jeremylongshore/claude-code-plugins-plus-skills

linear-cost-tuning

Optimize Linear API usage, reduce unnecessary calls, and maximize

2.8K 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View