bugs-are-annoying
Fungsinya
AI agent ini mencari error dalam kode program. Agent ini mencoba 'mematahkan' kode untuk menemukan cacat logika, masalah keamanan, atau masalah lain yang mungkin ada di dalam kode.
Kapan dipakai
- βSaat Anda ingin memastikan kode bekerja dengan benar.
- βUntuk menemukan error tersembunyi yang mungkin terlewat oleh tool lain.
- βSebelum menggunakan kode dalam proyek yang penting.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bugs-are-annoying/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
βAudit kode ini untuk menemukan semua kemungkinan bug.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent ini menganalisis kode baris demi baris, mensimulasikan skenario error, dan memeriksa apakah kode berperilaku sebagaimana mestinya dalam situasi yang tidak terduga.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Bugs Are Annoying
An adversarial QA pass for any codebase, in any language. AI IDEs are optimized to produce code that looks finished β they are not optimized to produce code that is correct. This skill exists to close that gap by actively trying to break the code instead of confirming it works.
Core Mindset
Treat all code as guilty until proven innocent. The default question when reading a builder agent's output is not "does this look right?" β it's "how would this break, and what did the author not think of?"
This is an adversarial pass, not a confirmatory one. Do not skim and approve. Do not skip a category because it "seems fine." Every category in the taxonomy below must be actively checked against the actual code, not assumed clean.
When To Use
Trigger on: "find bugs," "audit this code/codebase," "run bug hunter," "check for errors," "find flaws," "review this for bugs," "is this code solid," or any request for a deep correctness pass rather than a style/readability review.
Process β Run These Phases In Order
Do not skip phases or collapse them into a single skim. Each phase catches things the others miss.
- Determine scope β If the user named a specific file or folder, scope to that. Otherwise, ask before starting: confirm whether to audit the whole codebase, just files changed vs. the main branch (
git diff), or a specific area. Never silently guess the scope on a codebase of unknown size β an unscoped "exhaustive" pass on a large repo can blow context mid-audit. Within scope, always exclude generated and dependency directories (node_modules,vendor,dist,build,.git) and minified/bundled files β this isn't the user's authored code and auditing it wastes the pass. Lockfiles are excluded by default, but must be inspected when checking for Dependency Issues. - Map the codebase β Identify entry points, the overall data flow, and what calls what before hunting for anything. You can't find a cross-file bug without first knowing the file relationships.
- Static line-by-line pass β Read every relevant/changed file fully, not a skim. Check each line against the taxonomy below.
- Trace critical data paths β Follow data from input to output across file/function boundaries. Most real bugs live at the seams between functions and files, not inside a single function.
- Adversarial simulation β Mentally execute the code against hostile/edge inputs: null, undefined, empty string, empty array, zero, negative numbers, max-length input, duplicate calls, concurrent calls, malformed input, missing fields.
- Cross-reference pass β When a bug is found, actively check if the same mistake was repeated elsewhere. AI IDEs frequently copy-paste the same flawed pattern into multiple files.
- Severity triage β Classify every finding using the definitions below. Do not invent new severity labels.
- Write/update
bugs.mdβ Use the exact format below. This is the only output of a hunt β do not also narrate a long summary in chat; point the user to the file.
Bug Taxonomy
Language-agnostic. Check every category β these are patterns, not syntax, so they apply regardless of stack.
- Logic errors β off-by-one errors, inverted conditionals, wrong operator precedence, incorrect boolean logic
- Null/type safety β unhandled null/undefined, unsafe casts, missing optional-chaining, wrong assumed type
- Edge cases β empty input, zero, negative numbers, single-item vs multi-item collections, first/last iteration of a loop
- Error handling β swallowed exceptions, missing try/catch around fallible calls, errors caught but not logged or surfaced, wrong error propagated up the stack
- Concurrency/async β race conditions, unawaited promises, stale closures, state updated after a component/process has already torn down
- Security β injection points, hardcoded secrets/keys, auth or permission bypass, unsafe deserialization
- Resource leaks β unclosed file handles/streams/connections, listeners or subscriptions never removed
- Cross-file consistency β a function/type/field changed in one file but call sites elsewhere not updated (the single most common AI-IDE failure mode, since builder agents tend to edit one file at a time)
- API/contract mismatches β caller and callee disagree on a field name, type, or required parameter
- State management β mutation of state that should be immutable, derived state that goes stale, double-updates
β¦
Pertanyaan umum
Apakah agent ini menemukan semua jenis error?
Agent ini dirancang untuk menemukan banyak jenis error, seperti cacat logika, masalah keamanan, dan masalah pada kasus khusus (edge case).
Apakah agent ini memeriksa tampilan kode?
Tidak. Agent ini hanya berfokus pada apakah kode bekerja dengan benar, bukan apakah kode terlihat rapi atau ditulis dengan gaya yang baik.
Apa yang dilakukan agent jika menemukan error?
Agent akan membuat daftar error yang ditemukan, mengklasifikasikan tingkat keparahannya, dan menunjukkan lokasinya di dalam kode, biasanya di file bernama bugs.md.
Detail
Deskripsi asli dari pembuat
Adversarial code auditor that hunts down bugs, logic errors, and security flaws. Use for deep correctness passes, not style reviews.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #4079
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.