bug_fix
Skill44 starsChanged 9 months agoMITView on GitHub
Constrains the Agent to follow a structured bug fix process — locate → root cause → fix → regression verify.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/p8-enforcement.mdcCursor rule
- code_reviewSkill
- feature_devSkill
- prdSkill
- refactorSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Before fixing a bug, you must check every item in assets/checklist.yaml.
- Distinctive: line 23
If the user has not provided an error message or reproduction steps, you must block and ask.
- Distinctive: line 24
Do NOT start fixing until the bug is clearly described and reproducible.
- Distinctive: line 30
Must include: root cause analysis, fix plan, fix code (diff format), impact analysis, regression checklist.
- Very specific: line 35
If you need to execute commands to reproduce or verify a bug, check references/security.yaml first.
- Distinctive: line 36
Do not execute any high-risk commands that could damage existing code or environment.
- Very specific: line 40
After fixing, audit your fix against references/guidelines.yaml.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bug Fix
Constrains the Agent to follow the "locate → root cause analysis → fix → regression verification" structured process.
<PIPELINE>Step 1: Inversion (Requirements Alignment)
Before fixing a bug, you must check every item in assets/checklist.yaml.
<HARD-GATE>
If the user has not provided an error message or reproduction steps, you must block and ask.
Do NOT start fixing until the bug is clearly described and reproducible.
</HARD-GATE>Step 2: Generator (Generate Fix Report from Template)
Your output must strictly follow the format defined in assets/template.yaml.
Must include: root cause analysis, fix plan, fix code (diff format), impact analysis, regression checklist.
Vague suggestions like "try changing this" are not allowed.
Step 3: Tool Wrapper (Security Fence)
If you need to execute commands to reproduce or verify a bug, check references/security.yaml first.
Do not execute any high-risk commands that could damage existing code or environment.
Step 4: Reviewer (Self-Audit Loop)
After fixing, audit your fix against references/guidelines.yaml.
Key checks: does the fix address the root cause? Does it introduce new bugs? Is the diff minimal?
Roll back and regenerate if non-compliant, up to 3 retries.
</PIPELINE>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
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.

