Skip to content

Structural validation for AI agent skills.

Checks that a skill directory has the correct structure — valid YAML frontmatter, required fields, a non-empty body, and expected sub-directories.

Terminal window
doraval skill validate <path> [options]

The <path> argument must point to a directory containing a SKILL.md file.

CheckPass condition
YAML frontmatterPresent, parseable, non-empty
nameRequired. Must be kebab-case (a-z, 0-9, hyphens), 2–64 characters
descriptionRequired. Must be present in frontmatter
Markdown bodyMust be non-empty after frontmatter
references/Logged if directory exists
scripts/Logged if directory exists
assets/Logged if directory exists
doraval skill validate — Structural validation
Path: ./skills/my-skill/
✓ YAML frontmatter present and parseable
✓ name: "my-skill"
✓ description field present
✓ Markdown body is non-empty
✓ references/ directory exists
Result: 0 error(s), 0 warning(s)
FlagShortDescription
--format <type>-ftable (default) or json
--agent <name>-aForce a specific agent adapter
--verbose-vShow detailed diagnostics
--ciMachine-friendly output, non-zero exit on issues
Terminal window
doraval skill validate ./my-skill/ --format json

Returns:

{
"path": "./my-skill/",
"errors": [],
"warnings": [],
"passes": [
"YAML frontmatter present and parseable",
"name: \"my-skill\"",
"description field present",
"Markdown body is non-empty"
]
}
  • 0 — No errors
  • 1 — Structural errors found, or path/SKILL.md not found