Automatically repair buggy code and generate comprehensive tests for Python, Java, and C++ programs. Use when users need to fix logic errors or runtime errors in functions, modules, or repositories. Accepts specifications via natural language descriptions, existing test cases, or input/output examples. Generates corrected code, creates or updates tests to verify correctness and prevent regressions, and produces a detailed report explaining the bug, fix, and testing strategy. Triggers on requests like "fix this bug", "repair this code", "debug this function", or "this code is broken".
89
85%
Does it follow best practices?
Impact
95%
1.14xAverage score across 3 eval scenarios
Passed
No known issues
Python bug fix with pytest and bug report
Uses pytest
100%
100%
Parametrized tests
0%
100%
Normal case tests
100%
100%
Edge case tests
100%
100%
Error case tests
0%
0%
Regression case test
100%
100%
Minimal code change
100%
100%
Code style preserved
100%
100%
Type hints preserved
100%
100%
Bug fix report created
100%
100%
Report: root cause
100%
100%
Report: file paths and line numbers
42%
100%
Report: test results
62%
100%
All tests pass
100%
100%
Java bug fix with JUnit 5 and null safety
Uses JUnit 5
100%
100%
Parametrized tests
0%
0%
Null safety test
100%
100%
Null safety handled in fix
100%
100%
Normal case tests
100%
100%
Edge case tests
100%
100%
Regression case test
100%
100%
Java naming conventions
100%
100%
Minimal code change
100%
100%
Bug fix report created
100%
100%
Report: root cause
100%
100%
Report: file paths and lines
57%
100%
Report: test results
50%
100%
Report: regression safety
100%
100%
C++ bug fix with Google Test and report
Uses Google Test or Catch2
0%
100%
Normal case tests
100%
100%
Edge case tests
100%
100%
Error case tests
75%
100%
Regression case test
100%
100%
Bounds checking in fix
100%
100%
Minimal code change
100%
100%
Code style preserved
100%
100%
Bug fix report created
100%
100%
Report: root cause
100%
100%
Report: file paths and lines
100%
100%
Report: test results
57%
100%
Report: code snippets
100%
100%
Report: regression safety
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.