Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fishman-free-systematic-debugging
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/systematic-debugging
What's inside
- Skill name
systematic-debugging- Description
- 遇到任何 bug、测试失败或异常行为时使用,在提出修复方案之前执行
- License
- MIT
- Instructions
- 293 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (11)
- CREATION-LOG.md
- SKILL.md
- condition-based-waiting-example.ts
- condition-based-waiting.md
- defense-in-depth.md
- find-polluter.sh
- root-cause-tracing.md
- test-academic.md
- test-pressure-1.md
- test-pressure-2.md
- test-pressure-3.md
SKILL.md (first lines)
# 系统化调试
## 概述
随意修复既浪费时间又会引入新 bug。草率的补丁只会掩盖深层问题。
**核心原则:** 在尝试修复之前,务必先找到根本原因。只修症状就是失败。
**敷衍走流程等于违背调试的精神。**
## 铁律
```
不做根因调查,不许提修复方案
```
如果你还没完成第一阶段,就不能提出修复方案。
## 何时使用
用于任何技术问题:
- 测试失败
- 生产环境 bug
- 异常行为
- 性能问题
- 构建失败
- 集成问题
**尤其在以下情况必须使用:**
- 时间紧迫(紧急情况最容易让人猜测式修复)
- 觉得"一个小修改"就能搞定
- 已经尝试了多种修复
- 上一次修复没有生效
- 你没有完全理解问题
**以下情况也不要跳过:**
- 问题看起来很简单(简单的 bug 也有根本原因)
- 你很赶时间(越急越容易返工)
- 领导要求立刻修好(系统化调试比反复尝试更快)
## 四个阶段
你必须完成每个阶段后才能进入下一个。
### 第一阶段:根因调查
**在尝试任何修复之前:**
1. **仔细阅读错误信息**
- 不要跳过错误或警告
- 它们往往直接包含解决方案
- 完整阅读堆栈跟踪
- 记下行号、文件路径、错误码
2. **稳定复现**
- 你能可靠地触发它吗?
- 具体的复现步骤是什么?
- 每次都能复现吗?
- 如果无法复现 → 收集更多数据,不要猜测
3. **检查近期变更**
- 什么变更可能导致了这个问题?
- git diff、最近的提交
- 新依赖、配置变更
- 环境差异
4. **在多组件系统中收集证据**
**当系统有多个组件时(CI → 构建 → 签名,API → 服务 → 数据库):**
**在提出修复方案之前,先添加诊断埋点:**
```
对每个组件边界:
- 记录进入组件的数据
- 记录离开组件的数据
- 验证环境/配置的传递
- 检查每一层的状态
执行一次以收集证据,确定断裂点在哪里
然后分析证据,定位故障组件
然后针对该组件深入调查
```
**示例(多层系统):**
```bash
# 第 1 层:工作流
echo "=== Secrets available in workflow: ==="
echo "IDENTITY: ${IDENTITY:+SET}${IDENTITY:-UNSET}"
# 第 2 层:构建脚本
echo "=== Env vars in build script: ==="
env | grep IDENTITY || echo "IDENTITY not in environment"
# 第 3 层:签名脚本
echo "=== Keychain state: ==="
security list-keychains
security find-identity -v
# 第 4 层:实际签名
codesign --sign "$IDENTITY" --verbose=4 "$APP"
```
**由此可以看出:** 哪一层出了问题(secrets → workflow ✓, workflow → build ✗)
5. **跟踪数据流**
**当错误发生在调用栈深处时:**
参见本目录下的 `root-cause-tracing.md`,了解完整的反向追踪技术。
**简要版本:**
- 错误值从哪里产生的?
- 谁用错误值调用了这里?
- 持续向上追踪直到找到源头
- 在源头修复,而不是在症状处修复
### 第二阶段:模式分析
**先找到模式,再修复:**From Fishman-free/DataMind, MIT.
More from Fishman-free/DataMind
- 0.526score
chinese-commit-conventions
Fishman-free
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions…
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
workflow-runner
Fishman-free
在 Claude Code / OpenClaw / Cursor 中直接运行 agency-orchestrator YAML 工作流——无需 API key,使用当前会话的 LLM 作为执行引擎。当用户提供 .yaml 工作流文件或要求多角色协作完成任务时触发。
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
brainstorming
Fishman-free
在任何创造性工作之前必须使用此技能——创建功能、构建组件、添加功能或修改行为。在实现之前先探索用户意图、需求和设计。
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
using-superpowers
Fishman-free
在开始任何对话时使用——确立如何查找和使用技能,要求在任何响应(包括澄清性问题)之前调用 Skill 工具
SkillCFreshness: C★ 5Claude Code +9 - 0.523score
gen-release-notes
Fishman-free
从 git log 自动提取 Conventional Commits,按 feat/fix/chore 分类生成中文 changelog
SkillCFreshness: C★ 5Claude Code +9 - 0.523score
chinese-documentation
Fishman-free
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。
SkillCFreshness: C★ 5Claude Code +9 - 0.523score
chinese-code-review
Fishman-free
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
SkillCFreshness: C★ 5Claude Code +9 - 0.523score
verification-before-completion
Fishman-free
在宣称工作完成、已修复或测试通过之前使用,在提交或创建 PR 之前——必须运行验证命令并确认输出后才能声称成功;始终用证据支撑断言
SkillCFreshness: C★ 5Claude Code +9 - 0.520score
dispatching-parallel-agents
Fishman-free
当面对 2 个以上可以独立进行、无共享状态或顺序依赖的任务时使用
SkillCFreshness: C★ 5Claude Code +9 - 0.520score
api-test
Fishman-free
快速验证 Flask API 端点可用性,自动检测改动影响的接口并跑测试
SkillCFreshness: C★ 5Claude Code +9 - 0.520score
finishing-a-development-branch
Fishman-free
当实现完成、所有测试通过、需要决定如何集成工作时使用——通过提供合并、PR 或清理等结构化选项来引导开发工作的收尾
SkillCFreshness: C★ 5Claude Code +9 - 0.520score
executing-plans
Fishman-free
当你有一份书面实现计划需要在单独的会话中执行,并设有审查检查点时使用
SkillCFreshness: C★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Fishman-free/DataMind
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Fishman-free
- 0.526score
chinese-commit-conventions
Fishman-free
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions…
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
workflow-runner
Fishman-free
在 Claude Code / OpenClaw / Cursor 中直接运行 agency-orchestrator YAML 工作流——无需 API key,使用当前会话的 LLM 作为执行引擎。当用户提供 .yaml 工作流文件或要求多角色协作完成任务时触发。
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
brainstorming
Fishman-free
在任何创造性工作之前必须使用此技能——创建功能、构建组件、添加功能或修改行为。在实现之前先探索用户意图、需求和设计。
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
using-superpowers
Fishman-free
在开始任何对话时使用——确立如何查找和使用技能,要求在任何响应(包括澄清性问题)之前调用 Skill 工具
SkillCFreshness: C★ 5Claude Code +9 - 0.523score
chinese-documentation
Fishman-free
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。
SkillCFreshness: C★ 5Claude Code +9 - 0.523score
gen-release-notes
Fishman-free
从 git log 自动提取 Conventional Commits,按 feat/fix/chore 分类生成中文 changelog
SkillCFreshness: C★ 5Claude Code +9
Cite this page
systematic-debugging skill. Agent Mart. https://agentmart.dev/skills/fishman-free-systematic-debugging (last updated 2026-10-24)