investigation-mode
10
总安装量
9
周安装量
#30353
全站排名
安装命令
npx skills add https://github.com/faulkdev/github-copilot-superpowers --skill investigation-mode
Agent 安装分布
claude-code
7
antigravity
5
opencode
5
gemini-cli
5
codex
4
Skill 文档
Investigation Mode
Overview
This skill provides a hard stop and a repeatable workflow when progress stalls or errors repeat. It prevents ârandom walkâ fixes and forces evidence-first debugging.
Use when…
- There are 2+ consecutive failures/errors in the same feature or approach
- The same error comes back after âfixesâ
- There is temptation to âjust workaroundâ or change approach silently
- The problem statement is unclear and implementation would be guesswork
Symptoms / keywords
- âstuckâ, âstill failingâ, âsame errorâ, âagainâ, âflakyâ, âintermittentâ, âcanât reproduceâ, âworks on my machineâ
- âquick workaroundâ, âletâs just do it manuallyâ, âskip validationâ, âgood enoughâ
- CI-only failures, nondeterministic tests, repeating TypeScript/build/lint errors
Rules (verbatim triggers)
Failure response rules
- 2+ consecutive failures: Switch to investigation mode
- Ask before: Using workarounds or alternatives
- Explain: Why original approach failed
- Options: Use
task-direction-approval(2â3 options + trade-offs; ask user when changing direction).
Core: Respect user’s original intent. When stuck, find proper solutions rather than taking shortcuts.
After 2 consecutive errors in same feature
- ð PAUSE – Stop implementation immediately
- ð INVESTIGATION MODE – Switch focus to root cause analysis
- ð Deep Research – Dispatch a research subagent to execute web fetch for official docs, RFCs, known issues and return a cited Context Package
- ð§ Sequential-thinking – Analyze fundamental misunderstanding
- 𧪠Test First – Write comprehensive tests before continuing
Declare mode switch: “ð INVESTIGATION MODE: Pausing to research root cause”
Workflow
- Freeze changes: stop making further edits that are not evidence-driven.
- Capture evidence: record the exact error text, stack traces, logs, and minimal repro steps.
- Constrain scope: isolate the smallest failing unit (single test, single endpoint, single build step).
- Run root cause analysis:
- REQUIRED SUB-SKILL: Use
root-cause-tracingfor systematic isolation techniques. - Use
uncertainty-verificationwhen the fix depends on exact tool/library behavior.
- REQUIRED SUB-SKILL: Use
- Propose options: Use
task-direction-approval(2â3 options + trade-offs). - Ask approval if direction changes:
- REQUIRED SUB-SKILL: Use
task-direction-approvalwhen switching library/tool/architecture or replacing automation with manual workaround.
- REQUIRED SUB-SKILL: Use
- Resume only after selecting a plan and (when applicable) verifying it with a small test.
Common mistakes
- Continuing to code while the failure mode is not understood
- Changing direction silently instead of asking for approval
- âFixingâ by adding retries/timeouts without evidence