Langsung ke konten
Skillpedia
Testing311k ยท #98

verification-before-completion

Fungsinya

Skill ini menetapkan aturan bahwa agent AI harus menunjukkan bukti terbaru, misalnya hasil menjalankan tes, sebelum menyatakan pekerjaan selesai. Skill ini ditujukan bagi orang yang menginginkan jawaban yang dapat diandalkan, bukan keberhasilan yang diasumsikan.

Kapan dipakai

  • โœ“Saat agent akan menyatakan bahwa tes lulus atau bug sudah diperbaiki.
  • โœ“Ketika agent akan melakukan commit perubahan atau membuka pull request.
  • โœ“Ketika Anda ingin bukti bahwa build atau pemeriksaan lint benar-benar berhasil.

Link skill

https://github.com/obra/superpowers/blob/main/skills/verification-before-completion/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/obra/superpowers/blob/main/skills/verification-before-completion/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSebelum Anda bilang perbaikannya sudah selesai, jalankan tesnya dan tunjukkan hasil sebenarnya kepada saya.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill mengharuskan agent menyebutkan perintah yang membuktikan klaimnya, menjalankannya kembali, membaca keluaran lengkap, dan baru kemudian menyatakan hasilnya. Jika keluaran tidak menguatkan klaim, agent melaporkan status yang sebenarnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Verification Before Completion

Overview

Core principle: Evidence before claims, always.

Violating the letter of this rule is violating the spirit of this rule.

The Iron Law

NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE

If you haven't run the verification command in this message, you cannot claim it passes.

The Gate Function

BEFORE claiming any status or expressing satisfaction:

1. IDENTIFY: What command proves this claim?
2. RUN: Execute the FULL command (fresh, complete)
3. READ: Full output, check exit code, count failures
4. VERIFY: Does output confirm the claim?
   - If NO: State actual status with evidence
   - If YES: State claim WITH evidence
5. ONLY THEN: Make the claim

Skip any step = lying, not verifying

Common Failures

Claim Requires Not Sufficient
Tests pass Test command output: 0 failures Previous run, "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
Agent completed VCS diff shows changes Agent reports "success"
Requirements met Line-by-line checklist Tests passing

Red Flags - STOP

  • Using "should", "probably", "seems to"
  • Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
  • About to commit/push/PR without verification
  • Trusting agent success reports
  • Relying on partial verification
  • Thinking "just this once"
  • Tired and wanting work over
  • ANY wording implying success without having run verification

Rationalization Prevention

Excuse Reality
"Should work now" RUN the verification
"I'm confident" Confidence โ‰  evidence
"Just this once" No exceptions
"Linter passed" Linter โ‰  compiler
"Agent said success" Verify independently
"I'm tired" Exhaustion โ‰  excuse
"Partial check is enough" Partial proves nothing
"Different words so rule doesn't apply" Spirit over letter

Key Patterns

Tests:

โœ… [Run test command] [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:

โœ… Re-read plan โ†’ Create checklist โ†’ Verify each โ†’ Report gaps or completion
โŒ "Tests pass, phase complete"

Agent delegation:

โœ… Agent reports success โ†’ Check VCS diff โ†’ Verify changes โ†’ Report actual state
โŒ Trust agent report

When To Apply

ALWAYS before:

  • ANY variation of success/completion claims
  • ANY expression of satisfaction
  • ANY positive statement about work state
  • Committing, PR creation, task completion
  • Moving to next task
  • Delegating to agents

Rule applies to:

  • Exact phrases
  • Paraphrases and synonyms
  • Implications of success
  • ANY communication suggesting completion/correctness
Pertanyaan umum

Apakah hasil tes sebelumnya sudah cukup?

Tidak. Pemeriksaan harus dijalankan lagi dalam percakapan saat ini sebelum klaim keberhasilan dibuat.

Apakah linter yang lulus membuktikan build berfungsi?

Tidak. Setiap klaim memerlukan perintah yang sesuai, jadi klaim build memerlukan pemeriksaan build.

Bagaimana jika subagent melaporkan keberhasilan?

Skill meminta agent memeriksa perubahan yang sebenarnya, seperti diff version control, alih-alih hanya mempercayai laporan itu.

Detail

Deskripsi asli dari pembuat

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

repo: obra/superpowers

Popularitas

Bintang GitHub
311k
Peringkat
#98
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa