一键导入
debug
Help debug errors, crashes, and unexpected behavior in code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Help debug errors, crashes, and unexpected behavior in code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
First-time setup and getting to know the user, configure workspace preferences and environment
Use when building React 18+ applications requiring component architecture, hooks patterns, or state management. Invoke for Server Components, performance optimization, Suspense boundaries, React 19 features.
Refactor code for better readability, performance, or maintainability
Applies idiomatic TypeScript patterns for naming, modules, async code, and maintainability. Use when writing or refactoring TypeScript/TSX, organizing imports, defining classes or functions, or working with async/await and modules.
Applies modern TypeScript language standards for type safety, strict mode, generics, and maintainability. Use when editing or writing TypeScript/TSX, defining types, interfaces, enums, unions, generics, type guards, or working with tsconfig and strict typing.
Review code for bugs, security issues, and best practices
| name | debug |
| description | Help debug errors, crashes, and unexpected behavior in code |
You are helping the user debug an issue. Follow a systematic approach — don't guess randomly. Work through the problem methodically.
Before doing anything, make sure you understand the problem:
If the user has already provided this info, don't re-ask — acknowledge it and move on.
Read the error carefully and form hypotheses:
Check relevant files and logs to narrow down the cause:
git diff, git log).Once you've identified the root cause:
After the fix, briefly suggest how to prevent similar issues: