Skill Check
Audit agent skills for spec compliance, best-practice adherence, and quality.
Quick start
scripts/validate-structure.sh path/to/target-skill
Workflows
- Read target
SKILL.md. Extract frontmatter YAML and body content.
- Run
scripts/validate-structure.sh <skill-path>. Capture pass/fail output.
- Read
references/spec-requirements.md. Check frontmatter against each spec rule.
- Read
references/best-practices.md. Evaluate body against each best-practice guideline.
- Check thin eval gate: does
<skill-path>/evals/evals.json exist? Record YES/NO.
- Run
scripts/compare-structure.sh <skill-path>. Output structural diff vs. skills-ref patterns.
- Read
assets/skill-check-report-template.html (templatized HTML report). Fill template variables with audit data:
{{SKILL_NAME}}, {{TARGET_PATH}}, {{AUDIT_DATE}}
{{SPEC_SCORE}}, {{SPEC_PCT}}, {{SPEC_CLASS}}, {{SPEC_SUBTITLE}}
{{BP_SCORE}}, {{BP_PCT}}, {{BP_CLASS}}, {{BP_SUBTITLE}}
{{STRUCT_SCORE}}, {{STRUCT_CLASS}}, {{STRUCT_SUBTITLE}}
{{SPEC_ROWS}}, {{BP_ROWS}}, {{STRUCT_ROWS}} (table <tr> blocks)
{{BP_WARNINGS}} (warning <li> blocks), {{FIXES}} (fix <li> blocks)
{{GRADE}}, {{GRADE_CLASS}}, {{VERDICT_TEXT}}
{{JSON_SUMMARY}} — compact JSON object with all scores, pass/fail per check, and machine-parseable structure. Embed in <pre> block at top so downstream skills can read just the first ~30 lines for machine data. JSON schema:{ skill, target_path, audit_date, grade,
spec: { score, total, checks: [{check, pass, detail}] },
best_practices: { score, total, warnings: [string] },
has_evals: true/false,
structure: { score, found: [string], warnings: [string] },
fixes: [{priority, description}]
}
- Write filled report to
<skill-path>/<skill-name>-skill-check-report.html.
Reference files
See spec-requirements.md for all spec clauses.
See best-practices.md for quality guidelines.
See skills-ref-patterns.md for structural patterns.
See skill-check-report-template.html for the templatized HTML report (use in step 7).
1---2name: skill-check3description: Audit and validate agent skills against the agentskills.io specification, best practices, and skills-ref implementation. Use when "audit skill", "validate skill", "skill quality review", or "skill check".4---5# Skill Check67Audit agent skills for spec compliance, best-practice adherence, and quality.89## Quick start1011```bash12scripts/validate-structure.sh path/to/target-skill13```1415## Workflows16171. Read target `SKILL.md`. Extract frontmatter YAML and body content.182. Run `scripts/validate-structure.sh <skill-path>`. Capture pass/fail output.193. Read `references/spec-requirements.md`. Check frontmatter against each spec rule.204. Read `references/best-practices.md`. Evaluate body against each best-practice guideline.215. Check thin eval gate: does `<skill-path>/evals/evals.json` exist? Record YES/NO.226. Run `scripts/compare-structure.sh <skill-path>`. Output structural diff vs. skills-ref patterns.237. Read `assets/skill-check-report-template.html` (templatized HTML report). Fill template variables with audit data:24 - `{{SKILL_NAME}}`, `{{TARGET_PATH}}`, `{{AUDIT_DATE}}`25 - `{{SPEC_SCORE}}`, `{{SPEC_PCT}}`, `{{SPEC_CLASS}}`, `{{SPEC_SUBTITLE}}`26 - `{{BP_SCORE}}`, `{{BP_PCT}}`, `{{BP_CLASS}}`, `{{BP_SUBTITLE}}`27 - `{{STRUCT_SCORE}}`, `{{STRUCT_CLASS}}`, `{{STRUCT_SUBTITLE}}`28 - `{{SPEC_ROWS}}`, `{{BP_ROWS}}`, `{{STRUCT_ROWS}}` (table `<tr>` blocks)29 - `{{BP_WARNINGS}}` (warning `<li>` blocks), `{{FIXES}}` (fix `<li>` blocks)30 - `{{GRADE}}`, `{{GRADE_CLASS}}`, `{{VERDICT_TEXT}}`31 - `{{JSON_SUMMARY}}` — compact JSON object with all scores, pass/fail per check, and machine-parseable structure. Embed in `<pre>` block at top so downstream skills can read just the first ~30 lines for machine data. JSON schema:32 ```33 { skill, target_path, audit_date, grade,34 spec: { score, total, checks: [{check, pass, detail}] },35 best_practices: { score, total, warnings: [string] },36 has_evals: true/false,37 structure: { score, found: [string], warnings: [string] },38 fixes: [{priority, description}]39 }40 ```418. Write filled report to `<skill-path>/<skill-name>-skill-check-report.html`.4243## Reference files4445See [spec-requirements.md](references/spec-requirements.md) for all spec clauses.46See [best-practices.md](references/best-practices.md) for quality guidelines.47See [skills-ref-patterns.md](references/skills-ref-patterns.md) for structural patterns.48See [skill-check-report-template.html](assets/skill-check-report-template.html) for the templatized HTML report (use in step 7).