AgentSkillsCN

debugging-strategies

精通系统化调试技巧、性能剖析工具与根因分析方法,高效追踪任意代码库或技术栈中的 Bug。无论是排查 Bug、定位性能问题,还是探究异常行为,这一技能都能助你快速锁定症结,精准修复。

SKILL.md
--- frontmatter
version: 4.1.0-fractal
name: debugging-strategies
description: Master systematic debugging techniques, profiling tools, and root cause analysis to efficiently track down bugs across any codebase or technology stack. Use when investigating bugs, performance issues, or unexpected behavior.

Debugging Strategies

Transform debugging from frustrating guesswork into systematic problem-solving with proven strategies, powerful tools, and methodical approaches.

Use this skill when

  • Tracking down elusive bugs
  • Investigating performance issues
  • Debugging production incidents
  • Analyzing crash dumps or stack traces
  • Debugging distributed systems

Do not use this skill when

  • There is no reproducible issue or observable symptom
  • The task is purely feature development
  • You cannot access logs, traces, or runtime signals

Instructions

  • Reproduce the issue and capture logs, traces, and environment details.
  • Form hypotheses and design controlled experiments.
  • Narrow scope with binary search and targeted instrumentation.
  • Document findings and verify the fix.
  • If detailed playbooks are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed debugging patterns and checklists.

🧠 Knowledge Modules (Fractal Skills)

1. implementation-playbook