Skill Validator

SkillFiles & storage

Validate skills against Anthropic best practices for frontmatter, structure, content, file organization, hooks, MCP, and security (62 rules in 8 categories). Use when creating new skills, updating existing skills, before publishing skills, reviewing skill quality, or when user mentions "validate skill", "check skill", "skill best practices", "skill review", or "lint skill".

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Skill Validator skill

What this skill tells your AI

The instructions your AI receives, as published by joaquimscosta/arkhe-claude-plugins in .claude/skills/skill-validator/SKILL.md and read by ahel’s review.

Run automated checks against 62 rules covering frontmatter, structure, content, files, references, security, hooks, and MCP.

Quick Start

scripts/validate_skill.py /path/to/skill-directory

With severity filter:

scripts/validate_skill.py /path/to/skill --min-severity warning

Validation Categories

CategoryRulesChecks
FrontmatterFM001-FM018Required fields, naming, description, context/agent, maxTurns, memory, disable-model-invocation
StructureSS001-SS006Line limits, progressive disclosure
ContentCW001-CW009Writing style, terminology, string substitution, dynamic context injection, ultrathink
FilesFO001-FO007Naming conventions, forbidden files
ReferencesRI001-RI003Broken links, orphan files
SecuritySC001-SC005eval/exec, undocumented constants
HooksHK001-HK003Hook structure, handler format, matcher format
MCPMC001MCP server configuration format

Severity Levels

LevelAction
CRITICALMust fix before publishing
ERRORShould fix
WARNINGConsider fixing
SUGGESTIONOptional improvement

Output Example

=== Skill Validation Report: my-skill ===

Summary: 0 critical, 1 error, 2 warnings, 1 suggestion

[ERROR] SS002: SKILL.md exceeds 500 lines (523 lines)
  Location: SKILL.md
  Fix: Split content into WORKFLOW.md, EXAMPLES.md, TROUBLESHOOTING.md

[WARNING] CW001: Second-person language detected
  Location: SKILL.md:45
  Found: "You should create..."
  Fix: Use imperative: "Create..."

Command Options

--min-severity {critical,error,warning,suggestion}  # Filter output
--format {text,json}                                # Output format
--ignore RULE1,RULE2                                # Skip specific rules

Common Issues

"False positive on second-person"

  • Context-appropriate "you" may be acceptable
  • Use --ignore CW001 to suppress

"Script security warning"

  • Add inline comment: # skill-validator: ignore SC001

"Hook/MCP validation incomplete"

  • Install PyYAML for full nested structure validation: pip install pyyaml

See TROUBLESHOOTING.md for complete issue handling.

References

Signals

GitHub stars
21
Forks
4
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
skill-validator
Source
github.com/joaquimscosta/arkhe-claude-plugins