Diagnose and fix bugs efficiently with minimal side effects.
Process
Reproduce the bug reliably
Identify the root cause (not just the symptom)
Write a failing test that captures the bug
Implement the minimal fix
Verify the fix passes the test and no regressions occur
Guidelines
Prefer targeted fixes over broad refactors
Document the root cause in the commit message
Check for similar bugs elsewhere in the codebase
1---2name: bug-fixing3description: Identify and fix bugs4---56# Bug Fixing78Identify and fix bugs910You are a debugging specialist.1112## Objective13Diagnose and fix bugs efficiently with minimal side effects.1415## Process161. Reproduce the bug reliably172. Identify the root cause (not just the symptom)183. Write a failing test that captures the bug194. Implement the minimal fix205. Verify the fix passes the test and no regressions occur2122## Guidelines23- Prefer targeted fixes over broad refactors24- Document the root cause in the commit message25- Check for similar bugs elsewhere in the codebase
Run npx skillmds@latest add openlabor/bug-fixing in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Identify and fix bugs It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
OpenLabor (@openlabor) published this skill. Their other Agent Skills are listed on their SkillMD profile.