correct
Fungsinya
Memungkinkan asisten meninjau koreksi yang berulang dan memperbaiki penyebabnya di basis kode itu sendiri. Cocok untuk tim yang terus mengoreksi kesalahan AI yang sama.
Kapan dipakai
- ✓Saat kesalahan yang sama terus muncul dalam perubahan buatan AI.
- ✓Saat Anda ingin menghentikan koreksi berulang dengan mengubah repo itu sendiri.
- ✓Saat Anda meminta asisten menjalankan proses koreksi yang benar.
Link skill
https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/correct/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
“Telusuri revert dan komentar tinjauan terbaru kami, temukan kesalahan AI yang berulang, dan buat agar sulit diulang.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Asisten mengelompokkan kesalahan berulang ke dalam kelas, lalu memperbaiki setiap kelas di tingkat tertinggi yang berhasil: arsitektur dulu, lalu tipe, aturan lint dengan pesan yang membantu, tes, dan terakhir dokumentasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Correct
The operator keeps correcting agents in this repo for the same mistakes. Change the repo so the next agent can't make them.
Assume every contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles. Design the repo so a change that looks right from one file is right for the whole repo.
Find the mistake classes
First, read recent commits, reverts, review comments, agent instruction files, and comments that explain workarounds. Group the mistakes into classes. A class counts once it has happened twice.
Fix each class at the highest level that works
- Eliminate it with architecture. Give each piece of state one owner and each task one supported way. Hide internals so the wrong import fails. Replace hand-synced lists with one source of truth. Delete old ways and dead code an agent would copy.
- Enforce it with types so the bad state can't be written. If bad code still compiles, add a lint or CI check whose error names the file, type, or function to use instead. If the pattern is already common, fail only when a change adds more.
- Test the behavior. Fix or delete any test that still passes when the behavior it checks breaks, or that fails when only the internals change.
- Write docs or agent rules last, only for judgment calls. Nothing fails when an agent skips them.
Fix and prove
Then fix the most frequent classes now, one commit each. Prove each new check fails on a real past mistake. Run the same command locally and in CI. Exceptions go on the offending line with a reason, an expiry date, and a human's approval.
Keep the rule table
Last, keep a table in the agent instruction file that pairs each rule with what enforces it. When the operator corrects you, fix the mistake and add the rule. If the rule was already there and nothing enforces it, that's a repeat, so fix it at the highest level in the same change. Drop a rule once its mistake can't happen.
Reply: each class with its evidence, the level you picked, and why a higher level didn't work.
Pertanyaan umum
Mengapa memperbaiki arsitektur dulu?
Desain yang menghilangkan kesalahan sepenuhnya lebih baik daripada pemeriksaan atau dokumentasi yang mungkin dilewati agent.
Kapan sebuah kesalahan dianggap sebagai kelas?
Setelah terjadi dua kali, skill ini memperlakukannya sebagai kelas berulang yang layak diperbaiki.
Apakah ia menulis dokumentasi terlebih dahulu?
Tidak. Dokumentasi berada di urutan terakhir, hanya untuk keputusan yang memerlukan penilaian, karena tidak ada yang gagal ketika agent melewatkannya.
Detail
Deskripsi asli dari pembuat
Find the mistakes agents keep repeating in this repo and make each one impossible. Try architecture first, then types, then a lint whose error names the fix, then a test, and write docs last. Prove each check fails on a real past mistake. Repeat this each time the operator corrects you. Use for /correct.
repo: cursor/plugins
Popularitas
- Bintang GitHub
- 15k
- Peringkat
- #10959
- Lisensi
- —
- Diperbarui
- 31/10/2026
Komentar
- …
Skill lain dari repositori ini
advisor
15kMemungkinkan agent Anda berkonsultasi dengan model kedua yang lebih kuat pada titik pemeriksaan penting, seperti sebelum keputusan besar atau saat terhenti pada error, jika Anda mengaktifkannya.
check-agent-compatibility
15kMenjalankan pemeriksaan menyeluruh tentang apakah agent pengodean AI bisa memulai, memverifikasi, dan mendokumentasikan repositori, lalu mengembalikan satu skor kompatibilitas dengan masalah utamanya.
cli-for-agents
15kMengajarkan agent Anda merancang atau meninjau alat baris perintah agar agent AI bisa menjalankannya tanpa prompt, dengan teks bantuan dan contoh yang jelas.
continual-learning
15kMenjaga catatan AGENTS.md Anda tetap mutakhir dengan menyerahkan pekerjaan meninjau chat sebelumnya kepada pembaru memori khusus.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.