All instructions → logo

All instructions →

Free

Coding standards and best practices for GitHub Copilot

FreeFree tier
Type
Open Source

About All instructions →

A curated collection of instruction files for GitHub Copilot that enforces coding standards, best practices, and safety guidelines across a wide range of technologies and frameworks. Each instruction defines specific rules, anti-patterns, and contextual guidance for languages like Python, TypeScript, C#, YAML, and more, enabling developers to produce consistent, high-quality code directly within their IDE. The repository covers topics from web accessibility (WCAG 2.2 AA) and AI agent safety to framework-specific patterns for ASP.NET, Azure Functions, Ansible, and Astro, with regular community updates and easy installation via VS Code or GitHub.

Key Features

Extensive collection of instruction files covering 30+ topics and frameworks
File extension filtering to apply instructions only to relevant code
Easy one-click installation for VS Code, VS Code Insiders, or GitHub
Regularly updated by the community with new instructions and improvements
Covers industry standards like WCAG 2.2 AA, Azure DevOps Pipelines, and Ansible conventions
Guidelines for AI agent safety and prompt engineering best practices

Pros & Cons

Pros
  • Free and open-source with community contributions
  • Seamlessly integrates with GitHub Copilot for real-time code suggestions
  • Covers a broad spectrum of languages and frameworks
  • Instructions are contextual and filterable by file extension
  • Regular updates keep instructions aligned with latest standards
Cons
  • Requires familiarity with GitHub Copilot's instruction system
  • May not cover every niche technology or framework
  • Quality depends on ongoing community maintenance

Best For

Enforce web accessibility standards (WCAG 2.2 AA) in frontend projectsStandardize Azure Function and Durable Function development in C# or TypeScriptApply safety and governance rules in multi-agent AI systemsMaintain consistent coding conventions for Ansible playbooks and YAML configurationsAdopt best practices for REST API design with ASP.NETGuide Astro development for content-driven websites

FAQ

How do I install an instruction for GitHub Copilot?
Each instruction listing includes 'Install' buttons for VS Code, VS Code Insiders, and GitHub. Clicking the appropriate button will apply the instruction to your Copilot environment.
What file extensions do the instructions apply to?
Each instruction specifies a set of file extensions (e.g., .py, .yaml, .ts, .cs) that determine when the instruction is active, allowing Copilot to provide contextually relevant suggestions.
Is this repository officially maintained by GitHub?
The repository is community-driven and hosted under the 'awesome-copilot' GitHub organization, not an official GitHub product.