/ai-sdlc:sdlc-finishfrom ai-sdlc
End-of-work discipline for project repos: hostile validation of the diff before declaring work done, and handoff (settle the tree, update state.md, append the journal) before ending a session with changes. Triggered by the claim, not the diff — use before any done/ship verdict, even for small edits.
Ships in ai-sdlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two objectives: the first earns the word "done"; the second makes the project resumable by a session that remembers nothing of this one.
You wrote the change, so you are its least suspicious reader. Re-read it as a reviewer who assumes it is broken; let evidence, not memory, carry the claim. Depth scales with the blast radius of the claim, not the diff size — a done/ship verdict is inherited unchecked downstream, so a one-line edit under that verdict still earns the full hostile read. Validation is done when:
bash ../sdlc-core/scripts/diff-inventory.sh, then read the actual
changes: look for the bug, the scope creep, the forgotten file, and
comments the code didn't earn (STANDARD §3) — every added comment line
the inventory lists must state a why the code can't.Verification path commands now and re-stamp them with today's date;
the strict check refuses a stale stamp. Mark a command that cannot run
here not re-run (today's date) and say so in the report — a
disclosed gap is honest; an implied pass on an unrun suite is the
false-SHIP failure this library exists to stop.If a criterion can't be checked with what exists, say so rather than substituting a weaker check that can.
Handoff is done when:
updated: with today's date; name any external dependency (a PR, a
deploy, another agent) a Next step relies on, so the next session
re-verifies it.Next is settled — journal and remove terminal [x]/[~] items;
[x] only after its #verify proof ran.bash ../sdlc-core/scripts/check-state.sh --strict exits 0.End the final response with the STANDARD §7 evidence report, each field
at the start of its line: What changed:, What was verified:, and
Remaining risk:. The Stop hook recognizes exactly that three-field
contract and runs the strict state check before the session may end.
Acid test: a stranger given only state.md and the repo reaches your current understanding. Anything they would rediscover the hard way is not written down yet.
../sdlc-core/references/STANDARD.md — ladder §4, report format §7../sdlc-core/references/STATE-SPEC.md — state.md / journal format../sdlc-core/scripts/ — diff-inventory.sh, check-state.sh,
compact-journal.shWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub 0x7067/ai-sdlc --plugin ai-sdlc3 skills in this plugin
/sdlc-coreShared foundation for the sdlc-* skill library: the engineering standard every session must meet, and the .ai-sdlc/state.md / journal.md file spec for cross-session handoff. Load when any sdlc-* skill references it or when reading/writing those files./sdlc-startStart-of-work discipline for project repos: orientation before the first substantive task of a session, and planning whenever a task is multi-step, risky, ambiguous, or touches config that propagates beyond this machine. Execution is governed by sdlc-core.