fix

Trace root causes, implement fixes, and validate with regression tests.

Updated Jul 5, 2025
One-click install
npx skills add https://github.com/sqfzy/my_configs --skill fix-sqfzy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix
Source: https://github.com/sqfzy/my_configs/tree/main/claude/skills/fix
Command: npx skills add https://github.com/sqfzy/my_configs --skill fix-sqfzy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end bug fix workflow that traces root cause, implements fixes, adds regression tests, and commits with a proper message. It orchestrates a disciplined pipeline from debugging to testing to git operations, with an auto-saved fix report to artifacts when a user reports a bug, error, crash, panic, test failure, or unexpected behavior and wants it fixed; do not trigger when user only asks what caused an error without wanting a fix, or is building new functionality (use /design).

Core Features & Use Cases

  • 定位根因与修复、添加回归测试,确保修复的生效性。
  • 自动化工作流阶段:管理 /debug → /test → /git 的全流程阶段,确保每步都执行完成以保证质量。
  • 可追溯性与可重复性:提交信息、变更日志更新,并生成产物用于审计和复现。

Quick Start

将错误输出/日志粘贴到 /fix 以触发端到端的修复工作流。

Frequently Asked Questions about fix

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

FAQPage Schema
How do I automate an end-to-end bug fix workflow with regression tests?

Automating an end-to-end bug fix workflow involves tracing root causes, implementing fixes, adding regression tests, and generating conventional commit messages. This ensures fixes are validated and traceable across the entire debugging pipeline.

What is the best way to trace root causes from crash logs and error outputs?

Tracing root causes from crash logs requires parsing error outputs to identify failure origins, then applying deterministic tests to validate the fix. This approach guarantees the root cause is addressed and prevents regressions.

Can I use automated regression testing to validate software bug fixes?

Automated regression testing validates software bug fixes by adding test cases that specifically target the identified root cause. This ensures the fix is effective and prevents the same issue from recurring in future builds.

Does the end-to-end bug fix workflow generate conventional commit messages automatically?

The end-to-end bug fix workflow generates conventional commit messages automatically upon completing the fix and regression test stages. This provides traceability and updates the changelog without manual formatting.

When should I avoid using an automated root-cause analysis and bug fix pipeline?

Avoid using an automated root-cause analysis and bug fix pipeline when you only need to understand what caused an error without implementing a fix, or when you are building entirely new functionality rather than resolving existing failures.

Do I need to provide specific log files to trigger an automated software bug fix?

You can trigger an automated software bug fix by pasting error outputs, logs, or failing test reports directly into the workflow. The pipeline accepts file inputs and automatic detection to initiate the debugging process.