agentleFS
gregwebsgregwebs/skills-sdlc/skills/bug-investigation/SKILL.md

bug-investigation

Skill20 starsChanged 45 days agoMITView on GitHub

Investigate a bug/defect. Triggered by 'fix/investigate a bug/defect'

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a bug is non-trivial, use /diagnosing-bugs to investigate it.

    line 6
  2. Distinctive:

    If you are in the midst of implementation and the implementation changes caused the bug, fix it as part of the implementation.

    line 13
  3. Distinctive:

    If there is already a defect ticket, save the root cause analysis on the ticket for the defect.

    line 17
  4. Distinctive:

    If there is no ticket referenced for a fresh bug report, ask the user if you should create one using /to-tickets.

    line 18

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

If a bug is non-trivial, use /diagnosing-bugs to investigate it.

Generate a root cause analysis of the defect.

A fix can be implemented immediately without an issue/ticket if it has a simple straightforward root cause and fix.

Otherwise, integrate the fix into the current workflow. If you are in the midst of implementation and the implementation changes caused the bug, fix it as part of the implementation.

Issues/Tickets

If there is already a defect ticket, save the root cause analysis on the ticket for the defect. If there is no ticket referenced for a fresh bug report, ask the user if you should create one using /to-tickets. If you know how to search the issue tracker, first search it for a similar bug report. As a bonus suggest how to fix the defect based on your existing defect analysis if you are able, but don't explore the code base further to do that- focus on completing and reporting the root cause analysis.

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.