debug-analyzer

majiayu000 的头像作者 majiayu000

分析代码以查找错误、缺陷和调试机会

📖 中文导读:分析代码以查找错误、缺陷和调试机会 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: debug-analyzer description: Analyze code for bugs, errors, and debugging opportunities version: 1.0.0 keywords: - debug - bug - error - troubleshoot - fix - crash - exception

Debug Analyzer Skill

This skill helps analyze code for bugs, errors, and provides debugging guidance.

When to Use

  • When code is crashing or throwing exceptions
  • When debugging complex issues
  • When analyzing error logs
  • When troubleshooting performance problems
  • When reviewing code for potential bugs

Capabilities

  1. Error Analysis: Analyze stack traces and error messages
  2. Code Review: Review code for common bugs and issues
  3. Debugging Strategies: Suggest debugging approaches
  4. Log Analysis: Parse and interpret log files
  5. Root Cause Analysis: Help identify underlying issues

Usage Examples

Analyze an Error

I'm getting this error: TypeError: Cannot read property 'map' of undefined

Debug Performance

My application is running slowly, can you help debug the performance?

Review Code for Bugs

Can you review this code for potential bugs?
[paste code]

Best Practices

  • Provide full error messages and stack traces
  • Include relevant code context
  • Describe what you expected vs what happened
  • Share any recent changes that might be related