一键导入
systematic-debugging
Apply systematic debugging methodology: reproduction, hypothesis, experiment, root cause, fix verification
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply systematic debugging methodology: reproduction, hypothesis, experiment, root cause, fix verification
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generate system architecture diagrams as Mermaid, PlantUML, or ASCII art from a description or codebase
Convert images or video frames to ASCII art, or generate ASCII animations from descriptions
Generate concept maps, mind maps, and ER diagrams from free-form descriptions
Design, implement, and debug ETL/ELT pipelines — batch or streaming, any source/sink
Explain SQL queries, execution plans, and performance issues in plain English with rewrites
Guide incident response: triage, diagnosis, mitigation, communication, and post-mortem
基于 SOC 职业分类
| name | systematic-debugging |
| description | Apply systematic debugging methodology: reproduction, hypothesis, experiment, root cause, fix verification |
| category | software-development |
Do not guess. Form hypotheses, design experiments, eliminate candidates, converge on root cause through observation.
OBSERVE → HYPOTHESISE → EXPERIMENT → ELIMINATE → CONVERGE
Never skip to EXPERIMENT without OBSERVE. Never fix without CONVERGE.
Write every possible cause. Rank by:
Hypothesis: Redis is evicting sessions under memory pressure
Experiment: redis-cli INFO memory | grep used_memory_human; redis-cli MONITOR | grep DEL
Expected if TRUE: memory near maxmemory, DEL commands on session keys
Expected if FALSE: memory headroom, no unexpected DELs
Result: ...
Never change two things at once. One variable per experiment.
Stop when exactly one hypothesis is CONFIRMED and all others FALSIFIED.
| Situation | Tool |
|---|---|
| Slow code path | Profiler (node --prof, py-spy) |
| Memory leak | Heap snapshot (Chrome DevTools) |
| Network issue | tcpdump, curl -v |
| DB slow query | EXPLAIN ANALYZE |
| Race condition | Thread sanitiser, stress test |
| Intermittent failure | Log correlation by request ID |
git log --oneline -20 before anything else.Describe the bug (symptoms, error, stack trace, recent changes) and I will guide you through systematic diagnosis.