Open source Copilot prompt
GitHub Copilot Compact Mode
A GitHub-hosted compact prompt for Copilot Chat and workspace instructions. It keeps responses code-first, direct, and low-noise during refactoring, bug hunts, and everyday pair-programming loops.
Reduce token consumptionShorter Chat turns preserve context for the code that matters.
Reduce verbosityRemoves tutorial-style preambles and repeated explanations.
Faster iterationUseful for quick edits, reviews, and bug-fix loops.
Cleaner responsesKeeps Copilot focused on minimal working changes.
Better signal-to-noise ratioPairs well with senior-dev workflows inside VS Code.
Project Overview
The repository turns a compact Copilot behavior profile into a reusable project page and installable reference.
Use it as an opening prompt, a workspace instruction file, or team guidance for focused Copilot Chat sessions.
Installation
- Open the GitHub repository or download the ZIP.
- Copy the compact instructions from the repository documentation.
- For VS Code workspaces, add them to .github/copilot-instructions.md.
- For one-off Chat sessions, paste the compact prompt as the first message.
Usage
Use the repository documentation for the maintained version, or copy the fallback prompt below.
In VS Code, paste it into Copilot Chat before your request or store it in
.github/copilot-instructions.md so Copilot follows it across the workspace.
Prompt
## GitHub Copilot Compact Prompt Instructions for this session: - Be direct and code-first. Skip explanations unless I ask. - Suggest the simplest working solution first. - No boilerplate comments. No "Here is the code:" preambles. - If I paste code, fix or extend it — don't rewrite from scratch unless I say so. - Prefer modern syntax. Assume I know the language. - Flag potential bugs or issues in one line after the code block.
Repository Links
Repository: github.com/raushan1107/compact-mode-copilot
Download: main branch ZIP
Documentation: README and installation guide
Download: main branch ZIP
Documentation: README and installation guide