Skill Improver
Audit and improve skills to match the Anthropic skill guide standard.
When to activate
- User wants to create a new skill
- User wants to improve an existing skill
- Preparing a skill for ClawHub or external distribution
- After
atris skill auditreports warnings or failures
The standard
A well-formed skill has:
- YAML frontmatter with
name(kebab-case, matches folder),description(WHAT + WHEN + triggers, under 1024 chars),version(semver),tags - No XML tags anywhere in the file
- Clear numbered instructions with concrete steps
- Error handling guidance
- Examples of input and expected output
- Under 5000 words in SKILL.md (move detail to
references/subdirectory)
Audit process
- Run
atris skill audit [name]for mechanical checks (12 automated checks) - Read the SKILL.md for qualitative issues:
- Is the description specific enough to trigger correctly?
- Do instructions have concrete steps, not vague guidance?
- Are there before/after examples?
- Is error handling covered?
- Would a new agent understand this without extra context?
- Score: mechanical (CLI) + qualitative (your judgment)
Fixing common problems
Weak descriptions
Bad: "Essay writing skill. Triggers on: essay, draft"
Good: "Structured essay writing with approval gates at each stage (inbox, outline, panel, write, passes). Use when writing essays, drafts, outlines, or long-form content. Triggers on essay, draft, write, outline, or long-form."
Pattern: WHAT it does (1 sentence) + WHEN to use it (1 sentence) + trigger words woven in.
Missing trigger phrases
Triggers go IN the description field, not as a separate triggers key. The Anthropic spec only recognizes name and description as required fields.
Vague instructions
Bad: "Follow the writing process"
Good:
- Capture raw ideas in inbox format
- Build topic skeleton with evidence slots
- Run panel review (AI challenges claims, user approves)
- Write section by section, getting approval at each gate
- Run three passes: argument (AI), read-aloud (human), sanity (both)
Name mismatch
The name field must match the folder name exactly. Folder backend needs name: backend, not name: atris-backend.
XML tags in content
XML-style tags (angle brackets around words) are forbidden. Replace them with bracket notation like [text] or plain text. The skill system rejects XML in SKILL.md content.
Creating a new skill
- Create folder:
atris/skills/[kebab-name]/ - Create
SKILL.mdwith this template:
---
name: your-skill-name
description: What this skill does. Use when [specific scenarios]. Triggers on [keywords].
version: 1.0.0
tags:
- tag-one
- tag-two
---
# Your Skill Name
One-line summary of what this skill does.
## When to activate
- Scenario 1
- Scenario 2
## Instructions
### Step 1: [First action]
Concrete explanation with example.
### Step 2: [Second action]
Concrete explanation with example.
## Examples
### Example 1: [Common scenario]
User says: "..."
Actions: ...
Result: ...
## Troubleshooting
### Error: [Common problem]
Cause: [Why]
Fix: [How]
- Run
atris skill audit [name]to validate - Run
atris updateto symlink to.claude/skills/
Quality tiers
- Bronze: Passes all 12 mechanical checks from
atris skill audit - Silver: Bronze + good description + numbered steps + examples
- Gold: Silver + error handling + progressive disclosure + tested in production
Gold standard reference: atris/skills/clawhub/atris/SKILL.md
Distribution checklist
Before publishing to ClawHub or sharing externally:
- All 12 audit checks pass (
atris skill audit [name]) - Description under 1024 chars, includes WHAT + WHEN + triggers
- Version field set (semver)
- Tags present (3-5 relevant tags)
- No internal references (paths must be relative, no hardcoded project paths)
- No README.md inside the skill folder
- SKILL.md is self-contained or uses
references/for supplementary docs
微信扫一扫