Skip to content
Back to skills

Bugfix Triage

ASecurity

修 bug 前的定位方法论 —— 最小复现、二分缩圈、区分"测试错了"与"实现错了"

  • 44 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 3, 2026
ai-agents

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add AbyssCN/oh-my-dag --skill bugfix-triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bugfix Triage?

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

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

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: bugfix-triage
description: 修 bug 前的定位方法论 —— 最小复现、二分缩圈、区分"测试错了"与"实现错了"
---

# bugfix-triage —— 定位方法论

按需取用(leaf 经 read_skill),不进任何 prompt 前缀。

## 缩圈顺序

1. **先最小复现,再看代码。** 没有失败的最小输入之前,读实现是在猜。
2. **二分**:输入二分(哪个最小输入触发)→ 路径二分(哪层函数开始值不对)。
   每一步用打印/断言钉住"到这里还是对的"。
3. **区分三种世界**:实现错(修实现)/ 测试错(测试断言了错误的期望 —— 报给 owner,
   不许自作主张改测试)/ 规格空白(两边都对不上 —— 升级问,不猜)。

## 红线

- 复现不出来就说复现不出来 + 试过的输入清单;不许"应该是 X 导致的"式交付。
- 修复后全量回归是义务不是可选;新红即回滚重来。

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.