BPCQF/.github/skills/investigation-mode/SKILL.md
Use when there are 2+ consecutive failures, repeated errors, or the work feels stuck - pauses implementation, switches to root-cause investigation, gathers evidence, and resumes only after a verified plan and options
npx skillsauth add adityanshinde/bug-prediction-and-code-quality investigation-modeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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.
Declare mode switch: "🔍 INVESTIGATION MODE: Pausing to research root cause"
root-cause-tracing for systematic isolation techniques.uncertainty-verification when the fix depends on exact tool/library behavior.task-direction-approval (2–3 options + trade-offs).task-direction-approval when switching library/tool/architecture or replacing automation with manual workaround.data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
Use when providing exact commands, flags, config keys, file paths, API details, standards, or version-specific behavior - enforces verification via official docs (Context7/web fetch), explicit citations, and bans assumption-based specifics
tools
Use when considering switching libraries/tools, changing architecture, or replacing automation with manual workarounds - explains root cause, offers 2-3 options with trade-offs, and requests explicit user choice
testing
Use when errors occur deep in execution and you need to trace back to find the original trigger - systematically traces bugs backward through call stack, adding instrumentation when needed, to identify source of invalid data or incorrect behavior