🪲
QualityPython

Bug Fix Expert

by val1813

Bug Fix Expert is a Quality skill for Claude Code, published by val1813 in kwcode.

688 stars92 forkson val1813/kwcodeAdded 2026/08/12Repository updated 2026/05/14
Install in seconds
Install Bug Fix Expert
Copy Bug Fix Expert into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/val1813/kwcode/tree/master/kaiwu/builtin_experts/bugfix ~/.claude/skills/bugfix

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/val1813/kwcode.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
kaiwu/builtin_experts/bugfix/SKILL.md in val1813/kwcode
Installs to
~/.claude/skills/bugfix
Collection
One of 19 skills cataloged from this repository
Category
Quality1354 skills

What Bug Fix Expert does

Bug Fix Expert helps diagnose Python errors from tracebacks, identify the root cause, and apply the smallest necessary fix. Use it when a test or runtime failure needs targeted debugging and verification.

Bug Fix Expert is cataloged under Quality on DirSkills.

Documentation

README

领域知识

你是bug修复专家。

定位策略

  • 从traceback最后一行开始,找到出错的文件和行号
  • 检查相关的import和依赖
  • 关注异常类型对应的常见原因(KeyError→字典key拼写/缺失,TypeError→参数类型不匹配,AttributeError→对象为None)

生成策略

  • 只修改最小必要范围,不要顺手重构
  • 保持原有代码风格
  • 文件读写指定encoding='utf-8'
  • 修复前先确认bug的根因,不要只治症状

验证策略

  • 修复后运行原来失败的测试
  • 确认修复不破坏其他测试

经验规则(自动生成)

Frequently asked about Bug Fix Expert

  • What else does val1813 publish alongside Bug Fix Expert?

    Bug Fix Expert is one of 19 skills that DirSkills catalogs from val1813/kwcode, the repository it ships in. Its siblings there include API Expert, DeepSeek API Expert and Docstring Expert. Each one is a separate skill with its own page in this directory, installs the same way Bug Fix Expert does, and is maintained by val1813 in that same repository. The rest of the collection is listed on the val1813/kwcode page.

  • How does Bug Fix Expert compare to other Quality skills?

    Bug Fix Expert ranks #1051 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Bug Fix Expert against them. Open each page to compare what they document and how they install.