Generate code fixes and patches from bug reports, failing test cases, error messages, and stack traces. Use this skill when debugging code, fixing test failures, addressing GitHub issues, resolving runtime errors, or patching security vulnerabilities. Analyzes the bug context, identifies root causes, and generates precise code patches with explanations and validation steps.
87
81%
Does it follow best practices?
Impact
100%
1.33xAverage score across 3 eval scenarios
Passed
No known issues
Structured patch report format
Bug Details section
87%
100%
File and line location
62%
100%
Severity classification
0%
100%
Root cause explanation
100%
100%
Before/after code comparison
100%
100%
Fix explanation
87%
100%
Alternative approaches
80%
100%
Alternatives have pros/cons
70%
100%
Validation test code
0%
100%
Manual verification steps
12%
100%
Regression checklist
40%
100%
Related issues noted
0%
100%
Minimal changes and pitfall avoidance
Only bug-related lines changed
100%
100%
Function signatures preserved
100%
100%
Specific exception type used
100%
100%
Explanatory comment added
100%
100%
Code style matched
100%
100%
Bug location identified
100%
100%
Related issues noted separately
100%
100%
Root cause analysis and alternative approaches
Exact error identified
100%
100%
Location pinpointed
100%
100%
Preconditions / trigger described
100%
100%
Expected vs actual behavior stated
100%
100%
Multiple alternative fixes
30%
100%
Pros/cons per alternative
16%
100%
Chosen approach justified
50%
100%
Validation test code
20%
100%
Manual verification steps
75%
100%
Regression checklist
100%
100%
Related bugs noted
100%
100%
0f00a4f
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.