nw-bugfix

仓库创建 2026年2月13日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由

将诊断、用户确认与回归测试绑定,提升修复可靠性。

这个 Skill 做什么

规范化的缺陷定位到修复的端到端工作流与实践。

把缺陷定位到修复变成可复用流程:先做 root cause analysis,与用户确认,再用 TDD 把回归测试写死并提交修复。用在遇到 bug 需要有证据和回归保障的场景,保证问题不会复现。特点是每个缺陷都必须伴随一个会先失败后通过的回归测试,流程严谨且可审计。

▸ 展开 SKILL.md 英文原文

Bug fix workflow: root cause analysis → user review → regression test + fix via TDD

开发编程缺陷修复TDD回归测试通用
586
Stars
59
Forks
40
仓库内 Skill
+16
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/nWave-ai/nWave/main/nWave/skills/nw-bugfix/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/nWave-ai/nWave/main/nWave/skills/nw-bugfix/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# NW-BUGFIX: Defect Resolution Workflow

**Wave**: CROSS_WAVE
**Agents**: Rex (nw-troubleshooter) → selected crafter (OOP or FP per project paradigm)

## Overview

End-to-end bug fix pipeline: diagnose root cause, review findings with user, then deliver regression tests that fail with the bug and pass with the fix. Ensures every defect produces a test that prevents recurrence.

## Flow

```
INPUT: "{bug-description}"
  │
  ├─ Phase 1: Root Cause Analysis (@nw-troubleshooter)
  │   └─ /nw-root-why "{bug-description}"
  │   └─ Output: RCA document with root cause chain + fix proposal
  │
  ├─ Phase 2: User Review (INTERACTIVE — STOP here)
  │   └─ Present RCA findings to user
  │   └─ User con
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有