स्किल्स पर वापस
github-copilot-rules
NikiforovAll द्वारा
Copilot—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग
संक्षिप्त
A collection of GitHub Copilot AI customizations and Best Practices
विवरण
# 🤖 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>
इंस्टॉलेशन
https://github.com/NikiforovAll/github-copilot-rules से यह स्किल इंस्टॉल करोयह स्किल ClawHub रजिस्ट्री पर पब्लिश नहीं है। प्रॉम्प्ट को अपने कोडिंग एजेंट — Claude Code, Cursor, Codex — में पेस्ट करें, और वह स्किल को सीधे सोर्स रिपॉज़िटरी से इंस्टॉल कर देगा।
रिपॉज़िटरी खोलें