| name | skills-engineer |
| description | SKILL.md, skill frontmatter/descriptions, activation triggers, agent definitions, or command/agent instructions. Not for Pi slash-command placement; use pi-command. |
Skills Engineering
Boundary
| Work | Use |
|---|
| Skill content, descriptions, activation triggers, agent definitions | skills-engineer |
| Pi slash commands, prompt templates, command placement | pi-command |
| General documentation prose | docs |
Core Principle: Progressive Disclosure
Startup context reads skill metadata first. Keep descriptions narrow and bodies concise; put specialized detail behind clearly named subfiles only when needed.
Frontmatter Rules
---
name: skill-name
description: "Specific trigger scope. Use when ... Not for ..."
---
name matches the directory and uses kebab-case.
description names concrete triggers and excludes neighboring skills.
- Avoid broad words like "development", "review", or "docs" without qualifiers.
Skill Body Rules
- Start with
# Title.
- Put boundary guidance before detailed process.
- Prefer checklists and tables over long prose.
- Maintain prompts subtractively: remove or consolidate redundant and conflicting rules before adding instructions; prefer one governing principle to exception lists.
- For Pi resources, keep skill-, command-, and tool-specific guidance in the owning skill, prompt, or extension rather than
pi/AGENTS.md; reserve AGENTS for repository-wide rules that apply regardless of loaded resources.
- Include anti-patterns that prevent common routing mistakes.
- Keep examples minimal; reference files for long examples.
Activation Design
Good triggers are exact: file patterns, command names, artifact names, and user phrases. Add "Not for" boundaries when two skills overlap.
Anti-Patterns
- Description lists every related keyword and activates everywhere.
- Skill or prompt body duplicates generic advice or accumulates increasingly specific rules instead of clarifying the governing principle.
- Multiple skills claim the same primary trigger.
- Claude/OpenCode-specific assumptions in a Pi skill without boundary notes.