| name | skill-authoring |
| description | Refine draft skills into strict, reusable SKILL.md documents with stable triggers, preconditions, and failure branches. |
| metadata | {"openclaw":{"triggers":{"any":["skill authoring","refine skill","auto skill","draft skill","skillspec","skill.md"]}}} |
skill-authoring
Use this skill when converting a rough draft into a production-ready skill document.
Goal
Transform noisy step traces or draft markdown into a strict SKILL.md that is:
- deterministic to execute
- explicit about when to trigger
- explicit about failure handling
- valid against strict skill validation rules
Required Structure
- Frontmatter:
name (kebab-case, matches directory)
description (one concise sentence)
- optional
metadata JSON for triggers/requirements
- Body sections:
When To Use
Preconditions
Procedure
Failure Handling
Completion Criteria
Refinement Rules
- Replace fragile coordinates with semantic UI targets whenever possible.
- Keep each procedure step one atomic action.
- Add at least one fallback path for common blockers (auth wall, empty state, loading timeout).
- If personal data is required, add
request_human_auth guidance before UI actions.
- Keep language concise and executable.
Validation Gate
Before promotion:
- Run strict skill validation.
- If validation fails, keep as draft and report issues.
- Promote only validated output.