Copilot Instructions File Template
This instruction file is loaded by Copilot for every suggestion in the repo. Defining conventions once here means every inline completion and chat response follows your team's standards automatically — no more repeating preferences.
# .github/copilot-instructions.md ## Project: {{projectName}} - Language: {{language}} ({{languageVersion}}) - Framework: {{framework}} ({{frameworkVersion}}) - Package manager: {{packageManager}} ## Coding Conventions - Use {{namingConvention}} for variables and functions - Prefer {{componentStyle}} components - Error handling: {{errorHandlingPattern}} - Always add return types to exported functions ## Testing - Framework: {{testFramework}} - File naming: {{testFilePattern}} - Minimum coverage expectations: {{coverageExpectations}} ## Do NOT - Use \`any\` type in TypeScript - Use default exports (prefer named exports) - Add comments that restate the code - Import from relative paths when path aliases exist
Variables to customize
Why this prompt works
This instruction file is loaded by Copilot for every suggestion in the repo. Defining conventions once here means every inline completion and chat response follows your team's standards automatically — no more repeating preferences.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
$ npm i -g @promptingbox/mcpUse Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.