<!-- Generated from .claude/skills by scripts/sync-agent-skills.py. -->
Running this workflow on this client
Run commands from the project root (use Git Bash on Windows if bash points to an unavailable WSL distro). Shared studio files live in .claude/; follow .agents/PORTABLE-RUNTIME.md and .claude/docs/config-resolution.md for client tools, delegation, and approval rules.
Run bash .claude/hooks/yaml-helper.sh resolve_config --keys locale,story_granularity,workflow and use its output below.
Sprint Status
Locale & User Profile: Match
locale(pt-BR→ natural Brazilian Portuguese questions/options, overriding English examples;en→ English) anduser_profile(founder→ plain business language with(Recomendado)first, zero tech jargon;developer→ technical). Keep code/tests in English.
This is a fast situational awareness check, not a sprint review. It reads the
current sprint plan and story files, scans for status markers, and produces a
concise snapshot in under 30 lines. For detailed sprint management, use
/saas-sprint-plan update or /saas-milestone-review.
This skill is read-only. It never proposes changes, never asks to write
files, and makes at most one concrete recommendation.
story_granularity — it sets the
grain of the burn-down read: feature-sized chunks at coarse (the default, via rigor: minimal), task-sized
at balanced (rigor: standard), AC-sized at fine.
1. Find the Sprint
Argument: $ARGUMENTS (blank = use current sprint)
- If an argument is given (e.g.,
/saas-sprint-status 3), search
production/sprints/ for a file matching sprint-003.md, sprint-03.md, sprint-3.md,
or similar (/saas-sprint-plan writes three digits). Report which file was found.
- If no argument is given, find the most recently modified file in
production/sprints/ and treat it as the current sprint.
- If
production/sprints/does not exist or is empty: - At
workflow: minimalthere are no sprints by design — the brief's
build order is the plan and the story files carry it. Report progress
through it instead, then stop:
1. The list below was printed by .claude/scripts/story-status.sh
before you read this skill: one line per unfinished story, already in
the route's order (IN_REVIEW, IN_PROGRESS, then TODO — a Ready
or Not Started story — in build order), then BLOCKED, OTHER,
NO_STATUS and the COMPLETE count:
Run bash .claude/scripts/story-status.sh and use its output below.
2. Print, in under 15 lines: Build order: [N] of [M] stories complete
from the COMPLETE line (count only Complete and Done stories —
In Review is not complete), then Next: the story on the first
IN_REVIEW, IN_PROGRESS or TODO line. The list is already
current; do not run the script again, and do not re-rank the story files — an In Review story is closed before an
In Progress one continues: its work is written. Recommend
/saas-story-done [path] for IN_REVIEW, /saas-dev-story [path] for
IN_PROGRESS or TODO. Name any BLOCKED story with its blocker; it is
never Next.
3. Every story Complete (or Done) → "Build order done: [M] of [M]
stories complete." Offer three ways on: play the build; add the next
stories from the brief with /saas-create-stories; or /saas-settings to raise
modes.rigor if the application has outgrown a one-page brief.
4. STORIES none — no story files at all → "No stories yet. Run
/saas-create-stories to turn the brief's build order into stories."
5. No IN_REVIEW, IN_PROGRESS or TODO line, yet the COMPLETE line
is short of the total — every unfinished story is BLOCKED, OTHER
(such as Draft) or NO_STATUS. There is no Next, and the build
order is not done: never say it is. Print the Build order line,
then name each BLOCKED story with its blocker — read from its story
file, usually a BLOCKED: note — and each other story with its status
as written. Recommend one step: what the first blocker needs, or else
finishing the first Draft or unstatused story and setting its Status
to Ready.
- At
standardorfull, report: "No sprint files found. Start a sprint
with /saas-sprint-plan new." Then stop.
Read the sprint file in full. Extract:
- Sprint number and goal
- Start date and end date
- All story or task entries with their priority (Must Have / Should Have /
Nice to Have), owner, and estimate
2. Calculate Days Remaining
Using today's date and the sprint end date from the sprint file, calculate:
- Total sprint days (end minus start)
- Days elapsed
- Days remaining
- Percentage of time consumed
If the sprint file does not include explicit dates, note "Sprint dates not
found — burndown assessment skipped."
3. Scan Story Status
First: check for production/sprint-status.yaml.
If it exists, read it directly — it is the authoritative source of truth.
Extract each story's status, and its priority, owner and blocker when set — they fill the status table's columns. No markdown scanning needed.
Use its sprint, goal, start, end fields instead of re-parsing the sprint plan.
If sprint-status.yaml does not exist (legacy sprint or first-time setup),
fall back to markdown scanning:
- If the entry references a story file path, check if the file exists.
Read the file and scan for status markers: DONE, COMPLETE, IN PROGRESS,
BLOCKED, NOT STARTED (case-insensitive).
- If the entry has no file path (inline task in the sprint plan), scan the
sprint plan itself for status markers next to that entry.
- If no status marker is found, classify as NOT STARTED.
- If a file is referenced but does not exist, classify as MISSING and note it.
When using the fallback, add a note at the bottom of the output:
"⚠ No sprint-status.yaml found — status inferred from markdown. Run /saas-sprint-plan update to generate one."
Optionally (fast check only — do not do a deep scan): grep the code root for a
directory or file name that matches the story's system slug to check for
implementation evidence. This is a hint only, not a definitive status.
Stale Story Detection
After collecting status for all stories, check each IN PROGRESS story for staleness:
- Resolve the dates with one grep across the story set, not a read per story
— a date is a single line, and opening every in-progress story to find it is
the whole cost of this check:
```
Grep pattern="\{0,2}(Last Updated|Updated|last-updated|updated_at)\{0,2}[[:space:]]:" glob="production/epics//story-.md" output_mode="content"
```
That one pattern accepts every field-name variant. A story with no match has
no date, which is not the same as being stale — report it as "never
stamped" and do not compute an age for it.
The
\*{0,2}wrappers are why this works at all./saas-create-storiesemits
> **Last Updated**: …, so a pattern requiring:immediately after the word
matches no story. Combined with the "no match = never stamped" rule directly
above, that failure is silent: every in-progress story reports as never
stamped and stale-story detection never fires. Do not use a bare
Updated:
anchor.
- Calculate days since that date using today's date.
- If the date is more than 4 days ago, flag the story as STALE. (4-day threshold accounts for weekends — a story last touched on Friday won't appear stale until Wednesday.)
- If no date field is found in the story file, note "no timestamp — cannot check staleness."
- If the story has no referenced file (inline task), note "inline task — cannot check staleness."
STALE stories are included in the output table and collected into an "Attention Needed"
section (see Phase 5 output format).
Stale story escalation: If any IN PROGRESS story is flagged STALE (no progress in 4+ days), the burndown verdict
is upgraded to at least At Risk — even if the completion percentage is within the normal
On Track window. Record this escalation reason: "At Risk — [S] stale story(ies): [title]
([D] days)[, …]" — [S] is how many stories are STALE, and each is named with its own [D],
the days since its own Last Updated date (not the oldest age, not an average).
4. Burndown Assessment
Calculate:
- Tasks complete (DONE or COMPLETE)
- Tasks in progress (IN PROGRESS)
- Tasks blocked (BLOCKED)
- Tasks not started (NOT STARTED or MISSING)
- Completion percentage: (complete / total) * 100
Assess burndown by comparing completion percentage to time consumed percentage:
- On Track: completion % is within 10 points of time consumed % or ahead
- At Risk: completion % is 10-25 points behind time consumed %
- Behind: completion % is more than 25 points behind time consumed %
If dates are unavailable, skip the burndown assessment and report "On Track /
At Risk / Behind: unknown — sprint dates not found."
5. Output
Keep the output concise. The story status table is mandatory — do not truncate it. Aim for under 50 lines total; omit the Emerging Risks section if nothing notable was found. Use this format:
## Sprint [N] Status — [Today's Date]
**Sprint Goal**: [from sprint plan]
**Days Remaining**: [N] of [total] ([% time consumed])
### Progress: [complete/total] tasks ([%])
| Story / Task | Priority | Status | Owner | Blocker |
|----------------------|------------|-------------|---------|----------------|
| [title] | Must Have | DONE | [owner] | |
| [title] | Must Have | IN PROGRESS | [owner] | |
| [title] | Must Have | BLOCKED | [owner] | [brief reason] |
| [title] | Should Have| NOT STARTED | [owner] | |
### Attention Needed
| Story / Task | Status | Last Updated | Days Stale | Note |
|----------------------|-------------|----------------|------------|----------------|
| [title] | IN PROGRESS | [date or N/A] | [N days] | [STALE / no timestamp — cannot check staleness / inline task — cannot check staleness] |
*(Omit this section entirely if no IN PROGRESS stories are stale or have timestamp concerns.)*
### Burndown: [On Track / At Risk / Behind]
[1-2 sentences. If behind: which Must Haves are at risk. If on track: confirm
and note any Should Haves the team could pull.]
### Must-Haves at Risk
[List any Must Have stories that are BLOCKED or NOT STARTED with less than
40% of sprint time remaining. If none, write "None."]
### Emerging Risks
[Any risks visible from the story scan: missing files, cascading blockers,
stories with no owner. If none, write "None identified."]
### Recommendation
[One concrete action, or "Sprint is on track — no action needed."]
6. Fast Escalation Rules
Apply these rules before outputting, and place the flag at the TOP of the
output if triggered (above the status table):
Critical flag — if Must Have stories are BLOCKED or NOT STARTED and
less than 40% of the sprint time remains:
SPRINT AT RISK: [N] Must Have stories are not complete with [X]% of sprint
time remaining. Recommend replanning with `/saas-sprint-plan update`.
Completion flag — if all Must Have stories are DONE:
All Must Haves complete. Team can pull from Should Have backlog.
Missing stories flag — if any referenced story files do not exist:
NOTE: [N] story files referenced in the sprint plan are missing.
Run `/saas-story-readiness sprint` to validate story file coverage.
Collaborative Protocol
This skill is read-only. It reports observed facts from files on disk.
- It does not update the sprint plan
- It does not change story status
- It does not propose scope cuts (that is
/saas-sprint-plan update) - It makes at most one recommendation per run
For more detail on a specific story, the user can read the story file directly
or run /saas-story-readiness [path].
For sprint replanning, use /saas-sprint-plan update.
For end-of-sprint retrospective, use /saas-retrospective.