Skip to main content

Module structure

Module structure 

Source
Expand description

Directory structure validation for skill packages. Directory structure validation for skill packages.

Extends validation beyond frontmatter to check the skill’s directory structure: file references in the markdown body, script permissions, reference depth, and nesting depth.

Structure diagnostics use codes S001–S005. Most are Severity::Warning unless the issue would cause a broken skill at runtime. S005 (symlink detected) uses Severity::Info.

Functions§

validate_structure
Validate the directory structure of a skill package.