brainstorming
Use before coding when requirements have multiple reasonable interpretations, approaches require tradeoffs, or mistakes would be costly…
Use before claiming "done", "fixed", "tested", or "it runs", and before committing or opening a PR or MR—no task is exempt. Accept only evidence gathered after the last relevant change and just sufficient to prove the claim; do not over-verify small changes.
$ npx -y skills add chipfighter/coding-discipline --skill verify-before-done --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/verify-before-doneContext preview
The summary Claude sees to decide when to auto-load this skill.
Use before claiming "done", "fixed", "tested", or "it runs", and before committing or opening a PR or MR—no task is exempt. Accept only evidence gathered after the last relevant change and just sufficient to prove the claim; do not over-verify small changes.
name: verify-before-done description: Use before claiming "done", "fixed", "tested", or "it runs", and before committing or opening a PR or MR—no task is exempt. Accept only evidence gathered after the last relevant change and just sufficient to prove the claim; do not over-verify small changes. license: MIT
Hard rule: **Only evidence gathered after the last relevant change to the code, files, or environment, and directly sufficient to prove the claim, counts.**
1. What claim must be proven? What check is just sufficient (command output / diff / artifact inspection…)? 2. Was the evidence gathered after the last relevant change? Yes—state when. No / uncertain—**check again**. 3. If you ran a command, read all output, inspect the exit code, and count failures. If you inspected a diff or artifact, state what you checked and the result. 4. Does the evidence actually prove the claim? Yes—state the conclusion together with the evidence. No—report the true status.
Skipping any step = lying, not verification.
If a command cannot run (missing environment, broken dependencies, timeout), **verification failed**. Report that verification could not be completed and what blocked it. Do not quietly mark the step green as “skipped,” and do not misreport an environment problem as a product failure.
| Claimed evidence | Why it does not count | |---|---| | lint / type checks passed | This proves only that the checks pass, not that the project builds, runs, or behaves correctly. | | A subagent reported "success" | That is its claim. Inspect the diff / actual artifact yourself. | | The regression test passed once | This does not prove it catches the problem. In a safe, isolated way, temporarily disable this round's fix → the test must fail → restore the fix → the test must pass. Do not do this by reverting or overwriting user files. | | "Tests are green = requirements are met" | Check each requirement explicitly; green tests alone are not enough. | | Only part of the suite ran | This does not mean the whole suite passed. |
Chinese → README.zh-CN.md Guardrails, not a workflow. Quiet on routine work; firm when a named failure mode is at risk. AI coding agents tend to fail in two expensive ways: They drift off-goal.
Repo: chipfighter/coding-discipline
Use before coding when requirements have multiple reasonable interpretations, approaches require tradeoffs, or mistakes would be costly…
Use when changes affect interactions across multiple modules, involve high-risk areas (authorization/authentication, payments/funds, data deletion/migration,…
Use when starting a project, reading project documentation or history, or resolving conflicts between documents. For current state, read only the latest…
Use when creating a branch, using worktrees for parallel work, committing, or wrapping up. Covers branch naming, conventional commits, short-lived branches,…
Use in cross-session work when user-confirmed outcomes, non-goals, hard constraints, or acceptance criteria have not been written back to the current source of…
Use before proposing a permanent fix for bugs, test failures, or unexpected behavior with an unknown root cause—mandatory when symptoms are far from the cause,…