debugging
调试指南和最佳实践
📖 中文导读:调试指南和最佳实践 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: debugging description: Debugging guidelines and best practices
Debugging Guidelines
When debugging issues in this codebase:
- Check logs first - Review application logs for error messages and stack traces
- Reproduce consistently - Ensure you can reliably reproduce the issue before attempting fixes
- Isolate the problem - Use binary search or divide-and-conquer to narrow down the root cause
- Add logging - Insert temporary debug statements to trace execution flow
- Check recent changes - Review recent commits that might have introduced the issue