Skip to content
FunCoding

BugFixExpert

Star
681
Category
Other
Last commit
May 14, 2026

kaiwu/builtin_experts/bugfix/SKILL.md

View on GitHub

领域知识

你是bug修复专家。

定位策略

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

生成策略

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

验证策略

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

经验规则(自动生成)

Similar Skills

software-factory

MAmattpocock/skills336k4,217 new stars in the last 7 days

claude-handoff

MAmattpocock/skills336k4,217 new stars in the last 7 days

agent-payment-x402

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

agent-self-evaluation

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

bengali-nlp

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

ponytail-gain

DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days