---
description: SLOPE sprint lifecycle checklist — routines for pre-round, per-ticket, and post-round
globs:
alwaysApply: true
---

# Sprint Checklists (SLOPE Routine Hierarchy)

The SLOPE framework organizes sprint work into a hierarchy of routines, mirroring golf's structured approach to each shot, hole, and round.

## Pre-Tournament Routine (Course Strategy)

Before starting a new phase or project:

1. **Build the roadmap** — Edit declared YAML bundles when `docs/roadmap/project.yaml` exists; otherwise create `docs/backlog/roadmap.json`
2. **Compile modular sources** — Run `slope roadmap compile`, `slope roadmap validate-sources`, and `slope roadmap compile --check`
3. **Run `slope roadmap validate`** — Check for dependency cycles, numbering gaps
4. **Run `slope roadmap review`** — Scope balance, critical path, bottlenecks
5. **Run `slope roadmap show`** — Dependency graph and parallel tracks

## Pre-Round Routine (Sprint Start)

Before writing any code in a new sprint:

1. **Run `slope now`** — Discover the current sprint and next action
2. **Run `slope roadmap focus --sprint=N`** — Use the discovered sprint to load bounded context before full history
3. **Run `slope briefing`** — Outputs handicap snapshot, hazard index, nutrition alerts, filtered gotchas, and session continuity
   - Use `--categories=testing,api` or `--keywords=migration` to filter for the sprint's work area
4. **Verify previous scorecard exists** — If the last sprint's scorecard wasn't created, create it now
5. **Branch hygiene check** — `git branch -a` to confirm no stale branches remain
6. **Set par and slope** — Par from ticket count (1-2=3, 3-4=4, 5+=5), slope from complexity factors

## Pre-Shot Routine (Per-Ticket, Before Code)

1. **Select your club** — driver (risky/new), long_iron (multi-package), short_iron (standard), wedge (small), putter (trivial)
2. **Check the yardage book** — Review relevant codebase sections for files you'll modify
3. **Scan for hazards** — Check `bunker_locations` from recent scorecards and common issues

## Post-Shot Routine (Per-Ticket, After Completion)

1. **Score the shot** — in_the_hole (perfect), green (landed), fairway (clean start), or miss direction
2. **Record hazards** — Note any gotchas encountered
3. **Check for penalties** — Tests break? Reverts needed?
4. **Push** — The last push is the recovery point

## Post-Hole Routine (Sprint Completion)

1. **Build the SLOPE scorecard** — Create scorecard JSON. Run `slope validate`
2. **Distill learnings** — Update common-issues with new recurring patterns
3. **Review** — Run `slope review` to generate the sprint review markdown
4. **Compute handicap** — Run `slope card` to see trending stats
