2.5 KiB
2.5 KiB
Skills
On-demand expertise for AI agents. Skills are task-specific procedures that get activated when relevant.
Project: Vendaweb-portal
How Skills Work
- Discovery: AI agents discover available skills
- Matching: When a task matches a skill's description, it's activated
- Execution: The skill's instructions guide the AI's behavior
Available Skills
Built-in Skills
| Skill | Description | Phases |
|---|---|---|
| Commit Message | Generate commit messages following conventional commits with scope detection | E, C |
| Pr Review | Review pull requests against team standards and best practices | R, V |
| Code Review | Review code quality, patterns, and best practices | R, V |
| Test Generation | Generate comprehensive test cases for code | E, V |
| Documentation | Generate and update technical documentation | P, C |
| Refactoring | Safe code refactoring with step-by-step approach | E |
| Bug Investigation | Systematic bug investigation and root cause analysis | E, V |
| Feature Breakdown | Break down features into implementable tasks | P |
| Api Design | Design RESTful APIs following best practices | P, R |
| Security Audit | Security review checklist for code and infrastructure | R, V |
Creating Custom Skills
Create a new skill by adding a directory with a SKILL.md file:
.context/skills/
└── my-skill/
├── SKILL.md # Required: skill definition
└── templates/ # Optional: helper resources
└── checklist.md
SKILL.md Format
---
name: my-skill
description: When to use this skill
phases: [P, E, V] # Optional: PREVC phases
mode: false # Optional: mode command?
---
# My Skill
## When to Use
[Description of when this skill applies]
## Instructions
1. Step one
2. Step two
## Examples
[Usage examples]
PREVC Phase Mapping
| Phase | Name | Skills |
|---|---|---|
| P | Planning | feature-breakdown, documentation, api-design |
| R | Review | pr-review, code-review, api-design, security-audit |
| E | Execution | commit-message, test-generation, refactoring, bug-investigation |
| V | Validation | pr-review, code-review, test-generation, security-audit |
| C | Confirmation | commit-message, documentation |