com um clique
systematic-debugging
系统性调试。使用4阶段根因分析流程:收集证据、形成假设、验证假设、修复验证。用于排查 bug 或异常行为时。
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
系统性调试。使用4阶段根因分析流程:收集证据、形成假设、验证假设、修复验证。用于排查 bug 或异常行为时。
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Brainstorm before writing code. Refine rough ideas through questions, explore alternatives, present design in sections for validation. Use when starting a new feature or project.
Code review skill. Check code for correctness, edge cases, code style, and performance issues. Use when reviewing PRs or checking code quality.
Systematic debugging. Use a 4-phase root cause analysis process - collect evidence, form hypotheses, verify hypotheses, fix and verify. Use when troubleshooting bugs or abnormal behavior.
Test-driven development. Follow the RED-GREEN-REFACTOR cycle - write failing tests first, then write minimal code to pass, then refactor. Use when writing new features or fixing bugs.
Introduction to the Superpowers skills system. Learn how to use this set of development workflow skills. Use when first encountering superpowers or needing to understand the overall process.
Verification before completion. Ensure the problem is truly fixed, not just superficially passing. Use before declaring a task complete.
| name | systematic-debugging |
| description | 系统性调试。使用4阶段根因分析流程:收集证据、形成假设、验证假设、修复验证。用于排查 bug 或异常行为时。 |
遵循结构化的调试流程,避免盲目猜测。
输出清单:
基于证据提出可能的原因:
假设模板:
假设: [原因描述]
证据: [支持这个假设的证据]
验证方法: [如何证实或排除]
从最可能的假设开始:
logger.debug(f"Function called with: {args}")
logger.debug(f"State before: {state}")
# ... 代码 ...
logger.debug(f"State after: {state}")