Copilot Instructions File Template

Developer Toolscopilot-promptsprojectNamelanguagelanguageVersion

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.

Prompt
# .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

{{projectName}}{{language}}{{languageVersion}}{{framework}}{{frameworkVersion}}{{packageManager}}{{namingConvention}}{{componentStyle}}{{errorHandlingPattern}}{{testFramework}}{{testFilePattern}}{{coverageExpectations}}

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 OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use 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.