Back to skills
github-copilot-rules
by NikiforovAll
Copilot—Not yet rated
Your rating
Brief
A collection of GitHub Copilot AI customizations and Best Practices
Description
# 🤖 GitHub Copilot Handbook
[](https://opensource.org/licenses/MIT)
[](https://github.com/nikiforovall/github-copilot-rules/stargazers)
[](https://nikiforovall.github.io/github-copilot-rules/)
[](https://nikiforovall.github.io/github-copilot-rules/)
A curated collection of [GitHub Copilot customizations](https://code.visualstudio.com/docs/copilot/copilot-customization) — instructions, prompts, agents, and skills — ready to drop into your project.
📖 **Full documentation**: [nikiforovall.github.io/github-copilot-rules](https://nikiforovall.github.io/github-copilot-rules/)
## Structure
```
.github/
├── instructions/ # Path-specific coding rules (applyTo patterns)
├── prompts/ # Reusable prompt templates
├── agents/ # Custom agent modes
└── skills/ # Auto-loaded agent capabilities
AGENTS.md # Workspace-wide agent instructions
```
## What's Included
### Instructions
| File | Purpose |
|------|---------|
| [coding-guidelines](.github/instructions/coding-guidelines.instructions.md) | Code generation rules |
| [coding-style](.github/instructions/coding-style.instructions.md) | Style & formatting conventions |
| [testing-xunit](.github/instructions/testing-xunit.instructions.md) | Test generation rules |
| [git-message](.github/instructions/git-message.instructions.md) | Conventional commit format |
### Agents
| Agent | Purpose |
|-------|---------|
| [code-review](.github/agents/code-review.agent.md) | Structured code review with prioritized feedback |
| [debug](.github/agents/debug.agent.md) | Systematic bug investigation & resolution |
| [differ](.github/agents/differ.agent.md) | Branch diff analysis & change summaries |
| [research](.github/agents/research.agent.md) | In-depth research with source synthesis |
| [spec](.github/agents/spec.agent.md) | Interview-driven spec creation |
### Prompts
| Prompt | Purpose |
|--------|---------|
| [commit](.github/prompts/commit.prompt.md) | Generate commit messages |
| [reflect](.github/prompts/reflect.prompt.md) | Session retrospective |
| [pros-and-cons](.github/prompts/pros-and-cons.prompt.md) | Compare options in table format |
### Skills
| Skill | Purpose |
|-------|---------|
| [planning-with-files](.github/skills/planning-with-files/SKILL.md) | Persistent multi-session planning |
| [dotnet-test](.github/skills/dotnet-test/SKILL.md) | Run .NET tests with xUnit |
| [dotnet-run-file](.github/skills/dotnet-run-file/SKILL.md) | Run C# scripts without projects |
| [dotnet-dependency](.github/skills/dotnet-dependency/SKILL.md) | Audit .NET dependencies |
## How to Use
1. Copy the files you need into your project's `.github/` directory
2. Configure `.vscode/settings.json`:
```json
{
"chat.useAgentsMdFile": true,
"github.copilot.chat.commitMessageGeneration.instructions": [
{ "file": ".github/instructions/git-message.instructions.md" }
],
"github.copilot.chat.reviewSelection.enabled": true,
"github.copilot.chat.reviewSelection.instructions": [
{ "file": ".github/instructions/coding-guidelines.instructions.md" },
{ "file": ".github/instructions/coding-style.instructions.md" }
],
"github.copilot.chat.testGeneration.instructions": [
{ "file": ".github/instructions/testing-xunit.instructions.md" }
]
}
```
> [!TIP]
> Customize the rules to fit your team's workflow. See [Awesome Copilot](https://github.com/github/awesome-copilot) for more inspiration.
## Credits
Inspired by <https://github.com/Aaronontheweb/dotnet-cursor-rules>
Installation
Install the skill from https://github.com/NikiforovAll/github-copilot-rulesThis skill is not published on the ClawHub registry. Paste the prompt into your coding agent — Claude Code, Cursor, Codex — and it will install the skill straight from the source repository.
Open the repository