agentleFS
brandonbewsbrandonbews/pumptrack/skills/find-bugs/SKILL.md

find-bugs

Skill0 starsChanged 22 days agoMITView on GitHub

Find the real bugs in a code change, prove each as far as is cheap, and say how sure you are of each. Use when asked to look for bugs in a change, or when `review` hands you one.

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use upstash-qstash, c-pro and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • xfstudioSkill

    upstash-qstash

    Upstash QStash expert for serverless message queues, scheduled jobs, and reliable HTTP-based task delivery without managing infrastructure. Use when: qstash, upstash queue, serverless cron, scheduled http, message queue serverless.

    Also in 5 projects that use this

  • xfstudioSkill

    c-pro

    Write efficient C code with proper memory management, pointer

    Also in 4 projects that use this

  • +10 more from xfstudio

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Look only for bugs: code that does something other than what's intended, security holes included.

    line 10

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Find bugs

Your goal: find the bugs that are really there, and show how sure you are of each, so nobody chases a false alarm.

Look only for bugs: code that does something other than what's intended, security holes included. Style and design belong to review.

What you need

The change (a diff, branch, PR or commits), the goal if there is one, since it says what's intended, and any limits, such as files to leave alone.

Steps

  1. Read the change, and work out what it now does differently, including what the diff doesn't spell out.
  2. Check its promises. Compare what the code promises in its names, docs and comments, and what the goal says, with what it actually does.
  3. Look where a search stops. Callers are quick to find, so go further: data other code reads (a stored field, an API response, a file format), when things run (startup, teardown, retries, two at once), and the source of the libraries it calls, at the version the project uses.
  4. Prove each suspect as far down this scale as is cheap, and note where it stopped:

    1. Said so. Worth nothing on its own.
    2. Pointed at the line: a real path:line, or the library's own source.
    3. Traced: walked the bad case step by step, and it reaches the failure.
    4. Ran it: a script or test that calls the real code fails.
    5. Reproduced it in the running app, started the way the project's notes say.

    Scripts go in a temp folder, not the project. A suspect that tracing shows can't happen is cleared.

  5. Find the cause. For each bug, name the root cause and check whether the same pattern appears elsewhere.

Report

Report the way communication says, with an outcome such as "2 bugs, 1 proven by a failing test". Then:

  • Bugs: traced or better. For each: path:line, how it breaks (what input or state leads to what wrong result), how bad it is, how sure you are, with the proof pasted for anything you ran, and the fix.
  • Unconfirmed: suspects only pointed at, each with the cheapest way to settle it.
  • Cleared: what you checked and ruled out, a line each.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.