investigation-mode
🎯Skillfrom faulkdev/github-copilot-superpowers
Systematically explores and diagnoses complex code issues by breaking down problems, tracing potential root causes, and methodically investigating technical challenges with structured analytical re...
Installation
npx skills add https://github.com/faulkdev/github-copilot-superpowers --skill investigation-modeSkill Details
Overview
# GitHub Copilot SuperPowers
Opinionated, repo-local configuration for GitHub Copilot (Chat + Agent mode): instruction hierarchy, reusable prompt files, custom agent profiles, and MCP server config.
[Quickstart](#quickstart) • [What’s inside](#whats-inside) • [MCP servers](#mcp-servers) • [Repo layout](#repo-layout)
> [!NOTE]
> This repository is intentionally small and highly opinionated. It’s designed to be copied into other repos and adapted.
Why this exists
GitHub Copilot gets significantly more useful when you make its “defaults” explicit: what quality bars to follow, when to stop and investigate, and how to keep edits scoped.
This repo packages those defaults in a form that’s easy to version, review, and reuse.
What’s inside
- Instruction system under
.github/instructions/(rules, workflow, quality gates, execution protocol) - Reusable prompts under
.github/prompts/(ex: generate a README, generateAGENTS.md, repo story time, create release notes) - Custom agents under
.github/agents/(ex: Critical Thinking, Mentor, Janitor) - Agent "skills" playbooks under
.github/skills/(investigation mode, root-cause tracing, verification gates, uncertainty verification, minimalist development, task direction approval) - VS Code workspace settings under
.vscode/settings.json(enables Copilot agent features, advanced reasoning, MCP integration) - MCP configuration under
.vscode/mcp.json(Sequential Thinking, Context7, Memory, Serena)
Quickstart
For a fast setup walkthrough, see QuickStart.md.
Use this repo as a template
- Copy these folders into your target repository:
- .github/
- .vscode/
- Review and tailor the instruction files:
- Start with .github/copilot-instructions.md
- Then adjust rules in .github/instructions/ to match your team’s tolerance for “guard rails”.
> [!IMPORTANT]
> The instruction set in .github/instructions/ is designed to reduce flakiness and “agent drift”, but it can also feel strict.
> If you don’t want delegation-heavy workflows or you’re not using subagents, loosen or remove those constraints.
Use it in VS Code
- Open the repository (or your repo that copied these files) in VS Code.
- Ensure GitHub Copilot is enabled.
- Keep
.vscode/settings.jsonchecked in so the workspace defaults travel with the repo.
Agent Skills
Agent skills are optional playbooks that can be loaded on-demand to handle specific scenarios. Load a skill when you need specialized handling for complex tasks.
Located in .github/skills/, this repo includes 6 ready-to-use skills:
| Skill | Purpose | When to use |
|-------|---------|------------|
| investigation-mode | Pause implementation after 2+ consecutive failures and switch to root-cause analysis before resuming | Repeated test failures or validation errors |
| root-cause-tracing | Trace bugs backward through call stacks to find the original trigger, not just the symptom | Deep debugging of complex issues |
| task-direction-approval | Explain failure root cause, present 2-3 solution options with trade-offs, and wait for explicit user choice | Before switching tech stacks or architectures |
| uncertainty-verification | Verify exact commands, configuration keys, API details, and version-specific behavior via official docs—no assumptions | When providing version-dependent or time-sensitive guidance |
| verification-before-completion | Run verification commands and confirm output before making any completion claims | Before marking tasks as complete or fixed |
| minimalist-surgical-development | Prioritize the smallest diff first, prefer standard libraries, avoid unsolicited refactoring | Code changes and refactoring work |
Vendored obra skills
The full obra/superpowers skill library is vendo
More from this repository3
Validates and approves proposed task directions or implementation strategies by assessing their alignment with project goals, technical feasibility, and potential risks before proceeding with devel...
Guides GitHub Copilot to perform minimal, precise code modifications with surgical accuracy, focusing on targeted changes that address specific requirements without unnecessary elaboration.
Verifies and flags potential uncertainties or ambiguities in code generation, helping developers identify and resolve potential risks or unclear implementation details during AI-assisted development.