validate
Validate a skill directory against the skill spec — frontmatter, name/dir match, size limits, path safety, and broken links.
skillhub validate checks a skill directory against the skill spec: frontmatter
fields, that the name matches the directory, size limits, path safety, and
broken relative links. It prints any errors and warnings it finds. Runs against
the current directory if you don't pass one.
Synopsis
skillhub validate [dir]Examples
skillhub validate
skillhub validate ./my-skillJSON output
With --json, the data object contains:
dir,valid(bool).errors[]andwarnings[]— each{ severity: error | warning, code, message, path (string|null), line (int|null) }.