Agent skill
writing-alto-skills
Use when creating or editing ALTO skills (skills/*/SKILL.md) or agents (agents/*.md). Guide for skill structure, frontmatter format, and content organization.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/writing-alto-skills
SKILL.md
Writing ALTO Skills
Frontmatter Schema
---
name: skill-name
type: discipline | technique | reference
triggers:
- when [condition 1]
- before [action 2]
word_limit: 300 # optional, default by type
---
| Field | Required | Purpose |
|---|---|---|
name |
Yes | Skill identifier |
type |
Yes | Determines required sections |
triggers |
Yes | When skill activates (NOT workflow) |
word_limit |
No | Target word count |
Types
| Type | Purpose | Default limit | Required sections |
|---|---|---|---|
discipline |
Enforce behavior rules | 300 | Hard rule, Warning signs |
technique |
How-to guides | 500 | Process/steps |
reference |
Lookup information | 800 | Quick reference table |
Discipline Skills
For skills that enforce rules (TDD, verification, handoff format):
## Hard Rule
[State the non-negotiable in one line]
## Warning Signs
If you catch yourself thinking:
- "[rationalization 1]"
- "[rationalization 2]"
STOP. [What to do instead].
Build warning signs from observed failures, not hypotheticals.
Before Merging
Run skill through alto-dev subagent:
Test this skill: [paste skill content]
Scenario: [describe situation that should trigger it]
Observe:
- Did it read full skill or just triggers?
- Did it follow the process?
- What rationalizations did it attempt?
Add counters for any observed failures.
Validation
Hook checks on commit:
-
triggers:field present (not in description) - Word count under limit for type
- Required sections present for type
- Description doesn't contain workflow words (then, next, after)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?