Bug Diagnosis and Fix

Diagnose and fix software bugs using a Reproduce-Localize-Root-cause-Fix-Verify workflow.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/StrategicMilk/Vetinari-Orchestrastor --skill bug-diagnosis-and-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Bug Diagnosis and Fix
Source: https://github.com/StrategicMilk/Vetinari-Orchestrastor/tree/main/vetinari/skills/catalog/worker/bug-diagnosis-and-fix
Command: npx skills add https://github.com/StrategicMilk/Vetinari-Orchestrastor --skill bug-diagnosis-and-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Software developers often waste time figuring out the root cause of bugs and may introduce fixes without proper regression testing, leading to regressions.

Core Features & Use Cases

  • Systematic workflow: Guides the user through symptom cataloging, reproduction, regression test creation, localization, root‑cause analysis, fix implementation, verification, and documentation.
  • Standardized output: Generates a detailed JSON report summarizing diagnosis, files changed, tests added, and regression test metadata.
  • Quality compliance: Enforces internal standards such as type‑annotated code, TDD, and no placeholder code.

Quick Start

Ask the worker agent to diagnose and fix the reported bug by providing the bug description and any relevant logs.

Frequently Asked Questions about Bug Diagnosis and Fix

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

FAQPage Schema
How do I diagnose software bugs using a structured debugging workflow?

Diagnosing software bugs systematically involves a structured workflow that guides you through symptom cataloging, reproduction, regression test creation, localization, root-cause analysis, fix implementation, and verification to eliminate regressions.

What is regression-first bug diagnosis and when should I use it?

Regression-first bug diagnosis requires writing regression tests before applying code fixes to prevent software maintenance regressions. Use this methodology when you need to fix reported defects, test failures, or unexpected behavior in codebases where tests can be written beforehand.

Can I fix code defects if I only have an error message and no specific file list?

Yes, you can fix code defects with just a bug description and error messages. Providing an optional file list helps with localization, but the structured workflow can analyze the provided inputs and generate a JSON fix report detailing the diagnosis without mandatory file dependencies.

What's the best way to document software bug fixes and code changes?

The best way to document software bug fixes is by generating a standardized JSON report. This output summarizes the root-cause diagnosis, files changed, tests added, and regression test metadata to ensure complete traceability and quality assurance compliance.

Does this bug diagnosis workflow enforce type-annotated code and TDD standards?

Yes, the bug diagnosis workflow enforces internal quality compliance standards including type-annotated code, Test-Driven Development (TDD) practices, and prohibits placeholder code to ensure software maintenance integrity during the fix verification process.

Why should I write a regression test before fixing a code bug?

Writing a regression test before fixing a code bug confirms the defect exists and prevents future software maintenance regressions. It validates that your root-cause analysis and code fix resolve the exact issue without introducing unexpected behavior.