Skip to content

github/awesome-copilot

Repository files navigation

πŸ€– Awesome GitHub Copilot Customizations

Enhance your GitHub Copilot experience with community-contributed instructions, prompts, and configurations. Get consistent AI assistance that follows your team's coding standards and project requirements.

🎯 GitHub Copilot Customization Features

GitHub Copilot provides three main ways to customize AI responses and tailor assistance to your specific workflows, team guidelines, and project requirements:

πŸ”§ Custom Instructions πŸ“ Reusable Prompts 🎭 Custom Chat Modes
Define common guidelines for tasks like code generation, reviews, and commit messages. Describe how tasks should be performed

Benefits:
β€’ Automatic inclusion in every chat request
β€’ Repository-wide consistency
β€’ Multiple implementation options
Create reusable, standalone prompts for specific tasks. Describe what should be done with optional task-specific guidelines

Benefits:
β€’ Eliminate repetitive prompt writing
β€’ Shareable across teams
β€’ Support for variables and dependencies
Define chat behavior, available tools, and codebase interaction patterns within specific boundaries for each request

Benefits:
β€’ Context-aware assistance
β€’ Tool configuration
β€’ Role-specific workflows

πŸ’‘ Pro Tip: Custom instructions only affect Copilot Chat (not inline code completions). You can combine all three customization types - use custom instructions for general guidelines, prompt files for specific tasks, and chat modes to control the interaction context.

πŸ“ Contributing

We welcome contributions! Please see our Contributing Guide for details on how to submit new instructions and prompts.

πŸ“‹ Custom Instructions

Team and project-specific instructions to enhance GitHub Copilot's behavior for specific technologies and coding practices:

πŸ’‘ Usage: Copy these instructions to your .github/copilot-instructions.md file or create task-specific .github/.instructions.md files in your workspace's .github/instructions folder.

🎯 Reusable Prompts

Ready-to-use prompt templates for specific development scenarios and tasks, defining prompt text with a specific mode, model, and available set of tools.

Backend Development

Testing & Quality

Documentation & Project Management

FinOps

  • Azure Cost Optimize - Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.

πŸ’‘ Usage: Use /prompt-name in VS Code chat, run Chat: Run Prompt command, or hit the run button while you have a prompt open.

🧩 Custom Chat Modes

Custom chat modes define specific behaviors and tools for GitHub Copilot Chat, enabling enhanced context-aware assistance for particular tasks or workflows.

πŸ’‘ Usage: Create new chat modes using the command Chat: Configure Chat Modes..., then switch your chat mode in the Chat input from Agent or Ask to your own mode.

πŸ“š Additional Resources

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

🀝 Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

ℒ️ Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

Community-contributed instructions, prompts, and configurations to help you make the most of GitHub Copilot.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks