copilot-instructions
A comprehensive codebase of best practices, coding rules, and workflow automation for AI-assisted development with GitHub Copilot. Includes DDD, Clean Architect
What is copilot-instructions?
A comprehensive codebase of best practices, coding rules, and workflow automation for AI-assisted development with GitHub Copilot. Includes DDD, Clean Architecture, testing, commit conventions, and more. Reference implementation for modern .NET backend projects.
Overview of copilot-instructions
What it is
Copilot Instructions is a codebase that provides best practices, coding rules, and workflow automation for AI-assisted development with GitHub Copilot. It includes guidelines for Domain-Driven Design (DDD), Clean Architecture, testing, commit conventions, and more. The repository serves as a reference implementation for modern .NET backend projects.
Key features
- Domain-Driven Design (DDD) guidelines
- Specification pattern for business rules
- Unit and integration testing best practices
- Command/Query (CQRS) best practices
- English-only documentation policy
- Copilot and AI prompt instructions
- TDD-first workflow for C#
- Follow-up Question Enforcement (AI must ask clarifying questions before code generation)
- Microsoft MCP server integration for real-time Microsoft documentation access
- Husky setup prompts for .NET projects
- Microcks metadata instructions for API mock and contract testing
- SKRAFT plugin: deterministic agentic SDLC pipeline (DISCOVER → DISCUSS → DESIGN → DISTILL → DELIVER) with specialized agents, adversarial reviewers, discipline skills, and mechanical guardrails
Use cases
- Enforcing coding standards and architectural rules in AI-assisted development
- Guiding GitHub Copilot and similar tools for consistent, high-quality code generation
- Implementing DDD, Clean Architecture, CQRS, and testing best practices in .NET projects
- Setting up custom AI personas (agents) for specialized workflows
- Installing reusable plugins (e.g., C# Clean Architecture Development, LSP plugins for multiple languages)
- Using collections with APM (Agent Package Manager) to group related instructions and prompts
Getting started
Clone the repository:
git clone https://github.com/SebastienDegodez/copilot-instructions.git
Explore the repository structure: instructions/, skills/, agents/, plugins/, website/, docs/, .claude-plugin/, .github/. For detailed usage, see the repository README.
License and pricing
License: Apache-2.0. Pricing: open source.
Based on the project's public README and repository metadata.