GitHub Copilot Instructions Builder
By Ollie · Published · Updated
Generate a copilot-instructions.md so Copilot's suggestions follow your project's stack and conventions.
Tags: AI, Coding, Engineering
Prompt template
## Copilot Instructions File Write a copilot-instructions.md that keeps GitHub Copilot's suggestions consistent with this repository. ## Project - [text: Project name and what it does] - [text: Language / framework and versions] - [textarea: Repo layout] — key folders and what belongs where ## Conventions - [textarea: Coding standards to enforce] — naming, error handling, testing patterns - [multi: Prefer existing utilities over new ones, Always include types, Write tests alongside code, Keep functions small, Follow existing file structure] - [textarea: Common mistakes Copilot keeps making in this repo] (optional) ## Boundaries - [textarea: Areas or patterns to avoid] — deprecated modules, forbidden dependencies Output a ready-to-commit copilot-instructions.md: concise imperative rules grouped under short headings, most important constraints first, no filler.