Skill Spec Audit
Check installed skills against the agentskills.io specification and local conventions for metadata completeness.
Arguments
- Skill names: tokens after the command -> filter to those skills only
- --fix: automatically add missing fields (prompts for values)
- Default: scan all non-symlinked skills in
~/.claude/skills/
Spec Requirements (agentskills.io)
| Field | Required | Notes |
| --------------- | -------- | -------------------------------------------------------------- |
| name | Yes | 1-64 chars, lowercase, hyphens only, must match directory name |
| description | Yes | 1-1024 chars, non-empty |
| compatibility | No | Max 500 chars, environment requirements |
| metadata | No | Arbitrary key-value map |
| allowed-tools | No | Space-delimited tool list (experimental) |
Naming Conventions
Skill names follow the pattern: [scope]-[platform/org]-[group]-<name-with-layer-suffix>
Rules
- Lowercase, kebab-case, no consecutive hyphens, 2-4 words, max 40 chars
- Suffix encodes the layer (see "Layer Conventions" below)
- Standardized action synonyms:
audit(compliance),scan(broad analysis),search(lookup),triage(classify+act)
Scope prefix (required)
Derived from metadata.scope:
| Scope | Prefix | Example |
| -------------- | ------ | -------------------------------------- |
| personal | p- | p-slack-triage, p-daily-standup |
| organization | o- | o-org-release-digest |
| generic | (none) | skill-spec-audit, gh-dep-pr-triage |
Platform prefix (when single-platform dependent)
| Platform | Prefix | When to use |
| ---------------- | -------- | ------------------------------------- |
| GitHub | gh- | Skill requires gh CLI or GitHub API |
| Git | git- | Skill requires git but not GitHub |
| Slack | slack- | Skill requires Slack MCP server |
| Google Workspace | gws- | Skill requires gws CLI |
Multi-platform or general skills stay unprefixed. If a skill touches 2+ platforms, no platform prefix — the scope prefix alone is enough.
Group prefix (when 2+ skills share a domain)
| Group | Skills in group |
| -------- | -------------------------------------------------------------- |
| daily- | standup, report, reflection |
| skill- | dry-run, prereq-audit, spec-audit |
| blog- | writer, post-mining |
| oss- | release, release-prep |
| org- | release-digest, incident-investigation, sync-skills-to-plugins |
When creating a new skill, check for existing siblings. If a second skill appears in the same domain, retroactively add a shared prefix to both.
Layer Conventions
Every skill is exactly one of four layers, declared via metadata.layer. The
suffix of the name must match the layer.
| Layer | metadata.layer | Suffix family | Example |
| --- | --- | --- | --- |
| Primitive | primitive | verb: -read, -list, -fetch, -search, -post, -insert, -append, -query, -get, -scan | gws-sheets-read |
| Renderer | renderer | format noun (-slides, -docs, -pdf, -card, -message) or agent noun (-writer, -explainer, -namer, -generator) | gws-slides, visual-explainer |
| Workflow | workflow | outcome noun: -digest, -deck, -report, -triage, -audit, -standup, -prep, -recap, -investigation | o-tailor-allhands-deck |
| Reference | reference | -shared | o-tailor-shared |
Reference skills must:
- End in
-shared. - Begin their description with:
"Internal reference loaded by other <prefix>-* skills. Do not invoke directly." - Not appear in user-facing trigger phrases.