跳到正文
FunCoding

investigate

Investigate a bug or broken behavior through hypothesis-driven root cause analysis and report what is wrong without jumping straight to a fix. Use when something is failing or behaving unexpectedly.

Star
705
最近提交
2026年12月2日

main/src/services/paneChatBundle/skills/investigate/SKILL.md

在 GitHub 上查看

Investigate

Find the root cause before proposing a fix.

Rules:

  • Do not make code changes unless the user explicitly approves diagnostic logging.
  • Do not guess. Support every conclusion with evidence from code, logs, or commands.

Workflow:

  1. Clarify expected behavior, observed behavior, and reproduction steps if missing.
  2. Classify the bug type early: compile, logic, race, state, integration, environment, or UI.
  3. Write 3-5 ranked hypotheses before reading deeply.
  4. Test those hypotheses by tracing the relevant code and recent history.
  5. Compare broken and working paths when possible.
  6. If the cause is still unclear, propose targeted logging and explain exactly why.
  7. Report the root cause, confidence level, affected files, likely introduction point, and what needs to change.

Red flags:

  • proposing a fix before confirming the cause
  • pursuing the same failed theory repeatedly
  • analyzing code unrelated to the symptoms

相似的 Skill

rea-tool-design

MOmorluto/rea486k近 7 天新增 7,690 个 star

research

MAmattpocock/skills337k近 7 天新增 4,217 个 star

benchmark-methodology

AFaffaan-m/ECC315k近 7 天新增 3,503 个 star

brand

NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 2,623 个 star

banner-design

NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 2,623 个 star

mode-creator

THthedotmack/claude-mem121k近 7 天新增 1,354 个 star