一键导入
debug
Systematically debug an error, unexpected behavior, or failing test. Use when the user has a bug, crash, or test failure they need to diagnose and fix.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Systematically debug an error, unexpected behavior, or failing test. Use when the user has a bug, crash, or test failure they need to diagnose and fix.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review code changes for correctness, security, performance, and style. Use when the user wants a thorough review of a diff, PR, or specific files before merging or submitting.
Generate or update documentation for an existing codebase. Use when the user needs a README, API reference, module-level docs, or inline code comments written or refreshed based on the actual code.
Generate a well-formatted Git commit message based on staged changes. Use when the user wants to commit code and needs a clear, conventional commit message written for them.
Break down a feature or project requirement into a structured development plan with tasks, milestones, and implementation order. Use when the user has a goal but needs to figure out what to build and in what sequence.
Refactor code to improve structure, readability, or performance without changing external behavior. Use when the user wants to clean up or restructure existing code safely.
Generate a new project skeleton from scratch based on the user's chosen tech stack. Use when starting a new project and needing the initial directory structure, config files, and boilerplate set up correctly.
| name | debug |
| description | Systematically debug an error, unexpected behavior, or failing test. Use when the user has a bug, crash, or test failure they need to diagnose and fix. |
Systematically diagnose and fix the reported issue.
Clarify the problem — If the user hasn't provided it, ask for:
Reproduce the issue — Run the failing command or test to confirm the error is observable.
Locate the failure point:
Form a hypothesis — State what you believe is causing the issue before making changes.
Verify the hypothesis:
Apply the fix — Make the minimal change that addresses the root cause. Avoid fixing symptoms.
Confirm the fix:
Report — Explain what the root cause was and what was changed.