bug-fixing

Convert bug reports into failing tests and minimal fixes.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/christophevg/c3 --skill bug-fixing-christophevg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bug-fixing
Source: https://github.com/christophevg/c3/tree/main/skills/bug-fixing
Command: npx skills add https://github.com/christophevg/c3 --skill bug-fixing-christophevg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you systematically debug and resolve software bugs by turning reports into reproducible evidence, then applying test-driven fixes with coordinated expert review.

Core Features & Use Cases

  • Bug Intake & Context Detection: Accepts free-form descriptions, issue references, or structured bug reports and extracts project context to guide the investigation.
  • TDD-First Fix Workflow: Creates a failing test before implementing the fix, then validates by running tests and ensuring no regressions.
  • Agent Coordination & Reporting: Orchestrates a functional analyst review, conditionally routes UI/UX review, and uses a code-reviewer for quality checks, producing a bug analysis report and closure documentation.

Quick Start

Ask the AI to fix the bug described in your issue by analyzing the root cause, creating a failing test, implementing the minimal fix, and producing a CI-passing PR with a documented bug analysis report.

Frequently Asked Questions about bug-fixing

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

FAQPage Schema
How do I fix software bugs using a test-driven development workflow?

Fix bugs using TDD by first converting the bug report into a failing test that reproduces the issue, then implementing the minimal code change required to make it pass. This approach ensures the root cause is addressed and prevents future regressions.

What is the best way to perform root cause analysis before applying a code fix?

The best way to perform root cause analysis before a code fix is to conduct a structured intake of the issue, validate it with a functional analyst, and document the RCA. This ensures the underlying problem is understood before any test creation or implementation begins.

Can I use this bug fixing workflow for both frontend UI issues and backend API integration bugs?

Yes, you can use this bug fixing workflow for frontend UI issues and backend API integration bugs. It systematically applies debugging and issue triage across UI flows and integration behavior, conditionally routing UI/UX reviews alongside standard code-reviewer validation.

How do I create a failing test from a free-form bug description?

Create a failing test from a free-form bug description by extracting the project context to guide the investigation. The system accepts unstructured reports, performs agent-coordinated analysis to identify the root cause, and translates that evidence into a reproducible failing test.

Does this TDD bug fixing process automatically generate documentation for issue triage?

Yes, the TDD bug fixing process automatically generates documentation for issue triage. It orchestrates functional analyst reviews and code-reviewer checks to produce a comprehensive bug analysis report and closure documentation alongside a CI-passing pull request.