一个包含最佳实践、编码规则和工作流程自动化的全面代码库,用于使用 GitHub Copilot 进行人工智能辅助开发。包括 DDD、Clean Architect
一个包含最佳实践、编码规则和工作流程自动化的全面代码库,用于使用 GitHub Copilot 进行人工智能辅助开发。包括 DDD、Clean Architect
Welcome to the Copilot Instructions repository!
This project provides a set of best practices, coding rules, and prompt instructions to guide AI-assisted development, especially with GitHub Copilot and similar tools.
git clone https://github.com/your-username/copilot-instructions.gitinstructions/ for coding rules and best practicesskills/ for specialized capabilities and bundled resourcesagents/ for custom AI personasplugins/ for curated collectionswebsite/ for interactive documentationcopilot-instructions.md)prompts/huskydotnet.prompt.md)This repository follows the awesome-copilot structure and conventions for organizing instructions, skills, agents, and plugins to enhance GitHub Copilot capabilities.
├── instructions/ # Coding standards and best practices (.instructions.md)
├── agents/ # Custom AI agents (.agent.md)
├── skills/ # Self-contained capabilities with bundled resources
├── plugins/ # Installable packages bundling related agents and skills
│ └── csharp-clean-architecture-development/
├── website/ # Astro static documentation site
├── docs/ # Documentation and implementation plans
├── .github/
│ └── workflows/ # GitHub Actions for deployment and automation
└── README.mdComprehensive plugin for C# developers with DDD, Clean Architecture, CQRS, and testing best practices.
plugins/csharp-clean-architecture-development/See plugins/ for more available plugins.
Deterministic agentic SDLC pipeline that turns a coding assistant into a disciplined software production line. Orchestrates 5 lifecycle phases (DISCOVER → DISCUSS → DESIGN → DISTILL → DELIVER), each driven by a specialized agent and an adversarial reviewer, locked by mechanical guardrails (G1–G8).
skraft-orchestratorbacklog-discoverer, backlog-planner, solution-architect, acceptance-designer, software-engineer — each with a dedicated adversarial reviewerInstallation (Claude Code):
/plugin marketplace add SebastienDegodez/skraft-plugin
/plugin install skraftQuick start:
/skraftA collection is a YAML file (in collections/) that groups related instructions, prompts, and chatmodes into a reusable package. Collections are designed to be consumed by APM (Agent Package Manager) to provide "primitives" for AI agents.
APM allows you to easily install and manage these collections in your projects. Instead of manually copying instruction files, you can use APM to:
A chatmode is a configuration file (in chatmodes/) that defines how Copilot or another AI assistant should behave in a specific context or workflow. For example, the architect chatmode makes the AI act as an experienced architect and technical lead, focusing on planning, documentation, and Markdown-only outputs. Chatmodes can set the tone, priorities, and constraints for the AI during a session or project.
A meta-chatmode is a special chatmode file (e.g., meta-chatmode.instructions.md) that defines how to write, structure, and validate other chatmode files. Meta-chatmodes ensure that all chatmodes follow a consistent format and best practices across the repository. They specify the required file structure, naming conventions, expected behavior, and validation checklist for chatmode files.
An instruction is a Markdown file (in instructions/) that defines coding rules, architectural standards, and best practices for the project. Instructions are always active and must be followed for all code and documentation generated in the repository. They ensure consistency, maintainability, and alignment with the project's technical vision (e.g., DDD, specification pattern, testing, commit conventions).
A meta-instruction is a special instruction file (e.g., meta-instructions.instructions.md) that defines how to write, structure, and validate other instruction files. Meta-instructions ensure that all instructions follow a consistent format and best practices across the repository.
A prompt is a template or guidance file (in prompts/) used to help Copilot or another AI tool generate code or documentation in a specific style or for a particular use case. Prompts are reusable and can steer the AI in a particular direction for a given task, such as enforcing TDD, writing API documentation, or generating test cases.
A skill is a modular, self-contained package (in skills/) that extends GitHub Copilot's capabilities with specialized knowledge, workflows, and tools. Skills act as "onboarding guides" for specific domains or tasks, transforming Copilot into a specialized agent.
Contributions are welcome!
Feel free to open issues or submit pull requests to improve the rules, add new practices, or update documentation.
⚡ Coming soon:
- Rules and best practices for API endpoints, feature slicing, and observability.
- The microcks-aspire-dotnet-demo repository is the official demo and testbed for these rules and practices.
Happy coding! ✨
If you have any questions, don’t hesitate to open an issue or reach out.
暂无开放 Issues,或尚未同步最近议题。