agentleFS
YesehYeseh/skills/.agents/skills/diagnosing-bugs/SKILL.md

diagnosing-bugs

Skill1 starsChanged 28 days agoNo licenceView on GitHub

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

218 other projects use a version of this, 135 of them edited; 34 of 138 edited versions we compared changed its rules; 15 new projects in the last 4 weeks, against 7 the 4 before.

How people change it

34 of 138 edited versions changed its rules, and some changes recur.

Of the 138 edited versions we compared: 72 keep every rule, 32 are an older text, 34 made changes of their own.

Not in older versions

  1. If the redacted output is not enough to diagnose the bug, say so and ask the user.missing from 32 of 32

Rules people drop

  1. If the redacted output is not enough to diagnose the bug, say so and ask the user.dropped by 18 of 34
  2. When exploring the codebase, read GLOSSARY.md (if it exists) to get a clear mental model of the relevant modules, and check ADRs in the area you're touching.dropped by 15 of 34
  3. Do not proceed until you have reproduced and minimised.dropped by 14 of 34
  4. Differential loop. Run the same input through old-version vs new-version (or two configs) and diff outputs.dropped by 12 of 34
  5. If you catch yourself reading code to build a theory before this command exists, stop: jumping straight to a hypothesis is the exact failure this skill prevents. No red-capable command, no Phase 2.dropped by 11 of 34
  6. Property / fuzz loop. If the bug is "sometimes wrong output", run 1000 random inputs and look for the failure mode.dropped by 10 of 34
  7. Bisection harness. If the bug appeared between two known states (commit, dataset, version), automate "boot at state X, check, repeat" so you can git bisect run it.dropped by 10 of 34
  8. Treat the loop as a product. Once you have _a_ loop, tighten it:dropped by 10 of 34

Rules people add

  1. No red-capable command, no Phase 2.added by 3 of 34
  2. If you catch yourself reading code to build a theory before this command exists,added by 3 of 34
  3. Stop and say so explicitly. List what you tried. Ask the user for: (a) access to whatever environment reproduces it, (b) a captured artifact (HAR file, log dump, screen recording with timestamps), or (c) permission to add temporary instrumentation. …added by 2 of 34
  4. A rule we can't quote: its licence doesn't allow itadded by 2 of 34

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Surging: 15 new projects took it in the last 4 weeks, 2.1× the 4 weeks before.

Week of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 1 new projectWeek of Oct 11: 6 new projectsWeek of Oct 18: 4 new projectsWeek of Oct 25: 4 new projectsWeek of Nov 1: 2 new projectsWeek of Nov 8: 5 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read.

Most recently taken up by

Used with

Projects with it also use setup-ts-deep-modules, loop-me and 8 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.
  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 43 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 55 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 58 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 88 projects that use this

  • LesaniSkill

    writing-shape

    Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

    Also in 56 projects that use this

  • ryotaroh180105Skill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 41 projects that use this

  • +1 more from Lesani

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 12 are common, 1 is distinctive, and 1 is very specific to this project.

  • 12

    Common

    Most of the 156 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.

“Common” is measured: kept by at least 6 in 10 of the 156 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.

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.