This repository contains my collection of GitHub Copilot prompts, agents, and other tools designed to help enterprises maximize value from GitHub Copilot, especially in large, complex, and legacy codebases.
These resources are:
- Constantly evolving – updated based on real-world usage and feedback
- Enterprise-focused – optimized for complex organizational needs
- VS Code with GitHub Copilot enabled and access to custom prompts/agents. See official setup guide.
- Basic familiarity with using custom prompts and agents in GitHub Copilot. See official documentation.
- A codebase or project where you can test and adapt these tools.
-
Clone or download this repo, then copy any folders you want (
.github/agents,.github/prompts) into your workspace or profile locations. -
See the diagram below for an example workspace structure:
If you want to keep the agents and/or prompts locally without sharing them in your repo, store them in the current VS Code profile.
-
Enable prompt files via
setting(chat.promptFiles). -
Run the prompts with
/prompt-name(for example/why-this-way.prompt.md) in the chat window. -
More information about working with prompts is available in the official documentation.
-
Select an agent by clicking the agent picker in the chat window.
-
You can simply start chatting with the selected mode active. Even a message like
Startis enough to trigger the agents's behavior. -
More information about working with custom agents is available in the official documentation
Dead Code Detective: Systematically identifies unused code, functions, classes, and dependencies using a safety-first approach that checks for dynamic invocation, reflection, and configuration-driven usage patterns. Categorizes findings by confidence level and includes handoffs to review results, create removal plans, and execute cleanup safely.
Monolith Splitter: Analyzes monolithic codebases to suggest modularization seams, domain cuts, and incremental extraction strategies. Measures coupling metrics, identifies global state traps, and generates detailed Split Blueprints with phased rollout plans, safety nets, and rollback procedures. Supports any monolith type with handoffs for planning, execution, and iterative analysis.
Why This Way?: Investigates puzzling code by analyzing its purpose, reviewing git history, and examining architectural context. Generates a report explaining what the code does, why it exists, and whether refactoring would be beneficial.
Legacy Architecture Map: Systematically explores codebases to create or refine architecture maps, identifying entry points, modules, layers, data flow, and dependencies. Works in both initial analysis and refinement modes, producing structured documentation with Mermaid diagrams.
Dependency Chain Analyzer: Traces complete dependency chains for the active file in both directions, mapping transitive relationships multiple levels deep. Identifies circular dependencies, calculates blast radius, and supports iterative refinement of existing analyses.
AI Feature Ideation: Guides teams to elicit priorities, scan opportunity areas, and produce a sequenced AI feature roadmap (low-lift wins → bigger bets) with data needs, guardrails, and success signals tailored to the application.
AI Council: A multi-model deliberation system where Claude, GPT, and Gemini collaborate through structured debate to reach consensus on complex topics. Requires manual rotation between three prompts (/council-claude, /council-gpt, /council-gemini). See the documentation for usage instructions.
- Issues and PRs are welcome; please include context, repro steps (if applicable), and which prompt/agent you’re adjusting.
- Keep additions consistent with the existing format (frontmatter, headings, images, and concise descriptions).
- Content in this repo is provided under the terms of the accompanying
LICENSEfile.



