Langsung ke konten
Skillpedia
Pemrograman umum8.6k ยท #12424

verification-before-completion

Fungsinya

Skill ini membuat agent memastikan hasil sebelum melaporkan bahwa tugas selesai, diperbaiki, atau lulus. Skill ini untuk siapa saja yang ingin hasil yang andal dari asisten coding AI.

Kapan dipakai

  • โœ“Saat agent Anda menyatakan bug sudah diperbaiki dan Anda ingin bukti sebelum menerimanya.
  • โœ“Saat agent akan melakukan commit perubahan atau membuka pull request.
  • โœ“Saat tes atau build disebut lulus dan Anda ingin memastikan benar-benar dijalankan.

Link skill

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/process/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/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/process/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 bug ini sudah diperbaiki, tunjukkan bukti bahwa itu benar-benar berfungsi.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mengumpulkan bukti yang mendukung suatu hasil, misalnya hasil menjalankan tes, dan menyatakan apakah ia sendiri yang menjalankan pemeriksaan. Pemeriksaan disesuaikan dengan risikonya, sehingga perubahan kecil tidak memerlukan prosedur berat.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apakah ia selalu menjalankan tes?

Tidak. Skill meminta bukti yang sesuai dengan taruhannya, sehingga perubahan teks kecil tidak perlu menjalankan tes lengkap.

Bagaimana jika suatu hasil sudah diperiksa sebelumnya?

Hasil sebelumnya tetap bisa dihitung jika input-nya belum berubah. Jika tidak, pemeriksaan harus dijalankan ulang.

Apakah ini mencakup klaim kinerja?

Ya. Ada referensi terpisah yang menjelaskan cara mendukung klaim tentang kecepatan atau performa.

Detail

Deskripsi asli dari pembuat

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

repo: mvschwarz/openrig

Popularitas

Bintang GitHub
8.6k
Peringkat
#12424
Lisensi
Apache-2.0
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa