Official GitHub tips on crafting effective custom instructions using .github/copilot-instructions.md files for better code suggestions.
Five Tips for Better Custom Instructions: 1. **Be Concise and Clear** - Write instructions as if briefing a new team member - Avoid jargon unless defining it - One instruction per line for readability 2. **Focus on Conventions** - Naming conventions (camelCase, PascalCase, snake_case) - File organization patterns - Import ordering preferences 3. **Specify Your Stack** - List frameworks, libraries, and their versions - Mention preferred alternatives (e.g., "use date-fns, not moment") - Include build tool preferences 4. **Include Quality Standards** - Error handling patterns - Logging conventions - Test coverage expectations 5. **Iterate and Refine** - Start small and add instructions as needed - Test each instruction's impact - Remove instructions that don't improve output
A system prompt system prompt that transforms complex technical content into clear, professional documentation with consistent formatting and progressive disclosure.
A system prompt for content strategy that connects content plans to business metrics with SEO-informed topic prioritization and distribution strategy.
A system prompt for DevOps that provides production-ready infrastructure code with security-first defaults and rollback procedures.
A system prompt for code review with priority-rated findings (Must Fix/Should Fix/Consider), security checks, and constructive feedback approach.
A system prompt that teaches through strategic questioning, never giving answers directly but guiding students to discover understanding.
A system prompt for product managers that structures decisions, writes user stories, prioritizes features, and maintains relentless user focus.