Bats files moved up to scripts/ directly; tests/ subdirectory was non-spec and created a directory structure not defined by agentskills.io. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
skill-audit
Audit a skill directory against the agentskills.io specification. Runs structural validation then a qualitative review across description quality, body discipline, formatting, file structure, and internal consistency.
What it does
- Runs
scripts/validate.shfor structural checks (name format, description length, line count, placeholder detection, script rules) - Reads all files in the skill directory
- Applies qualitative checks across seven dimensions
- Outputs a PASS/FAIL/SUGGESTION punch list with a specific fix proposal for every FAIL
Usage
/skill-audit
Provide the path to the skill directory to audit when invoking.
Files
| File | Purpose |
|---|---|
SKILL.md |
Skill instructions for agents |
scripts/validate.sh |
Structural validator — checks name format, name matches directory, description length, line count, placeholder detection, script executable bit, and interactive-prompt detection |
references/description-quality.md |
Spec-grounded rubric for description auditing — loaded when a finding is borderline |
references/body-discipline.md |
Spec-grounded rubric for body discipline auditing — loaded when padding vs necessity is unclear |
scripts/validate.bats |
Bats test suite for validate.sh — dev tooling, not shipped with the plugin |
README.md |
This file |