Langsung ke konten
Skillpedia
Testing8.2k Β· #12543

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.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/vudovn/ag-kit/blob/main/.agents/skills/verify-changes/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

β€œ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

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa