Introducing the Ultimate "Bug-Fixer" Skill: A Code Doctor That Learns

Preface

When fixing bugs, two extremes are common: either relying solely on the model to “guess” the fix, or piling up static analysis rules that can’t keep up with business code. For recurring issues of the same type, the context must be explained from scratch every time. Below is an introduction to the community Skill on SkillHub, “A Learning Code Doctor” (coordinate @user_00c9b356/bug-fixer-ultimate). It merges three versions of the bug-fixer series, layering a Reflexion closed-loop and self-evolving memory on top of the minimalist execution approach of mini-swe-agent, and uses a four-level confidence system to distinguish between “can auto-fix” and “should only suggest”.

What Is This

One-sentence positioning: An Agent Skill for daily troubleshooting and project scanning, prioritizing the model while using rules as a fallback, with a tool surface that only relies on Bash.

  • Maintainer: Community publisher user_00c9b356, source marked as community.
  • Current version: 1.0.4 (subject to the SkillHub page).
  • Category: dev-programming.
  • Problem solved: When users say fix bug, paste error messages, or request project scanning, it executes → evaluates → reflects → improves in a unified workflow, and records historical fix patterns to identify recurring issues. It also retains deterministic rules for quick scanning (e.g., date sorting, nested lists, and other typical patterns).

Official API URL: https://api.skillhub.cn/user_00c9b356/bug-fixer-ultimate
SkillHub Display Page: https://www.skillhub.cn/skills/user_00c9b356/bug-fixer-ultimate

Merged Sources and Capability Boundaries

Starting from 2026-04-08, this Skill merges three product lines into one:

Source Focus
bug-fixer Deterministic rule quick scanning
bug-fixer-pro Self-evolving memory, P0–P3 confidence, multi-language
bug-fixer-ultimate Reflexion closed-loop, linear history

Note: The page does not separately list rule lists or built-in script paths for each language; the body text only describes capabilities declared in the official introduction, without expanding on unpublished implementation details.

Core Functions

Trigger Methods

After the Agent loads this Skill, the following expressions can be used as activation signals (excerpted from the official introduction):

  • “Fix bug”, “repair bug”, “help me check this code”
  • “There is a problem with the code”, pasting error information
  • “Scan project”, “auto-fix”

Design Philosophy

The execution principles summarized by the official are as follows:

  1. Model-first, rules as fallback: Let the model understand the context first, then use deterministic rules to catch missed cases.
  2. Minimalist tools: Do not introduce complex toolchains; actions are completed via Bash.
  3. Fully linear history: Conversations and operations unfold along a timeline, with each action independent to facilitate review.
  4. Reflexion closed-loop: Execute → Evaluate → Reflect → Improve, avoiding a “fix and forget” approach.
  5. Self-evolving memory: Records historical fix patterns to identify recurring bugs.
  6. Four-level confidence:
    - P0: Auto-fix
    - P1: Provide suggestion
    - P2: Delegate to AI for deep analysis
    - P3: Ignore
  7. Multi-language: Officially states support for Python, JavaScript, Go, Java, etc.

Dependencies and Tags

SkillHub marks requires_api_key=true. Before use, you need to configure the API Key according to the Agent you are using and the instructions inside the Skill; if the specific environment variable name is not written on the public page, refer to the SKILL.md after installation.

Installation and Activation

Installing SkillHub CLI (if not installed)

First, check if the CLI is already available:

command -v skillhub && skillhub --version

If not installed, use the official one-click script (full installation includes default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install CLI only:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

Full installation instructions: https://skillhub.cn/install/skillhub.md

Installing this Skill

When installing, you must use --dir to point to the skills directory of the current Agent; otherwise, it will default to ./skills/, which the Agent may not recognize.

skillhub install @user_00c9b356/bug-fixer-ultimate --dir <你的 skills 目录>

Common Client skills paths (excerpted from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also give the following prompt to an AI that has already integrated SkillHub, and let it complete the installation according to the installation documentation:

请根据 https://skillhub.cn/install/skillhub.md,安装 @user_00c9b356/bug-fixer-ultimate。

After installation, restart or refresh the Skill list according to the requirements of your Client. The differences between Cursor, Codex CLI, and Claude Code are mainly reflected in the location of the skills directory; the Skill itself is in the universal SKILL.md format, and its behavior is subject to the instructions within the repository.

Typical Usage

The official does not provide an independent “tutorial repository” or fixed CLI subcommands. Usage is simply: in a conversation where this Skill is enabled, use trigger phrases to initiate tasks.

Example 1: For Errors

  1. Paste the full traceback or compilation error in the conversation.
  2. State “fix bug” or “there is a problem with the code”.
  3. The Agent analyzes according to the Skill workflow; high-confidence (P0) issues may directly modify files, while low-confidence issues will fall into P1/P2 suggestions or analysis.

Example 2: Scanning Projects

  1. Open the workspace of the target repository.
  2. Send “scan project” or “auto-fix” (if you only want a report and do not want files modified, you should state “scan only, do not auto-fix” in the same sentence—since P0 corresponds to auto-fix in the Skill introduction, you need to constrain your intent yourself).
  3. Combining rule scanning and model reading, output according to P0–P3 grading.

The above steps describe trigger semantics and confidence design, and do not represent a fixed output format; the specific form of the reply depends on the model at the time and the SKILL.md instructions within the Skill.

Applicable Scenarios and Notes

More suitable for

  • Daily minor bugs and recurring pattern issues (relying on self-evolving memory and rule scanning).
  • Team personal workflows in multi-language mixed repositories that require a unified “reflect before fix” rhythm.

Things to note

  • Community source (community), upgrades and behavior changes need to be monitored via the SkillHub version (currently 1.0.4).
  • requires_api_key=true: If the Key is not configured, steps requiring external calls may not be completed.
  • P0 will automatically modify code: On production branches or critical paths, it is recommended to back up or use version control first before allowing auto-fix.
  • The public page does not promise integration with a specific fixed Linter or CI; complex architectural issues may fall into P2 analysis rather than one-click fixes.
  • SkillHub statistics (as of page display): Rating 100000, Downloads 1098, Installations 9 — only for popularity reference, does not represent the effectiveness in your environment.

Conclusion

“A Learning Code Doctor” consolidates rule scanning, reflexion closed-loops, and tiered confidence into a single Skill. It is suitable for developers who want to trigger bug fixes and project scans using natural language, while preferring to use fewer dedicated tools and rely more on Bash and linear history. Installation and coordinates are subject to SkillHub:

  • Display Page: https://www.skillhub.cn/skills/user_00c9b356/bug-fixer-ultimate
  • API: https://api.skillhub.cn/user_00c9b356/bug-fixer-ultimate
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye