| name | writing-skills |
| description | Use when creating new skills or editing existing skills - follow TDD for documentation |
Writing Skills
Skills are reusable technique guides in .opencode/skills/<name>/SKILL.md.
SKILL.md Structure
---
name: skill-name-with-hyphens
description: Use when [specific triggering conditions, not workflow summary]
---
## Overview
Core principle in 1-2 sentences.
## When to Use
Symptoms and use cases. When NOT to use.
## Core Pattern
Before/after or step-by-step.
## Quick Reference
Table for scanning common operations.
## Common Mistakes
What goes wrong + fixes.
Naming
- Use letters, numbers, hyphens only
- Verb-first, gerunds work well:
using-git-worktrees, executing-plans
- Description starts with "Use when..." and includes specific triggers
Description = When to Use (NOT What It Does)
description: Dispatch subagent per task with review between tasks
description: Use when executing implementation plans with independent tasks
Key Principles
- One excellent example beats many mediocre ones
- Keep concise: <500 words for most skills
- No narrative storytelling - techniques and patterns only
- Project-specific > generic (reference AGENTS.md, our commands, our conventions)
- Cross-reference other skills instead of repeating
Checklist