Skip to main content
skill CX Codex

verifying-before-done — Claude Code skill

An agent skill that forces a check on the changed code's real surface and a pasted verify output before any completion claim goes out.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add riekelt/principal-engineer --skill verifying-before-done -a claude-code
Open on GitHub

What verifying-before-done does

The trigger is the sentence the agent is about to write: shipped, fixed, all green. This skill makes it earn that sentence. Instead of judging by the diff, the agent exercises the path where the change meets its caller — sets the switched flag, sends the handler its request, hits the error branch — and reports what came back.

A clean suite is treated as suspicious, not reassuring. The skill asks whether the test actually ran and whether it can go red at all; a check that never fires yields a confident and wrong “done”. It also keeps three levels apart: present in the repo, running live, and confirmed in the outside system. Evidence from one never stands in for another.

Before wrapping up, the agent sweeps the diff for stray edits, missing docs and acceptance criteria that were only roughly met. Changes on declared critical paths, plus irreversible migrations, need a reviewer who did not write the code. The skill requires principal-engineering as background, so that one goes in first. Destructive operations are not run live: with no safe target, verification happens around them and the untested path gets named.

What it helps with

  • prove a fix by running it rather than reading the diff
  • catch a test that never actually executed
  • separate deployed from merely committed
  • clear a red gate left over from earlier work
  • strip unrelated edits from the diff before reporting

Example prompts for the agent

  • Run the change at its surface and paste the verify command output.
  • The suite is green — show that this test ran and that it can fail.
  • Report what is implemented, what is deployed and what is confirmed outside.

How to install verifying-before-done

1Skills CLI (Vercel)

npx skills add riekelt/principal-engineer --skill verifying-before-done -a claude-code

2Manually: put the files in place

~/.claude/skills/verifying-before-done/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/verifying-before-done/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about verifying-before-done

How to install verifying-before-done in Claude Code?

Run npx skills add riekelt/principal-engineer --skill verifying-before-done -a claude-code; the skill file then sits at ~/.claude/skills/verifying-before-done/SKILL.md.

What does verifying-before-done do?

It blocks a completion claim until the changed code has been driven on its surface and the verify command output backs the report.

Why not just run the whole test suite?

A full run answers “did anything break”, not “does my change work”. If the suite never covered that path, a pass says nothing about it, so the skill asks for a targeted check.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set9

guarding-architecture Enforces system boundaries by turning structural invariants into breaking build tests. Useful when code crosses module limits or adds unwanted cross-package imports. CX Codex +1 18,000installs principal-engineering Enforces core engineering discipline for AI agents: mandates pre-change checkpoints, bans silent error suppression, and requires evidence from real code. CX Codex +1 18,000installs writing-unit-tests Guides an agent through writing or revising unit tests around observable behavior. Useful for flaky tests, confusing cases, and new test coverage. CX Codex +1 17,800installs adding-dependencies This skill helps decide whether a project needs a dependency and how to assess and update it. Use it before adding a package, SDK, or GitHub Action. CX Codex +1 17,700installs operating-safely Sets safety guards for destructive commands, secret handling, and parallel edits. It activates before dangerous operations like deleting data or restarting live processes. CX Codex +1 17,900installs scoping-changes Keeps a fix tied to the problem that triggered it and makes partial delivery explicit. Use it when a task starts growing or an approved plan needs to be split. CX Codex +1 17,700installs keeping-one-source-of-truth An agent skill that keeps each fact in exactly one place and stops copies from drifting apart. Useful the moment a value begs to be pasted elsewhere. CX Codex +1 17,700installs testing-changes Defines test requirements for code changes, enforcing regression tests for bug fixes, edge-case coverage, and strict checks against empty test diffs. CX Codex +1 17,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor