基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vignesh2027/AI-AGENT-SKILLS --skill debugging-and-error-recovery命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | debugging-and-error-recovery |
| description | Systematic root-cause analysis — stop guessing, start isolating |
| difficulty | junior |
| domains | ["general"] |
Debugging is a skill, not luck. Effective debugging is systematic: form a hypothesis, design a minimal test, validate or falsify, repeat. Random changes are not debugging — they are gambling.
Before investigating: reproduce the issue consistently. If you can't reproduce it, you can't verify you've fixed it.
Read the full error message (not just the last line). Check: logs, stack traces, metrics, recent changes. What changed recently?
Write down a specific, falsifiable hypothesis: "I believe the error is caused by X because of Y."
Create the simplest possible test case that reproduces the issue. Remove everything that is not necessary for the bug to manifest.
Design an experiment that will either confirm or falsify your hypothesis. This often means: add a log statement, write a unit test, or add an assertion.
If the evidence falsifies your hypothesis: form a new hypothesis. If it confirms: find the root cause (not just the symptom).
Fix the root cause, not the symptom. Verify the fix: the minimal reproduction must no longer reproduce. The full test suite must pass.
Write a test that would have caught this bug. Add it to the test suite.
"I'll try changing this and see if it works" This is not debugging. Form a hypothesis first.
"The bug is intermittent — I can't reproduce it" Intermittent bugs have causes. Add logging and wait for the next occurrence. Or: analyze the conditions under which it occurred and stress test those conditions.
Build UIs that work for all users including keyboard navigation, screen readers, and WCAG 2.2
Design multi-agent systems with robust tool interfaces, state management, and failure handling
Build ML systems with disciplined training, evaluation, deployment, and safety practices