Skip to content

Commit cd112d2

Browse files
author
vp
committed
docs: add agent skills usage policy and guidelines to AGENTS.md
1 parent 14dca06 commit cd112d2

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,46 @@ This document provides AI agents with concise, high-signal context about this re
2020
- Use existing devkit features (requester, notifier, pipeline behaviors) instead of re-inventing infrastructure.
2121
- Produce testable changes with unit/integration tests where meaningful.
2222

23+
## Agent Skills
24+
25+
**IMPORTANT**: This project uses Agent Skills to provide specialized, standardized workflows for common tasks.
26+
27+
### Skills Usage Policy
28+
29+
- **ALWAYS check for and use available skills** when the user's request matches a skill's description.
30+
- Skills are located in `.github/skills/` and `.opencode/skills/` directories.
31+
- Each skill provides a tested, standardized approach to specific tasks.
32+
- Using skills ensures consistency, follows best practices, and reduces errors.
33+
34+
### Available Skills
35+
36+
Skills may include (but are not limited to):
37+
- `git-commit`: Create conventional commits with proper type/scope analysis
38+
- `value-object-creator`: Generate domain value objects with validation
39+
- `review-code`: Comprehensive code review for C#/.NET projects
40+
- `review-architecture`: Verify DDD and Clean Architecture patterns
41+
- `nuget-manager`: Manage NuGet packages safely
42+
- `mermaid-diagrams`: Create software diagrams
43+
- `domain-add-aggregate`: Add new domain aggregates with full CRUD
44+
- `doc-coauthoring`: Structured documentation workflow
45+
- `changelog-generator`: Generate changelogs from git history
46+
- `adr-writer`: Write Architectural Decision Records
47+
48+
### When to Use Skills
49+
50+
- When a user request explicitly matches a skill's purpose (e.g., "commit changes" → use `git-commit` skill)
51+
- When performing tasks that have established workflows (e.g., adding aggregates, reviewing code)
52+
- Before manually implementing any workflow, check if a skill exists for it
53+
- **Default to using skills over ad-hoc manual approaches**
54+
55+
### Skill Priority
56+
57+
1. **First**: Check if a skill exists for the task
58+
2. **Second**: Load and follow the skill's workflow
59+
3. **Last Resort**: Only use manual approaches when no skill exists
60+
61+
This ensures all agents follow the same high-quality, tested patterns that the project relies on.
62+
2363
## Coding Standards
2464

2565
- Please follow the rules in [.editorconfig](./.editorconfig).

0 commit comments

Comments
 (0)