prove-it-bugfix
仓库创建 2026年4月15日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由
强制先写失败用例再修复,提升修复可靠性与可回归性。
这个 Skill 做什么
按复现→写失败测试→修复→验证的流程规范化修 bug。
把修 bug 的流程标准化为:先复现、写最小失败测试、修复、再验证,确保问题被证明并被覆盖。适合任何明确要修复某个 bug 的场景,尤其在团队协作和持续集成下能减少回归。核心在于先写红灯测试再改代码,保证修复可验证且不会破坏已有功能。
▸ 展开 SKILL.md 英文原文
DevSquad-style bug-fix flow — reproduce, write a failing test, fix, verify. Use this whenever the squad task is "fix bug X" or the Planner flags a step as a bug repro.
0
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Codebrew-company/CodebrewRouter/master/.claude/skills/prove-it-bugfix/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Codebrew-company/CodebrewRouter/master/.claude/skills/prove-it-bugfix/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Prove-It — bug-fix flow When the task is to fix a bug, the squad proves the bug before the fix, then proves the fix with the same test. ## Flow 1. **Reproduce.** Read the failing code path. Reconstruct the exact inputs that trigger the failure. 2. **Red.** Tester writes the smallest possible failing test that captures the bug. Test MUST fail against the pre-fix baseline. 3. **Root cause.** Coder identifies the compiler / runtime / logic reason the test fails. 4. **Green.** Coder makes the minimal change that flips the test from red to green. No scope creep. 5. **Gate.** ```powershell dotnet build --no-incremental -warnaserror dotnet test --no-build --collect:"XPlat Code Coverag
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有