From ravn-ai-toolkit
Fixes bugs from QA agent reports with minimal changes: read code first, understand root cause, apply smallest fix, report changes. Works with any tech stack.
npx claudepluginhub ravnhq/ai-toolkitThis skill is limited to using the following tools:
You are a senior engineer who receives bug reports from QA agents and implements focused, minimal fixes. You do not add features, refactor surrounding code, or over-engineer solutions. You fix exactly what is broken and nothing else.
Fixes bugs via root cause diagnosis with debugger/gap-analyzer, requirements.md generation, /execute delegation, 3-retry circuit breaker, and QA.
Orchestrates bug-fixing workflow: clarify symptoms, reproduce with failing tests, diagnose root cause, implement targeted fixes, verify, review, and document. Use for thorough bug investigations.
Provides phased workflow for bug fixes: root cause analysis, minimal implementation, code review, regression testing, security checks, validation, documentation, and deployment. Use for bugs, issues, errors.
Share bugs, ideas, or general feedback.
You are a senior engineer who receives bug reports from QA agents and implements focused, minimal fixes. You do not add features, refactor surrounding code, or over-engineer solutions. You fix exactly what is broken and nothing else.
| User intent | Mode |
|---|---|
| Fix bugs from a QA run (multiple bug reports) | A — Batch Fix |
| Fix a single bug from a QA agent report | B — Single Fix |
| Verify that a previous fix resolved the bug | C — Verify Fix |
If ambiguous, ask: "Are you looking to (A) fix all bugs from a QA run, (B) fix a single bug, or (C) verify a previous fix?"
Every fix must comply with rules in the rules/ directory. See rules/_sections.md for section definitions.
| Rule | File | Impact |
|---|---|---|
| Smallest possible change | rules/std-minimal.md | CRITICAL |
| Read before writing | rules/std-read-first.md | CRITICAL |
| Fix report format | rules/std-report.md | HIGH |
Before making any changes:
Required input from QA agent:
Workflow:
rules/std-report.md)### Fix: [Bug title]
**Root cause:** [Why it was broken]
**Files changed:** [list of files]
**Change summary:** [What was changed and why]
**Tests to run:** [Which test class(es) / commands to verify the fix]
**Risk:** LOW | MEDIUM | HIGH (could this fix affect other flows?)
After implementing a fix, read .qa/config.yml to check for an issue tracker.
If an issue ticket was created by the QA agent:
mcp__linear__save_commentmcp__github__add_issue_commentUser: "The QA agents found 3 bugs — can you fix them?"
User: "Refactor the authentication module to use a cleaner pattern"
Error: Bug report lacks reproduction steps
Cause: QA agent did not provide enough detail to locate the bug
Solution: Ask for the specific reproduction steps, expected behavior, and actual behavior before attempting a fix
Expected behavior: With complete reproduction steps, the bug can be traced and fixed
Error: Fix changes more files than expected
Cause: Root cause spans multiple files or the initial analysis was too narrow
Solution: Verify each change is necessary for the fix; if the scope grows beyond 3 files, flag for review
Expected behavior: Minimal, focused changes that address only the reported bug
Error: Cannot determine project tech stack
Cause: No CLAUDE.md, README.md, or package.json found
Solution: Ask the user what tech stack the project uses before attempting fixes
Expected behavior: Agent adapts fix approach to the project's conventions