verify-changes
Fungsinya
Skill ini membuat AI Anda menguji perubahannya sendiri dengan menjalankannya sebelum menyatakan bahwa perubahan itu berfungsi. Skill ini untuk siapa saja yang menginginkan bukti nyata bahwa kode baru atau yang diubah bekerja.
Kapan dipakai
- βSaat AI Anda baru saja menulis atau mengubah kode dan Anda ingin bukti bahwa itu berfungsi.
- βSaat Anda perlu memastikan bahwa perbaikan bug benar-benar menghentikan bug tersebut.
- βSaat perubahan build atau konfigurasi harus diperiksa dengan benar-benar menjalankannya.
Link skill
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/verify-changes/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βLakukan perubahannya, lalu jalankan dan tampilkan keluarannya agar saya tahu itu benar-benar berfungsi.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill mencocokkan metode verifikasi dengan jenis perubahan, seperti mereproduksi bug atau menjalankan build. AI menjalankannya dan melaporkan buktinya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Verify Changes β Prove Code Works
"Code that exists" β "Code that works." This skill ensures changes are verified through execution.
Core Principle
β Verification by inspection: "I can see the function exists, it should work"
β Verification by assumption: "The types check out, so it's correct"
β
Verification by execution: "I ran it, here's the output, it works because [evidence]"
Verification Protocol
Step 1: Identify What Changed
- Which files were modified?
- What behavior should be different now?
- What was the original bug/requirement?
Step 2: Determine Verification Method
| Change Type | Verification Method |
|---|---|
| Bug fix | Reproduce the original bug scenario β confirm it no longer occurs |
| New feature | Run the feature β confirm expected output |
| Refactor | Run existing tests β confirm nothing broke |
| API change | Call the endpoint β confirm response shape |
| UI change | Render the component β confirm visual output |
| Config change | Load the config β confirm values applied |
| Build/infra | Run build command β confirm success |
Step 3: Execute Verification
# For Node.js projects
npm run build # Does it compile?
npm run test # Do tests pass?
npm run dev # Does it start?
# For specific files
node -e "require('./path/to/module'); console.log('β
Loads correctly')"
# For API endpoints
curl http://localhost:3000/api/endpoint
# For scripts
python script.py --test
Step 4: Report Evidence
## Verification Report
### What was changed
- [File list and summary]
### How it was verified
- [Exact commands run]
### Evidence
- Build: β
Compiled without errors
- Tests: β
42/42 passing
- Runtime: β
Server starts, endpoint returns expected JSON
- Edge case: β
Empty input handled correctly
### Not yet verified
- [Anything that couldn't be tested automatically]
Verification Checklist by Project Type
Web Application
-
npm run buildβ compiles without errors -
npm run lintβ no linting errors -
npm run testβ all tests pass - Dev server starts successfully
- Changed pages render correctly
- No console errors in browser
API / Backend
- Server starts without errors
- Changed endpoints respond correctly
- Error cases return appropriate status codes
- Database queries execute successfully
CLI / Script
- Script runs without errors
- Expected output matches actual output
- Error handling works (bad input test)
- Help/usage text is correct
Anti-Patterns
| Anti-Pattern | Why It's Bad | Fix |
|---|---|---|
| "It should work" | No evidence | Run it and show output |
| Only checking happy path | Bugs hide in edge cases | Test error paths too |
| Verifying only compilation | Compiles β correct | Test runtime behavior |
| Skipping verification for "trivial" changes | Trivial changes cause real bugs | Verify everything |
Integration with Other Skills
| After Using | Verify With |
|---|---|
frontend-design β UI changes |
Render in browser, check console |
backend-specialist β API changes |
curl endpoints, check responses |
database-design β Schema changes |
Run migrations, query data |
testing-patterns β New tests |
Run test suite, check coverage |
Pertanyaan umum
Apa arti verifikasi dengan eksekusi?
Artinya menjalankan kode dan melaporkan apa yang terjadi, bukan hanya membaca kode lalu berasumsi bahwa itu berfungsi.
Bagaimana ia memeriksa refaktor?
Ia menjalankan tes yang ada untuk memastikan tidak ada yang rusak.
Apakah ini berlaku untuk perubahan antarmuka pengguna?
Ya. Skill menyarankan merender komponen untuk memastikan keluaran visualnya.
Detail
Deskripsi asli dari pembuat
Prove code works by running it, not just checking it exists. Verification through execution rather than inspection. Use after writing or modifying code to ensure it actually functions correctly.
repo: vudovn/ag-kit
Popularitas
- Bintang GitHub
- 8.2k
- Peringkat
- #12543
- Lisensi
- MIT
- Diperbarui
- 18/10/2026
Komentar
- β¦
Skill lain dari repositori ini
batch-operations
8.2kMembantu agent Anda membuat perubahan yang sama di banyak berkas sekaligus, misalnya mengganti nama fungsi atau mengganti impor lama di semua tempat.
brainstorming
8.2kMengajari agent Anda untuk mengajukan pertanyaan klarifikasi sebelum membangun sesuatu yang baru atau rumit, agar ia memahami tujuan Anda terlebih dahulu.
code-review-checklist
8.2kMemberi agent Anda daftar periksa untuk meninjau kode dari sisi kebenaran, keamanan, performa, pengujian, dan dokumentasi, termasuk risiko khusus AI.
code-review-graph
8.2kMembantu agent Anda meninjau kode dalam proyek besar dengan peta struktural, sehingga ia hanya membaca berkas yang terdampak oleh perubahan.
Skill serupa
test-driven-development
311kMengajari agent Anda menulis tes yang gagal dulu, melihatnya gagal, lalu menulis kode terkecil yang lulus, sebelum membangun fitur atau perbaikan apa pun.
verification-before-completion
311kMengajari agent Anda menjalankan pemeriksaan nyata dan membaca keluarannya sebelum menyatakan tugas, perbaikan, atau build sudah selesai atau lulus.
migrate-to-shoehorn
310kMengganti type cast berisiko di file tes Anda dengan pustaka shoehorn, sehingga tes bisa memakai data parsial dan tetap lulus pemeriksaan tipe.