verification-before-completion
Use before claiming any task is done — run the exact command that proves the fix works, read the output, and only then report success.
Best use case
verification-before-completion is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use before claiming any task is done — run the exact command that proves the fix works, read the output, and only then report success.
Teams using verification-before-completion should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/verification-before-completion/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How verification-before-completion Compares
| Feature / Agent | verification-before-completion | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use before claiming any task is done — run the exact command that proves the fix works, read the output, and only then report success.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Verification Before Completion Do not claim a task is complete until you have fresh evidence from the command that proves the claim. Memory, prior runs, and "it should work" are not evidence. ## When to Use - Before saying a bug is fixed - Before reporting that tests pass - Before marking a PR ready for review - Before saying "done", "resolved", or "working" - When an agent sounds confident without showing current output ## When NOT to Use | Instead of verification-before-completion | Use | |------------------------------------------|-----| | Exploring a hypothesis during debugging | `systematic-debugging` | | Evaluating an LLM pipeline or agent output | `eval-harness` | | Running the red/green cycle for a new feature | `tdd-workflow` | ## Prerequisites - You know the exact claim you want to make - You know the command that would prove or falsify that claim - You can inspect the full output and exit code ## Workflow ### 1. Identify the proving command Ask: "What command would directly prove this claim right now?" | Claim | Proving command | |------|-----------------| | Tests pass | `npm test -- --testPathPattern="<target>"` or the project equivalent | | Build succeeds | `npm run build` | | Bug is fixed | The original reproduction command or failing test | | API works | A real HTTP request such as `curl` | | Migration succeeded | Direct state verification such as `SELECT COUNT(*) ...` | ### 2. Run it now Never rely on an earlier run when the code or environment may have changed. ```text Run the exact command that proves the claim. Do not summarize the result until the command finishes. ``` ### 3. Read the full result Check: - Exit code - Final status line - Warnings or partial failures - Whether the output actually matches the claim ### 4. Compare output to the claim Do not over-claim. | Output says | Valid claim | |------------|-------------| | One targeted test passed | "The targeted test passed" | | Full suite passed | "The full suite passed" | | Build completed with warnings | "The build passed with warnings" | | Reproduction no longer fails | "The reproduced failure no longer occurs" | ### 5. Only then report completion Good: ```text I reran `npm test -- --testPathPattern="auth"` and it passed, so the auth fix is ready. ``` Bad: ```text This should be fixed now. ``` ## Common Rationalizations | Rationalization | Reality | |----------------|---------| | "It should work" | "Should" is not evidence. Run the command. | | "I already checked earlier" | Earlier output may no longer match the current state. | | "The code change is obvious" | Obvious changes still regress or fail in integration. | | "The test was passing before" | If you did not rerun it after the change, it proves nothing. | ## Red Flags - You are about to say "probably fixed" - You are summarizing without quoting the command you ran - You only checked part of the output - You are reusing output from before the last edit - You are claiming a broader success than the command proved ## Verification - [ ] The exact proving command was identified before reporting success - [ ] The command was run after the latest relevant change - [ ] Exit code and output were read, not assumed - [ ] The reported claim matches the evidence exactly ## Tips - Pair this with `tdd-workflow` so every fix has a reproducible test - Pair this with `commit-workflow` before committing or opening a PR - If the command output is ambiguous, tighten the claim instead of overstating success ## See Also - [`tdd-workflow`](../../development/tdd-workflow/SKILL.md) — test-first development loop - [`systematic-debugging`](../../development/systematic-debugging/SKILL.md) — hypothesis-driven debugging - [`commit-workflow`](../commit-workflow/SKILL.md) — final cleanup and pre-commit checks
Related Skills
using-git-worktrees
Use when you need multiple branches checked out at once — create isolated working directories for parallel development without cloning the repository repeatedly
triage
Use when a single issue needs structured triage — classify it, reproduce if needed, request missing information, and leave a durable brief or close-out note in the tracker.
to-issues
Use when a plan, spec, or PRD must become an actionable backlog — break it into thin dependency-aware issues that each deliver a verifiable vertical slice
sprint-workflow
Use when starting a new feature, refactor, or multi-step dev task — runs the full sprint cycle (Think → Plan → Build → Review → Test → Ship → Monitor) using Copilot CLI's plan/autopilot modes.
sprint-retro
Use at the end of a sprint to run a data-driven retrospective — analyzes session history and git metrics to surface what shipped, what slowed you down, and concrete improvements.
security-audit
Use when a codebase needs a formal security audit beyond a quick scan — applies OWASP Top 10 and STRIDE threat modeling from a CSO perspective to surface systemic vulnerabilities.
release
Use when a sprint or feature is complete and ready to ship — tags the version, generates GitHub Release notes, runs rollout or smoke verification, and publishes to npm/PyPI/Docker registries.
prompt-optimizer
Use when a rough prompt, vague idea, or task description needs to become a finished copy-pasteable prompt for a chat-based LLM - rewrite it into one ready-to-send prompt with no blanks, no placeholders, and a clear output shape.
outside-voice
Use when you need an independent second opinion before, during, or after implementation — run challenge, consult, or review mode in a direct builder-to-builder voice
llm-wiki
Use when research or domain knowledge keeps getting rediscovered across sessions — build a supplementary markdown wiki that compounds synthesized knowledge without replacing GitHub or committed project guidance
interview-me
Use when a request is underspecified and you need to discover what the user actually wants before writing a plan, spec, or code - ask one question at a time, attach your current hypothesis, and stop only after the intent is explicitly confirmed.
implementation-review
Use after an implementation pass lands — compare the original task spec or handoff against the delivered diff, classify each requested item, and produce an actionable follow-up report.