fix-bugs

Reproduce QA-reported failures with failing tests and apply minimal code fixes.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/jaisonerick/spec-plugin --skill fix-bugs-jaisonerick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-bugs
Source: https://github.com/jaisonerick/spec-plugin/tree/main/plugins/spec-plugin/skills/fix-bugs
Command: npx skills add https://github.com/jaisonerick/spec-plugin --skill fix-bugs-jaisonerick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines resolving QA-reported failures by guiding an engineer to reproduce issues, write failing tests first, apply minimal code fixes, and verify regressions are prevented.

Core Features & Use Cases

  • Test-first bug resolution: Create failing unit or integration tests that reproduce CRITICAL and MAJOR QA failures before changing application code.
  • Context-aware investigation: Parse QA spec files, locate Run Results, read relevant source files, and consult the plan architecture to inform fixes.
  • Verification and reporting: Run the full test suite, re-run original QA checks when possible, append a Fix Log to the QA spec, and commit changes with a standardized message.
  • Use Case: When a QA spec reports a service health regression, reproduce the failing API call with a test, patch the implementation, confirm the suite passes, and document the fix in the spec.

Quick Start

Read the QA spec path, identify CRITICAL failures, write a failing test for the highest-severity issue, fix the code, run the tests, and append a Fix Log to the spec file.

Frequently Asked Questions about fix-bugs

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

FAQPage Schema
How do I fix QA-reported failures using a test-first approach?

To fix QA failures test-first, you reproduce the reported issue by writing a failing unit or integration test, apply minimal code changes to patch the defect, and run the full test suite to verify the fix prevents regressions.

What is spec-driven bug resolution and how does it work?

Spec-driven bug resolution involves parsing QA spec files to identify CRITICAL and MAJOR failures, reading relevant source code and architecture documents, writing failing tests to reproduce the defects, patching the code, and appending a standardized Fix Log to the spec.

How do I reproduce a QA failure before changing application code?

You reproduce a QA failure by creating a failing unit or integration test that captures the exact defect reported in the QA spec, running it against the current source code to confirm it fails, and then applying minimal code changes to make it pass.

Do I need a test runner and commit permissions to resolve QA failures this way?

Yes, you need a test runner to execute and verify tests, access to project source code and QA spec files under the specs directory, and commit permissions to record fixes and append standardized Fix Log entries to the specs.

What's the best way to document bug fixes in a QA spec file?

The best way to document fixes in a QA spec file is to append a standardized Fix Log entry after patching the code and verifying the full test suite passes, then commit the changes with a standardized message recording the resolution.

How do I prevent regression issues when patching code for QA defects?

You prevent regressions by writing failing tests that reproduce the original defect, applying minimal code changes to fix the issue, and running the full test suite to verify all tests pass, including re-running original QA checks when possible.