AIPM
Theme

AIPM package

Verifying Before Done

@riekelt/verifying-before-done@1.0.0

\"fixed\", \"passing\", or \"shipped\", or when reporting the outcome of any change.

Scanned · no issues · Nov 28, 2026

GitHub stars: ★ 6

LinkedInPost

Install Skill

Pins this version in aipm.package.json and aipm-lock.json.

aipm add @riekelt/verifying-before-done@1.0.0

Without project tracking

Writes the skill files only. Add --no-init to skip aipm.package.json and the lockfile.

aipm add @riekelt/verifying-before-done@1.0.0 --no-init

How to use

Install the skill above, then run this in your AI tool:

/verifying-before-done <your description>

About

**REQUIRED BACKGROUND:** the `principal-engineering` skill.

Source

What gets added to your project

Preview every file this package writes on install before you run the command above.

Summary

Use when about to say \"done\", \"fixed\", \"passing\", or \"shipped\", or when reporting the outcome of any change. Encodes verification as the definition of done: drive the change at its surface, run the verify command, report faithful...

Skill instructions

Verifying before done

REQUIRED BACKGROUND: the principal-engineering skill.

Overview

Done means verified, and verified names what was checked. Careful work is not a check.

The discipline

  1. Drive the change at its surface, capture what it did. Run the smallest path that executes the changed code in the running system; "Verify at the surface" below expands this.
  2. Run the verify command, paste its output. The verify command comes from the pre-change checkpoint; it proves the gates hold, and its actual output backs that part of the claim. Redact secret values from output before quoting it (operating-safely owns secrets hygiene). "Verified" is always "PASS (checked X and Y)", never a bare checkmark.
  3. Report faithfully, both directions. Report failing tests with their output, name skipped steps as skipped, and state verified work plainly without hedging. Underclaiming verified work wastes the reader's re-verification exactly like overclaiming wastes their trust.
  4. Distrust green. A green suite over code that cannot work means the suite does not run, does not cover, or cannot fail. When a result seems too clean for the change's size, confirm the test executed (run it alone, watch it appear) and confirm it can fail (break the code, watch it go red, unbreak it). A test that never ran and a gate that never fires produce confident wrong "done"s.
  5. Distinguish the tiers. Implemented (in the repo) is not deployed (live) is not externally verified (checked in the external system). Never claim a later tier from evidence of an earlier one.
  6. Lookback before declaring complete. Sweep the diff: no unrelated changes, no planning residue in code or comments, docs updated in the same change, every acceptance criterion actually met rather than approximately met.
  7. Independent verification for top-tier changes. The author of a change is the worst-placed person to verify it. For the project's declared critical paths (money, sales, stored data, safety, whatever the system must never get wrong) and for irreversible migrations, the verifier is someone or something that did not write the code. When no independent verifier is reachable in time, use the nearest substitute and name it as the weaker form it is; downgrading the check silently is the failure, downgrading it visibly is a decision.

Verify at the surface

The gates (the verify command, the suite, the build) prove the repository holds; the change is proven where its caller meets it: the command line that runs it, the endpoint that serves it, the screen that renders it, or the consumer that imports it.

  • Drive the smallest path that executes the changed code, in the running system. Run a changed flag with the flag set, send a changed handler its request, trigger the error of a changed error path. An internal function is not a surface: its caller ends at a surface, so observe there.
  • Read tests as the author's evidence, not the verification. A test says what to drive; the gates re-run it.
  • Probe beside the change. The happy path confirms the claim; the neighbors test it: the empty value, the repeated call, the conflicting option, the adjacent error the change did not touch. One probe past the claim is the minimum; a probe that holds is still reported, because it says what was covered.
  • Quote what the system produced. The response body, the terminal output, and the rendered screen back the claim. Redact before quoting: tokens, connection strings, and auth headers. Treat ambiguous output as a failure with the redacted raw capture attached, never interpret it into a pass.
  • Say "no runtime surface" when none exists. Docs, comments, and type declarations that produce no behavior get that as the verification, never a substitute gate run to fill the space.
  • Never drive destructive paths live. Where the changed code deletes or writes beyond the workspace and no safe target exists, verify around it and name the unexercised path (operating-safely owns the guards).

Failing gates you own

Attribute the origin first, then fix the test regardless of whose it is. "Pre-existing" is a footnote in the report, never an excuse in the gate. The one exception is procedural: a pre-existing red on the main branch that blocks an unrelated green fix gets surfaced with an offer to merge the green fix anyway, decided by the operator.

Common mistakes

  • Declaring done from the diff looking right. The diff is the hypothesis; the run at the surface is the experiment.
  • Running the whole suite instead of the targeted verify command, and reading "no new failures" as "my change works". A suite that never covered the path cannot vouch for it.
  • Re-running the gates and calling it verification. Green gates plus an undriven surface claim "CI works", not "the change works".
  • Verifying the happy path of a change whose risk is in the failure path.
  • "Tests pass locally" as the terminal claim for a change whose risk is environmental (config, migrations, permissions, prod data shape).
  • Fixing the test instead of the code when red is inconvenient. The test was the messenger.

Loading package files…

Share this package

Add an Install with AIPM badge

Add this badge to a GitHub README so readers can open the package page and install the same version.

Install with AIPM
[![Install with AIPM](https://www.aipm-registry.com/install-with-aipm.svg)](https://www.aipm-registry.com/skills/riekelt/verifying-before-done/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)

Publisher

riekelt

This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.

AI assistant context

What this skill is for

@riekelt/verifying-before-done@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Use when about to say \"done\", \"fixed\", \"passing\", or \"shipped\", or when reporting the outcome of any change. Encodes verification as the definition of done: drive the change at its surface, run the verify command, report faithful...

Install
aipm add @riekelt/verifying-before-done@1.0.0
Use after install
/verifying-before-done <your description>

Tool targets

Install command by target

Add --no-init to any of these when you want the skill files without aipm.package.json or aipm-lock.json.

cursor

Run this variant when you want to install the package into cursor.

aipm add @riekelt/verifying-before-done@1.0.0 --target cursor --ci

claude

Run this variant when you want to install the package into claude.

aipm add @riekelt/verifying-before-done@1.0.0 --target claude --ci

Discussion

Comments (0)

Loading comments…

Keep exploring

riekelt/handling-failures

Use when writing or touching any error path, catch block, fallback, default value, retry, or degraded mode - in any language, any repo. Encodes the no-silent-swallows contract and the fail-loud discipline. Use whenever an exception is ab...

Published by @riekelt

skillScanned · no issues★ 6Imported · UnverifiedAll toolsNov 28, 2026, 1:03 AM2.19 KBApache-2.0

riekelt/keeping-one-source-of-truth

Use when adding data, config, state, constants, an enum-like string, a cache, or anything that could exist in two places - or when two sources already disagree. Encodes the one-fact-one-source doctrine for code and data: derive rather th...

Published by @riekelt

skillScanned · no issues★ 6Imported · UnverifiedAll toolsNov 28, 2026, 1:03 AM1.92 KBApache-2.0

riekelt/grounding-before-coding

Use when starting any non-trivial change, investigating a bug, or working in unfamiliar code - before the first line is written. Also use for pure investigation with no change planned yet - \"dig into this\", \"figure out why\", \"someti...

Published by @riekelt

skillScanned · no issues★ 6Imported · UnverifiedAll toolsNov 28, 2026, 1:03 AM2.07 KBApache-2.0

Package FAQ

Install and compatibility

How to install
Run aipm add @riekelt/verifying-before-done@1.0.0 in a project that has AIPM initialized.
Supported tools
@riekelt/verifying-before-done@1.0.0 supports All tools.

Before installing

AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.