bugfix-workflow

Automate bug-fix workflows from reproduction through reporting.

Updated May 15, 2026
One-click install
npx skills add https://github.com/w020316/cautious-broccoli --skill bugfix-workflow-w020316
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bugfix-workflow
Source: https://github.com/w020316/cautious-broccoli/tree/main/workflow/bugfix-workflow
Command: npx skills add https://github.com/w020316/cautious-broccoli --skill bugfix-workflow-w020316

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

本技能用于在软件开发流程中强制执行严格的BUG修复流程:从问题复现、定位根因、修复代码、编写单元测试、到验证与输出报告。最关键的硬规则是:没有复现的问题不得修改代码,信息不充分时主动追问。

Core Features & Use Cases

  • 严格的复现门槛:只有在问题可复现时才进入修复流程,防止误改。
  • 根因定位与最小化修改:定位根本原因,避免表面修补。
  • 专门单元测试覆盖:为每个BUG编写独立测试,防止同类问题再现。
  • 端到端工作流:复现 → 定位 → 修复 → 单元测试 → 验证 → 报告,确保步骤不可跳过。
  • 信息主动追问与沟通:信息不足时主动提问,减少猜测与误解。

Quick Start

请把用户报告的BUG按复现、定位、修复、单元测试、验证、输出报告的顺序处理,并在完成后生成修复报告。

Frequently Asked Questions about bugfix-workflow

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

FAQPage Schema
How do I enforce a strict bug fix workflow before modifying code?

To enforce a strict bug fix workflow, you must reproduce the issue, locate the root cause, apply minimal code repair, write unit tests, verify, and generate a report. This prevents unauthorized changes and ensures comprehensive root-cause analysis.

What is the best way to ensure a bug fix addresses the root cause?

The best way to ensure a root cause fix is by enforcing mandatory issue reproduction before any changes and focusing on root cause analysis. This approach avoids surface patches and guarantees the actual defect is resolved.

Why does my bug fix process require unit testing for every defect?

Unit testing for every bug is required to prevent similar issues from recurring. By mandating per-bug unit tests during the verification phase, the workflow ensures each fix is validated and quality assurance is maintained.

Can I fix a software bug if it cannot be consistently reproduced?

You cannot fix a software bug if it cannot be reproduced. The workflow enforces a strict reproduction threshold, blocking code modifications until the issue is successfully reproduced to prevent misdiagnosis and incorrect changes.

How do I handle incomplete information when reproducing a reported issue?

To handle incomplete information when reproducing an issue, you should actively ask questions. The workflow prompts information gathering when details are insufficient, reducing guesses and misunderstandings during root-cause analysis.