Agent-skills validate-skills
Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.
install
source · Clone the upstream repo
git clone https://github.com/callstackincubator/agent-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/callstackincubator/agent-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/validate-skills" ~/.claude/skills/callstackincubator-agent-skills-validate-skills && rm -rf "$T"
manifest:
.claude/skills/validate-skills/SKILL.mdsource content
Validate Skills
Validate all skills in
skills/ against the agentskills.io spec and Claude Code best practices.
Validation Checklist
For each skill directory, verify:
Spec Compliance (agentskills.io)
| Check | Rule |
|---|---|
format | 1-64 chars, lowercase alphanumeric + hyphens, no leading/trailing/consecutive hyphens |
matches directory | Directory name must equal field |
length | 1-1024 characters, non-empty |
| Optional fields valid | , , if present |
Best Practices (Claude Code)
| Check | Rule |
|---|---|
| Description format | Third person, describes what + when to use |
| Body length | Under 500 lines |
| References one-level deep | No nested reference chains |
| Links are markdown | Use not bare filenames |
| No redundancy | Don't repeat description in body |
| Concise | Only add context Claude doesn't already have |
How to Run
-
Find all skill directories:
fd -t d -d 1 . skills/ -
For each skill, read
and check against the rules aboveSKILL.md -
Report issues in this format:
## Validation Results ### skills/example-skill - [PASS] name format valid - [FAIL] name "example" doesn't match directory "example-skill" - [PASS] description length OK (156 chars)