Aller au contenu
Skillpedia
Programmation générale8.6k · #12424

verification-before-completion

Ce qu’il fait

Ce skill amène l'agent à confirmer les résultats avant de déclarer qu'une tâche est achevée, corrigée ou réussie. Il s'adresse à toute personne qui veut des résultats fiables d'un assistant de codage IA.

Quand l’utiliser

  • ✓Quand votre agent affirme qu'un bug est corrigé et que vous voulez une preuve avant de l'accepter.
  • ✓Lorsque votre agent est sur le point de valider des changements ou d'ouvrir une demande de fusion.
  • ✓Quand on vous dit que des tests ou une compilation passent et que vous voulez être sûr qu'ils ont vraiment tourné.

Lien du skill

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Avant de me dire que le bug est corrigé, montre-moi une preuve qu'il fonctionne réellement.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent rassemble les preuves qui étayent un résultat, comme une exécution de tests, et indique s'il a lui-même effectué la vérification. Les contrôles sont proportionnés au risque, de sorte qu'une petite modification ne subit pas un processus lourd.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Verification Before Completion

Overview

Claiming work is complete without verification is dishonesty, not efficiency.

Core principle: Evidence before claims.

This rule serves shipping — it is not a ritual that outranks it. It governs one thing: claims that a verifiable result holds ("tests pass", "build succeeds", "bug fixed") — have evidence for the result before you assert it, and scale the check to the stakes (a one-line copy tweak is not a test-suite ceremony). Don't dodge it with synonyms; equally, don't inflate it into a tax on the word "done" or a reason to keep re-proving instead of shipping the working thing.

The Rule

Before claiming a verifiable result, inspect evidence that supports that result for the candidate and environment you name. Use an existing result while its relevant inputs and assumptions still hold; rerun the affected check when they change or are uncertain. State whether you ran the check or inspected another owner's evidence. A source read, syntax check or partial test supports only its stated scope. Ordinary progress reports, delegation and moving to another task do not require a new test run. Required project checks still apply.

A completed run is not automatically current, and unchanged source does not establish unchanged live state.

For a claim about performance, also read references/performance-claims.md.

Common Failures

Claim Requires Not Sufficient
Tests pass Test output with 0 failures, for the candidate you name A run on an older candidate, "should pass"
Linter clean Linter output: 0 errors Partial check, extrapolation
Build succeeds Build command: exit 0 Linter passing, logs look good
Bug fixed Test original symptom: passes Code changed, assumed fixed
Regression test works Red-green cycle verified Test passes once
Delivered outcome Relevant artifact and observed result An agent's success message or a diff alone
Requirements met Promised outcomes checked against applicable evidence, gaps named Tests passing

Red Flags - STOP

  • Using "should", "probably", "seems to"
  • Claiming a specific result is proven ("tests pass", "it's fixed", "build's green") without evidence that applies to it — enthusiasm itself is fine; an unverified result claim is the flag
  • About to commit/push/PR without verification
  • Trusting agent success reports
  • Claiming more than a partial check covers
  • Thinking "just this once"
  • Tired and wanting work over

Key Patterns

Tests:

✅ [Run test command, or read the named candidate's CI output] [See: 34/34 pass] "All tests pass"
❌ "Should pass now" / "Looks correct"

Regression tests (TDD Red-Green):

✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
❌ "I've written a regression test" (without red-green verification)

Build:

✅ [Run build] [See: exit 0] "Build passes"
❌ "Linter passed" (linter doesn't check compilation)

Requirements:

✅ Check each promised outcome against applicable evidence → Report gaps or completion
❌ "Tests pass, phase complete"

Agent delegation:

✅ Agent reports success → Inspect the artifact and the evidence it names → Report what was checked and what wasn't
❌ Pass on the report alone

When the check itself lies — content over shape

A passing check is necessary but not sufficient: a check can exit clean and still prove nothing. These are the named ways a green check lies — the failure siblings behind "evidence before claims." (Deeper treatment of what you verify against: reference-first-verification.)

  • Assert on CONTENT, never shape or count. Output that looks like success — a non-zero count, a clean exit, no error text — can carry failure as its content. Before trusting a check, ask what its output looks like when it fails: if failure and success are indistinguishable at a glance, the check proves nothing. ([1 lines] and No matches found both read as "a match" to a line-count.)
  • Compare the returned value to the value you PASSED — never to a description of it. A confident label (evidenceRef NOW SET: printed above the untouched original) is indistinguishable from a verification in a transcript. Diff the actual result against your actual input, not against a claim about it.
  • Find the untested axis. Thorough coverage of ONE axis reads as thorough cove
Questions fréquentes

Lance-t-il les tests à chaque fois ?

Non. Il demande des preuves proportionnées aux enjeux, si bien qu'une petite modification de texte n'exige pas une exécution complète des tests.

Que se passe-t-il si un résultat a déjà été vérifié ?

Un résultat antérieur peut encore compter si ses entrées n'ont pas changé. Sinon, la vérification doit être refaite.

Couvre-t-il les affirmations de performance ?

Oui. Une référence séparée explique comment étayer les affirmations sur la vitesse ou la performance.

Détails

Description originale de l’auteur

Use when about to claim work is complete, fixed, or passing, or before committing or creating PRs

repo: mvschwarz/openrig

Popularité

Étoiles GitHub
8.6k
Position au classement
#12424
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires