code-repair-generation-combo

Repair buggy Python, Java, and C++ code and generate tests.

142|14|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill code-repair-generation-combo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-repair-generation-combo
Source: https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-repair-generation-combo
Command: npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill code-repair-generation-combo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automatically diagnoses and repairs buggy code, while simultaneously generating comprehensive tests to ensure correctness and prevent future regressions.

Core Features & Use Cases

  • Automated Bug Fixing: Identifies and corrects logic or runtime errors in Python, Java, and C++ code.
  • Comprehensive Test Generation: Creates or updates unit tests to cover normal, edge, and regression cases.
  • Detailed Reporting: Produces a report explaining the bug, the fix, and the testing strategy.
  • Use Case: When a user reports a function that produces incorrect output for specific inputs, this Skill can fix the function and add tests to ensure it never breaks again.

Quick Start

Use the code-repair-generation-combo skill to fix the bug in the provided Python code and generate tests for it.

Frequently Asked Questions about code-repair-generation-combo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix Python bugs and generate tests for the corrected code?

To fix bugs and generate tests automatically, provide buggy Python, Java, or C++ code alongside natural language descriptions, existing test cases, or input/output examples to receive corrected code and updated unit tests.

Can I repair Java and C++ runtime errors using natural language descriptions?

Yes, Java and C++ runtime errors can be repaired by accepting natural language descriptions, existing test cases, or input/output examples to diagnose and correct logic errors across functions, modules, or repositories.

What is the best way to prevent code regressions when fixing buggy functions?

The best way to prevent code regressions is to generate comprehensive unit tests covering normal, edge, and regression cases immediately after repairing the buggy function, ensuring correctness is verified and maintained.

Does automated code repair work for entire repositories or just individual modules?

Automated code repair addresses logic and runtime errors in individual functions, specific modules, and entire repositories, diagnosing issues based on provided input/output examples or natural language descriptions.

How do I get a detailed report explaining a bug fix and testing strategy?

A detailed report explaining the bug, the applied fix, and the testing strategy is produced automatically after the code is repaired and tests are generated, documenting the entire diagnostic and correction process.