finish
Skill8 starsChanged 10 months agoApache-2.0View on GitHub
Run a final "definition of done" check before shipping: verify correctness, tighten contracts/docs, and produce a change summary. Use at the end of non-trivial work to confirm nothing was missed before merge/release. NOT for writing tests (use testing); NOT for adversarial code review (use review); NOT for initial planning (use plan).
11 other projects use a version of this.
Adopted by
Most recently taken up by
- mmjclayton/agent-soptheir own version, first seen Sep 30, 2026
- danielcherubini/skillstheir own version, first seen Sep 23, 2026
- hex/claude-sessionstheir own version, first seen Sep 15, 2026
- rlajous/claude-code-commandstheir own version, first seen Aug 28, 2026
- keefar/ticket-flowtheir own version, first seen Aug 24, 2026
- Andiedie/skillstheir own version, first seen Aug 19, 2026
Used with
Projects with it also use implement.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- alexeykrol/claude-code-starter★ 194same name
- hex/claude-sessions★ 44same name
- rlajous/claude-code-commands★ 30same name
- alexiolan/craft-skills★ 17same name
- danielcherubini/skills★ 14same name
- keefar/ticket-flow★ 4same name
- mmjclayton/agent-sop★ 4same name
- clearsmog/claude-skills★ 2same name
- Millsondylan/Claude-code-agents★ 2same name
- Andiedie/skills★ 0same name
1 more not listed
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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectureSkill
- archobsSkill
- debugSkill
- designSkill
- forecastSkill
- intelSkill
- observabilitySkill
- planSkill
- platformSkill
- resilienceSkill
- reviewSkill
- securitySkill
- specSkill
- testingSkill
- typescriptSkill
- workflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Security-sensitive change: add security spot-check (authn/authz, input validation, safe logging) even for normal scope.
- Distinctive: line 23
Inputs: All prior skill outputs from the current workflow.
- Very specific: line 29
if contracts/semantics changed: specs/contracts are updated (spec)
- Very specific: line 30
if shared primitives were added/changed: API surface + adoption notes are clear (platform)
- Distinctive: line 32
if 2+ viable approaches existed: decision table includes assumptions (facts vs assumptions) and opportunity costs
- Distinctive: line 33
Run verification (prefer narrow → broad):
- Distinctive: line 45
remove dead code, debug logs, commented-out blocks
- Distinctive: line 46
ensure errors are actionable and don’t leak secrets/PII
- Distinctive: line 47
update quickstarts or runbooks if needed
- Distinctive: line 51
write an executive packet (decision bandwidth)
- Distinctive: line 52
write an engineer packet (implementation bandwidth)
- Distinctive: line 53
use clear framing: recommendation, evidence, remaining risks, and explicit owner/date for next action (this is sufficient for most cases)
- Distinctive: line 58
if expectations diverged (rollback, incident, surprise scope, or assumption failure):
- Very specific: line 60
if divergence is significant, flag a follow-up using the Retrospective / Postmortem template …
- Distinctive: line 64
When context or time is constrained, these are the load-bearing steps:
- Distinctive: line 76
Prefer explicit commands and outputs over vague statements (“tests passed”).
“Common” is measured: kept by at least 6 in 10 of the 8 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.
Files
Finish
Overview
Turn “it works on my machine” into “this is ready to ship” by running verification, checking boundary discipline, and reporting changes in a consistent format.
Chooser (What To Verify By Change Type)
- Tiny change (typo, copy, rename): lint/format + typecheck. No spec/contract check needed.
- Normal change (behavior/feature): unit tests + typecheck + lint + boundary spot-check (resilience/security/observability where touched) + cleanup.
- Big change (cross-service, migration): full verification (tests + typecheck + lint + build + dependency scan) + spec/contract alignment check + executive + engineer packets.
- Refactor (no behavior change): characterization tests pass before and after + typecheck + lint. No new spec artifacts unless contracts changed.
- Security-sensitive change: add security spot-check (authn/authz, input validation, safe logging) even for normal scope.
Inputs / Outputs
Inputs: All prior skill outputs from the current workflow; verification commands (tests, typecheck, lint, build); archobs baseline (for regression check). Outputs: Executive packet (decision bandwidth), engineer packet (implementation bandwidth), learning loop. Terminal skill — nothing consumes its output downstream.
Workflow
- Re-check intent artifacts:
- if contracts/semantics changed: specs/contracts are updated (
spec) - if shared primitives were added/changed: API surface + adoption notes are clear (
platform) - for non-trivial work: objective function, measurement ladder, and kill criteria are documented
- if 2+ viable approaches existed: decision table includes assumptions (facts vs assumptions) and opportunity costs
- if contracts/semantics changed: specs/contracts are updated (
- Run verification (prefer narrow → broad):
- unit tests / focused tests
- typecheck
- lint/format (if configured)
- dependency/security scan (if configured)
- build (if relevant)
- Boundary discipline spot-check (only where the change touched boundaries):
- timeouts/cancellation/retry safety (
resilience) - authn/authz + input validation + safe logging (
security) - logs/traces/metrics correlation + low-cardinality labels (
observability) - architecture health regression (skip for tiny changes — typo, copy, single-file rename): run
archobs report --suggestions-provider rulesand wait for the report to complete — then runarchobs show summary --format jsonandarchobs show risks --top 5 --format jsonto verify that top file risk scores and cluster leakage did not increase compared to the previous run; if no prior.archobs/baseline exists, create one now so future runs can detect regressions (archobs)
- timeouts/cancellation/retry safety (
- Cleanup:
- remove dead code, debug logs, commented-out blocks
- ensure errors are actionable and don’t leak secrets/PII
- update quickstarts or runbooks if needed
GATE: Verification (step 2) must have actually been executed — commands run with results captured. "Tests pass" without showing which commands ran and their output does not satisfy this gate. If verification could not be run, report "not run" and why.
- Translation check:
- write an executive packet (decision bandwidth)
- write an engineer packet (implementation bandwidth)
- use clear framing: recommendation, evidence, remaining risks, and explicit owner/date for next action (this is sufficient for most cases)
- for formal hand-offs needing extra rigor (multi-stakeholder PRs, ADR recommendations), optionally use Recommendation Brief from
../references/structured-thinking-templates.md
- Micro-retrospective (non-trivial work):
- what happened vs what was expected?
- key assumption confirmed or updated (one sentence — always include this, even when expectations were met)
- if expectations diverged (rollback, incident, surprise scope, or assumption failure):
- what one process/control change would reduce repeat risk? (flag for human to assign owner)
- if divergence is significant, flag a follow-up using the Retrospective / Postmortem template (
../references/structured-thinking-templates.md) — do not run it inline during the finish pass
Minimum viable execution
When context or time is constrained, these are the load-bearing steps:
- Run verification commands (step 2) — tests, typecheck, lint at minimum.
- Boundary spot-check (step 3) — only where the change touched boundaries.
- Write engineer packet (step 5) — what changed, files touched, verification results.
- Key assumption update (step 6) — one sentence: confirmed or updated.
Steps that can be cut under pressure: executive packet (step 5), archobs regression check (step 3), full micro-retrospective (step 6 depth).
Guardrails
- Don’t claim verification you didn’t run; report “not run” and why.
- Prefer explicit commands and outputs over vague statements (“tests passed”).
- Don’t expand scope; if you find unrelated issues, list as follow-ups.
- Close the loop for non-trivial work: include at least one explicit learning update and flag owner assignment for human review.
Common failure modes
- Reports "all tests pass" without actually running them — or runs tests but doesn't capture the output.
- Skips the micro-retrospective (step 6) — the learning loop is the most commonly skipped step, but it's what prevents repeat failures.
- Produces an engineer packet without an executive packet for non-trivial changes — the decision-maker audience is left uninformed.
- Doesn't check whether archobs health regressed — new coupling or increased leakage goes undetected.
References
- Architecture health regression checks:
archobs - CI quality workflow template:
../../specs/templates/ci/github-actions-quality.yml - Change workflow:
../../specs/004-change-process.md - Structured-thinking references (learning loop, retrospective, recommendation brief):
../references/
Output Template
Return:
- Executive packet (non-trivial changes):
- goal and decision/bet
- primary trade-off and risk
- success/failure signals + review ritual owner/cadence
- kill criteria / reversal trigger
- immediate next step
- Engineer packet:
- what changed (3–7 bullets; behavior + contract impact)
- files touched (key paths only)
- verification (commands run + results, or why not run)
- risks/follow-ups (including rollout watchpoints)
- Learning loop (non-trivial changes):
- outcome vs expectation
- key assumption confirmed or updated (always — even when expectations were met)
- one process/control change to reduce repeat risk (only when expectations diverged; flag for human to assign owner)
- Examples:
- Good: "Assumption: Redis cache would reduce p99 by 40%. Confirmed: p99 dropped 38%. No action needed."
- Good: "Assumption: existing auth middleware handles multi-tenant isolation. Updated: it doesn't check tenant on write paths. Action: add tenant-scoped write guard (owner: @backend-team, by 03-01)."
- Bad: "Things went as expected. No changes."
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
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.

