Creating a Skill
From the CLI
.skaro/skills/our-api-rules.yaml with a template:
Manual Creation
Create a.yaml file in .skaro/skills/ (project) or ~/.skaro/skills/ (global):
Skill Format Reference
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Unique identifier. Must match the filename (without .yaml). |
description | string | no | Short description shown in the dashboard. |
version | string | no | Version for your own tracking. |
phases | list | no | Phases where this skill applies. Empty = all phases. |
roles | list | no | Roles where this skill applies. Empty = all roles. |
instructions | string | yes | The instructions injected into the LLM system prompt. |
phase_instructions | dict | no | Phase-specific overrides (see below). |
Phase-Specific Instructions
A skill can provide different instructions depending on the phase. Thephase_instructions field overrides instructions for specific phases:
instructions for that phase. Phases without an override use the general instructions.
Valid Phase Names
clarify, plan, implement, tests, fix, architecture, devplan, import_analyze
Valid Role Names
architect, coder, reviewer
Enabling a Custom Skill
Creating the file is not enough — you must enable it:Project skills (
.skaro/skills/) and global skills (~/.skaro/skills/) must be explicitly enabled via the active list. Only preset skills are active by default.Disabling a Skill
disabled list in config.yaml. For preset skills, this prevents them from being injected even though the preset is active.
Tips for Writing Good Skills
Be specific. Vague instructions like “write clean code” don’t help. Instead: “Useasync/await for all I/O operations. Never call sync functions inside async context.”
Target the right phases. A skill about component hierarchy patterns belongs in plan and implement, not in tests.
Target the right roles. Testing rules should include the reviewer role. Architecture patterns typically target coder only.
Keep it focused. One skill per concern. Don’t put testing rules, component patterns, and state management in the same skill.
Don’t repeat the constitution. The constitution is already in the system prompt. Skills should add framework-specific patterns that go beyond what the constitution covers.
Example: Full-Stack Project
A project with a React frontend and FastAPI backend might use:Global Skills
Skills in~/.skaro/skills/ are available to all your projects. Use them for personal conventions that you apply everywhere: