mxyhi/ok-skills✦ 精选0°

systematic-debugging

仓库创建 2026年2月2日最近提交 3 天前SkillHot 收录 20 天前
▸ 精选理由

强调先找根因再修复,能显著减少返工与新缺陷。

这个 Skill 做什么

遇到 bug 或异常时按流程定位根因并避免随机修补的系统化调试指南。

遇到 bug、测试失败或异常时按步骤找根因,而不是随手打补丁,先定位、复现、分析根因再设计修复。适合任何想把问题彻底解决、避免未来复发的场景。核心原则是‘没有根因调查就不要修复’,能避免短期修补带来更多隐患和隐藏错误。

▸ 展开 SKILL.md 英文原文

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

开发编程系统化调试根因分析排错流程通用
456
Stars
41
Forks
34
仓库内 Skill
+8
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/mxyhi/ok-skills/main/systematic-debugging/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/mxyhi/ok-skills/main/systematic-debugging/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Systematic Debugging

## Overview

Random fixes waste time and create new bugs. Quick patches mask underlying issues.

**Core principle:** ALWAYS find root cause before attempting fixes. Symptom fixes are failure.

**Violating the letter of this process is violating the spirit of debugging.**

## The Iron Law

```
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
```

If you haven't completed Phase 1, you cannot propose fixes.

## When to Use

Use for ANY technical issue:
- Test failures
- Bugs in production
- Unexpected behavior
- Performance problems
- Build failures
- Integration issues

**Use this ESPECIALLY when:**
- Under time pressure (emergencies make guessing tempting)
- "Just one q
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有