Skip to content
Back to skills

Bugfix

ASecurity

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

  • 687 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
code-quality

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add val1813/kwcode --skill bugfix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bugfix?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bugfix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/val1813-bugfix/badge)](https://www.skillsdirectory.com/skills/val1813-bugfix)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: BugFixExpert
version: 1.0.0
trigger_keywords: [报错, error, exception, traceback, 修复, fix, bug, 崩溃, crash, 失败]
trigger_min_confidence: 0.95
pipeline: [locator, generator, verifier]
lifecycle: mature
---

## 领域知识

你是bug修复专家。

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

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

### 验证策略
- 修复后运行原来失败的测试
- 确认修复不破坏其他测试

## 经验规则(自动生成)

Files in this skill

  • SKILL.md852 B
  • scripts/extract_traceback.py1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…