agentleFS
damienlainedamienlaine/agentic-sprint/skills/sprint-workflow/SKILL.md

sprint-workflow

Skill18 starsChanged 11 months agoMITView on GitHub

This skill should be used when the user asks about "how sprints work", "sprint phases", "iteration workflow", "convergent development", "sprint lifecycle", "when to use sprints", or wants to understand the sprint execution model and its convergent diffusion approach.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. drvoss/everything-copilot-cli★ 47same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. About 0 are common, 10 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read specs.md for user requirements

    line 34
  2. Very specific:

    Read status.md if resuming

    line 35
  3. Very specific:

    Read existing project-map.md for architecture context

    line 41
  4. Very specific:

    Read project-goals.md for business objectives

    line 42
  5. Very specific:

    Create specification files (api-contract.md, backend-specs.md, etc.)

    line 43
  6. Distinctive:

    Update specifications (remove completed, add fixes)

    line 67
  7. Very specific:

    Update status.md with current state

    line 68
  8. Distinctive:

    All specs in consistent state

    line 75
  9. Very specific:

    When running /sprint on an existing sprint:

    line 81
  10. Distinctive:

    If manual-test-report.md exists: Uses it to inform architect

    line 88
  11. Distinctive:

    If not: Offers to run manual testing first or continue

    line 89
  12. Distinctive:

    After each iteration, the architect:

    line 164
  13. Distinctive:

    Always reflects current truth

    line 174
  14. Distinctive:

    No historical log dumps

    line 176
  15. Distinctive:

    When the architect requests UI testing:

    line 198
  16. Distinctive:

    Close the browser tab: when done testing

    line 202
  17. Very specific:

    Use /sprint:test for quick testing outside of sprints:

    line 208
  18. Very specific:

    Reports feed into sprints: When you run /sprint, the architect reads your manual test report and prioritizes fixing the issues you …

    line 214
  19. Distinctive:

    Use manual testing for:

    line 216

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sprint Workflow

Sprint implements a convergent development model where autonomous agents iteratively refine implementations until specifications are satisfied. This skill covers the execution lifecycle, phase transitions, and iteration patterns.

Core Concept: Convergent Diffusion

Traditional AI-assisted development suffers from context bloat - each iteration adds more information, compounding errors and noise. Sprint reverses this pattern:

  • Start noisy: Initial specs may be vague or incomplete
  • Converge iteratively: Each iteration removes completed work from specs
  • Focus narrows: Agents receive only remaining tasks, not history
  • Signal improves: Less noise means better output quality

The metaphor is diffusion models in reverse - instead of adding noise to generate, remove noise to refine.

Sprint Phases

A sprint executes through 6 distinct phases:

Phase 0: Load Specifications

Parse the sprint directory and prepare context:

  • Locate sprint directory (.claude/sprint/[N]/)
  • Read specs.md for user requirements
  • Read status.md if resuming
  • Detect project type for framework-specific agents

Phase 1: Architectural Planning

The project-architect agent analyzes requirements:

  • Read existing project-map.md for architecture context
  • Read project-goals.md for business objectives
  • Create specification files (api-contract.md, backend-specs.md, etc.)
  • Return SPAWN REQUEST for implementation agents

Phase 2: Implementation

Spawn implementation agents in parallel:

  • python-dev for Python/FastAPI backend
  • nextjs-dev for Next.js frontend
  • cicd-agent for CI/CD pipelines
  • allpurpose-agent for any other technology
  • Collect structured reports from each agent

Phase 3: Testing

Execute testing agents:

  • qa-test-agent runs first (API and unit tests)
  • ui-test-agent runs after (browser-based E2E tests)
  • Framework-specific diagnostics agents run in parallel with UI tests
  • Collect test reports

Phase 4: Review & Iteration

Architect reviews all reports:

  • Analyze conformity status
  • Update specifications (remove completed, add fixes)
  • Update status.md with current state
  • Decide: more implementation, more testing, or finalize

Phase 5: Finalization

Sprint completion:

  • Final status.md summary
  • All specs in consistent state
  • Clean up manual-test-report.md (no longer relevant)
  • Signal FINALIZE to orchestrator

Resuming Sprints

When running /sprint on an existing sprint:

If status.md shows COMPLETE:

  • System asks: Run manual testing? Continue with fixes? Create new sprint?
  • Guides user to appropriate action

If status.md shows IN PROGRESS:

  • If manual-test-report.md exists: Uses it to inform architect
  • If not: Offers to run manual testing first or continue

This ensures the user always knows where they are and what options they have.

Iteration Loop

The sprint cycles between phases 1-4 until complete:

┌─────────────────────────────────────────┐
│                                         │
│  ┌──────────┐    ┌──────────────────┐  │
│  │ Phase 1  │───▶│ Phase 2          │  │
│  │ Planning │    │ Implementation   │  │
│  └──────────┘    └────────┬─────────┘  │
│       ▲                   │            │
│       │                   ▼            │
│  ┌────┴─────┐    ┌──────────────────┐  │
│  │ Phase 4  │◀───│ Phase 3          │  │
│  │ Review   │    │ Testing          │  │
│  └──────────┘    └──────────────────┘  │
│                                         │
└─────────────────────────────────────────┘
         │
         ▼ (after max 5 iterations or success)
    ┌──────────┐
    │ Phase 5  │
    │ Finalize │
    └──────────┘

Maximum 5 iterations: The system pauses after 5 cycles to prevent infinite loops. User intervention may be needed for complex blockers.

When to Use Sprints

Sprints are ideal for:

  • Multi-component features (backend + frontend + tests)
  • Complex requirements needing architectural planning
  • Tasks requiring coordination between specialized agents
  • Incremental development with testing validation

Sprints are overkill for:

  • Simple bug fixes (use direct implementation)
  • Single-file changes
  • Documentation-only updates
  • Quick prototypes without testing needs

Key Artifacts

User-Created

FilePurpose
specs.mdRequirements, scope, testing config
project-goals.mdBusiness vision and objectives

Architect-Created

FilePurpose
status.mdCurrent sprint state (architect maintains)
project-map.mdTechnical architecture (architect maintains)
api-contract.mdShared interface between agents
*-specs.mdAgent-specific implementation guidance

Orchestrator-Created

FilePurpose
*-report-[N].mdAgent reports per iteration

Convergence Principles

Specs Shrink Over Time

After each iteration, the architect:

  • Removes completed tasks from spec files
  • Removes outdated information
  • Keeps only remaining work

This prevents context bloat and focuses agents on actual gaps.

Status Stays Current

status.md is rewritten each iteration, not appended:

  • Always reflects current truth
  • Maximum ~50 lines
  • No historical log dumps

Reports Are Structured

Agents return machine-parseable reports:

  • Standard sections (CONFORMITY, DEVIATIONS, ISSUES)
  • No verbose prose
  • Actionable information only

Manual Testing

There are two ways to do manual testing:

Within a Sprint (specs-driven)

Set UI Testing Mode: manual in your specs.md:

## Testing
- UI Testing: required
- UI Testing Mode: manual

When the architect requests UI testing:

  1. Browser opens pointing to your app
  2. You explore the app manually
  3. Console errors are monitored in the background
  4. Close the browser tab when done testing
  5. Agent detects tab close and returns report
  6. Sprint continues with architect review

Standalone Testing (quick access)

Use /sprint:test for quick testing outside of sprints:

  • Opens Chrome browser directly
  • Monitors errors while you explore
  • Say "finish testing" when done
  • Report saved to .claude/sprint/[N]/manual-test-report.md

Reports feed into sprints: When you run /sprint, the architect reads your manual test report and prioritizes fixing the issues you discovered.

Use manual testing for:

  • Exploratory testing before a sprint
  • Bug hunting and discovery
  • UX validation
  • Edge cases hard to automate

Additional Resources

For more details, see the full command and agent documentation in the plugin's commands/ and agents/ directories.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.