Logo di Verification Before Completion

Verification Before Completion

Organizzazione
MadAppGang
verification-before-completion

Use when claiming task completion or marking items as done. Covers completion evidence requirements, verification methods, and anti-rationalization patterns.

Panoramica

Pubblicato daMadAppGang
Repositoryclaude-code
Nome della skillverification-before-completion
Stelle
281
Fork
26
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da MadAppGang su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Verification Before Completion in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/discipline/verification-before-completion
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MadAppGang/claude-code.git /tmp/claude-code
mkdir -p .claude/skills
cp -r /tmp/claude-code/plugins/dev/skills/discipline/verification-before-completion .claude/skills/verification-before-completion
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Verification Before Completion in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Verification Before Completion non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Verification Before Completion non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Verification Before Completion

Iron Law: "NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE"

When to Use

This skill applies whenever you:

  • Mark a todo item as complete
  • Claim a bug is fixed
  • Report a feature is ready
  • State implementation is done
  • Close a task or issue
  • Prepare to commit changes

Red Flags (Violation Indicators)

  • "should be done" / "should work now" (assumed completion)
  • "probably works" / "likely fixed" (uncertainty without verification)
  • "seems to work" / "appears correct" (observation without test)
  • "Great!" / "Perfect!" / "All set!" (celebration without evidence)
  • "I already tested this earlier" (stale evidence)
  • Completion claim without test output shown
  • Completion claim without grep verification for file changes
  • Completion claim without screenshot for UI changes
  • Completion claim without git diff for code changes
  • Completion claim without build logs for configuration changes
  • Completion claim without CI link for deployment changes
  • "Just a small change, no need to verify" (size-based rationalization)

Key Concepts

Fresh Verification Principle

Verification must be fresh (performed after the claimed change) and explicit (evidence shown, not described).

Wrong:

Fixed the login bug in auth.ts. Should be working now.

Correct:

Fixed the login bug in auth.ts line 42:

git diff src/auth.ts:
-  if (user.token == null) {
+  if (user.token === undefined || user.token === null) {

Test output:
✓ should reject undefined token (15ms)
✓ should reject null token (12ms)
✓ should accept valid token (8ms)

Evidence Types by Change Type

Change TypeRequired EvidenceTool/Method
Logic/algorithmTest output showing passbun test, pytest, go test
File creationGrep verification or ls outputgrep -r "pattern" . or ls -la path/
UI/stylingScreenshot or videoBrowser DevTools screenshot
ConfigurationBuild logs showing successnpm run build, cargo build
DeploymentCI link or deployment logsGitHub Actions URL, kubectl logs
API changesAPI test output or curl resultcurl -X POST ...
Data migrationRow count or sample querySELECT COUNT(*) FROM ...
Performance fixBenchmark comparison (before/after)hyperfine, go test -bench

Enforcement Mechanism

Tasks Integration

When marking a todo as completed:

  1. BEFORE changing status to completed, gather fresh evidence
  2. IN THE SAME MESSAGE that marks it complete, show the evidence
  3. NEVER mark complete in one message, then show evidence later

Violation Pattern:

Message 1: "Fixed the validator. Marking todo complete."
Message 2: "Here's the test output..."

Correct Pattern:

Message 1:
"Fixed the validator. Test output:
✓ should validate email (5ms)
✓ should reject invalid format (3ms)

Marking todo complete."

Rationalization Detection

Common rationalizations and their counters:

RationalizationCounter
"It's a trivial change"Trivial = fast to verify, not skip
"I tested this before"Code changed since then, verify again
"Same pattern as working code"Different context = different bugs
"Just fixing a typo"Typos can break builds, verify
"Only changed comments"Comments can break doc generation
"Can't test without production data"Use test fixtures or staging environment

Examples

Example 1: React Component Fix (TypeScript)

Scenario: Fixed useState initialization bug

Wrong Completion:

Fixed the counter initialization bug. Should be good now!

Correct Completion:

Fixed the counter initialization bug in Counter.tsx line 8:

git diff:
-  const [count, setCount] = useState();
+  const [count, setCount] = useState<number>(0);

Test output:
 PASS  src/Counter.test.tsx
   Counter component
     ✓ renders with initial value 0 (23ms)
     ✓ increments on button click (15ms)

Build check:
✓ Type checking passed (1.2s)
✓ No lint errors

Example 2: Python API Endpoint (FastAPI)

Scenario: Fixed validation error in POST /users

Wrong Completion:

Added email validation to the users endpoint. Tested locally, works fine.

Correct Completion:

Added email validation to the users endpoint in api/users.py line 45:

git diff:
 @app.post("/users")
 def create_user(user: UserCreate):
+    if not re.match(r"[^@]+@[^@]+\.[^@]+", user.email):
+        raise HTTPException(400, "Invalid email format")
     return db.create_user(user)

Test output:
test_create_user.py::test_valid_email PASSED
test_create_user.py::test_invalid_email_rejected PASSED
test_create_user.py::test_missing_at_sign PASSED

Manual curl test:
$ curl -X POST http://localhost:8000/users -d '{"email":"invalid"}'
{"detail":"Invalid email format"}

Example 3: Go Configuration Change

Scenario: Updated Docker build configuration

Wrong Completion:

Updated the Dockerfile to use Go 1.22. Build should work now.

Correct Completion:

Updated the Dockerfile to use Go 1.22:

git diff:
-FROM golang:1.21-alpine
+FROM golang:1.22-alpine

Build verification:
$ docker build -t myapp:test .
[+] Building 45.3s (12/12) FINISHED
 => [internal] load build definition from Dockerfile
 => => transferring dockerfile: 234B
 => [1/6] FROM golang:1.22-alpine
 => [2/6] WORKDIR /app
 => [3/6] COPY go.mod go.sum ./
 => [4/6] RUN go mod download
 => [5/6] COPY . .
 => [6/6] RUN go build -o /app/server
 => exporting to image
 => => writing image sha256:abc123...

Run verification:
$ docker run myapp:test --version
v1.0.0 (go1.22.0)

Integration with Other Skills

  • test-driven-development: TDD provides the tests you'll use as verification evidence
  • systematic-debugging: Debug process ends with fix verification (this skill)
  • agent-coordination-discipline: Agents must return verification evidence, not just claims
  • quality-gates: Quality gate checks are verification evidence types

Quick Reference

Before marking ANY task complete:

  1. ✅ Run relevant tests → capture output
  2. ✅ Check file changes → show git diff or grep
  3. ✅ Verify build → show build logs
  4. ✅ For UI changes → take screenshot
  5. ✅ For deployments → link CI run
  6. ✅ Show evidence in completion message
  7. ✅ Only then mark todo as completed

Remember: If you can't show fresh evidence, the task isn't complete yet.

Domande frequenti

Cosa fa la skill IA Verification Before Completion?

Use when claiming task completion or marking items as done. Covers completion evidence requirements, verification methods, and anti-rationalization patterns.

Perché usare Verification Before Completion su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Verification Before Completion è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Verification Before Completion in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/discipline/verification-before-completion. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Verification Before Completion?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Verification Before Completion?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Verification Before Completion: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Verification Before Completion è gratuita?

Sì. È pubblicata su GitHub da MadAppGang con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇