GitHub Copilot Instructions Builder skill for Claude and Codex
Generates a copilot-instructions.md that steers Copilot toward your stack, repo layout and standards, and away from its recurring mistakes.
Install it once and Claude or Codex runs it for you. When your request matches, your AI loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When it is used
Use when a repository owner wants a copilot-instructions.md so GitHub Copilot follows the codebase's stack, layout and conventions. Do not use for rules files for other editors or one-off task briefs. Related topics: AI, Coding, Engineering.
What it will ask you for
- Project name and purpose (free text, e.g. "Orders API for the storefront")
- Language, framework and versions (free text, e.g. "Python 3.12 with FastAPI")
- Repo layout (longer free text)
- Coding standards to enforce (longer free text)
- Habits to enforce (choose any: Prefer existing utilities over new ones, Always include types, Write tests alongside code, Keep functions small, Follow existing file structure)
- Mistakes Copilot keeps making here (longer free text)
- Areas or patterns to avoid (longer free text)
How it works
- Summarise the stack, layout and conventions using real paths and version numbers from the inputs.
- Convert each recurring Copilot mistake into a rule naming the wrong pattern and the correct replacement.
- Order the rules by cost of violation so forbidden dependencies and deprecated modules come first.
- Write all rules as short imperatives under headings and drop generic advice.
- Review the file for contradictions and confirm every path it names appears in the layout.
What you get
A commit-ready markdown file with short headed sections of one-line imperative rules, strictest constraints first.
What it watches out for
- Describing conventions in prose instead of one-line rules the model can follow.
- Naming paths that do not exist in the repo, which makes the rule ignorable.
- Skipping the recurring mistakes, which are the highest-value rules.
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.
Codex
- Download the skill .zip.
- Unzip it into ~/.agents/skills/ (or .agents/skills/ inside a project).
- Codex picks it up on its own. Type $ and the skill name to use it, or just ask for the task.
Cursor
- Download the Cursor rule (.mdc).
- Save it in .cursor/rules/ inside your project.
- Cursor's agent applies the rule when your request matches its description.
AGENTS.md (Codex, Cursor, and other coding agents)
- Copy the AGENTS.md section.
- Paste it into AGENTS.md at the root of your repository, creating the file if needed.
- Coding agents that read AGENTS.md follow it when your request fits.