返回 Skill 列表
extension
分类: 开发与工程无需 API Key

Bug Fixer General

通用调试和修复错误的技能。处理一般的逻辑错误、特定领域的错误(计时器、键盘、画布)以及崩溃调查。

person作者: jakexiaohubgithub

Bug Fixer General

🎯 Capabilities

  • General Debugging: Analyze stack traces and error messages.
  • Domain Specifics:
    • Timer: useTimer, intervals, background handling.
    • Keyboard: global event listeners, useMagicKeys.
    • Canvas: Node positioning, drag/drop logic.
  • Crash Resolution: App initialization failures, memory leaks.

🕵️ Debugging Protocol

  1. Reproduce: Can you make it fail reliably?
  2. Isolate: Narrow down to the specific component/composable.
  3. Log: Add console logs to trace data flow.
  4. Fix: Apply the minimal necessary change.
  5. Verify: Ensure the bug is gone AND no regression occurred.

⚠️ Common Pitfalls

  • Reactivity: Mutating props directly (Vue warning).
  • Lifecycle: Accessing DOM elements before mount.
  • Async: Race conditions in await.