Skip to content
Skillpedia
Security48k · #2465

bugs-are-annoying

Helps your agent search for errors and security flaws in code. It performs a deep analysis to ensure the program works correctly.

What it does

This AI agent searches for errors in programming code. It tries to 'break' the code to find logic flaws, security issues, or other problems the code might have.

When to use it

  • ✓When you want to be sure code is working correctly.
  • ✓To find hidden errors that other tools miss.
  • ✓Before using code in an important project.

Example of what to ask your AI

“Audit this code to find all possible bugs.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bugs-are-annoying/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bugs-are-annoying/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It analyzes the code line by line, simulates error scenarios, and checks if the code behaves as expected in unexpected situations.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill bugs-are-annoying

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/bugs-are-annoying/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from 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.

  1. 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.
  2. 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.
  3. Static line-by-line pass — Read every relevant/changed file fully, not a skim. Check each line against the taxonomy below.
  4. 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.
  5. 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.
  6. 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.
  7. Severity triage — Classify every finding using the definitions below. Do not invent new severity labels.
  8. 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

…

FAQ

Does it find all types of errors?

It's designed to find many types of errors, like logic flaws, security issues, and problems in rare cases (edge cases).

Does it check the code's appearance?

No, it focuses only on whether the code works correctly, not if it looks good or is well-written in terms of style.

What does it do if it finds an error?

It lists the found errors, classifies their severity, and indicates where they are in the code, usually in a file named bugs.md.

Details

Original description by the author

Adversarial code auditor that hunts down bugs, logic errors, and security flaws. Use for deep correctness passes, not style reviews.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2465
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills