agentleFS
chatquillchatquill/claude-code-websites/.claude/skills/story-done/SKILL.md

story-done

Skill1 starsChanged 25 days agoMITView on GitHub

Closes a story: verifies the Definition of Done for the project's rigor (every acceptance criterion has a passing test, checks green, review done, spec updated), marks it done and suggests a commit message. Use when a story in review is believed finished.

13 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 0

    Distinctive

    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
  1. Very specific:

    Run bash .claude/scripts/test-run.sh all and the stack's lint and typecheck commands (.claude/docs/stack-matrix.md).

    line 27

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “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

Story Done

Runs the QA-STORY gate with qa-lead and, on PASS, sets the story to done. It suggests a conventional commit message but never commits.

Inputs

  • The story file (must be review; in-progress → suggest /dev-story first)
  • The test files named under ## Tests
  • The latest /review-code notes, if any
  • The spec sections the story implements
  • modes.rigor

Phases

Phase 1: Evidence

  1. Run bash .claude/scripts/test-run.sh all and the stack's lint and typecheck commands (.claude/docs/stack-matrix.md).
  2. For each AC, find its test (Grep the test file for the AC ID or the behaviour) and confirm it ran and passed. An AC with no test is a finding.
  3. Compare built behaviour with the spec. If they differ, list the differences.

Phase 2: Gate

Spawn qa-lead with the evidence and the Definition of Done for the rigor (below). Verdict: PASS, CONCERNS or FAIL, with reasons.

Checkminimalstandardfull
Every AC has a passing automated testrecommendedrequiredrequired
Lint + typecheck passrequiredrequiredrequired
Full unit + integration suite passesrequiredrequiredrequired
Affected critical journeys pass (Playwright)-requiredrequired
No new axe violations on changed pages-requiredrequired
Code review done, findings resolved-recommendedrequired
Spec updated to match behaviourrequiredrequiredrequired

Phase 3: Close

  • FAIL: list what to fix; status stays review.
  • CONCERNS: show them; ask whether to close anyway (not allowed under full).
  • PASS: if the spec must change, show the edit and ask before applying it. Then ask "Mark S-NNN done?" On yes, set Status: done, tick all ACs, update the epic's story list and the checkpoint.

Suggest a commit message, e.g. feat(accounts): reset password by email (S-007), and say: "Commit when you're ready; I won't commit for you."

Next step

/dev-story for the next ready story, or /sprint-status.

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.