Check List
This dimension includes 11 checks (all quality suggestions, none spec-required).content.body-not-empty
Severity: WARNING Validates that SKILL.md body has meaningful content (quality suggestion; spec allows empty body).What It Checks
- Body is not empty after trimming whitespace
- Body has at least 50 characters of content
Implementation
content.line-budget
Severity: WARNING Validates that body content stays under 500 lines for readability.Constants
Implementation
content.token-budget
Severity: WARNING Validates that body instructions stay under the spec-recommended 5,000 token budget.Constants
Implementation
Usesestimate_tokens() from skill_lab.core.tokens for token estimation.
Token estimation uses a simple heuristic (characters / 4). Actual token counts may vary by model.
content.metadata-token-budget
Severity: INFO Validates that metadata (name + description) fits the ~100-token discovery budget for efficient skill matching.Constants
Implementation
Keeping metadata concise improves skill discovery performance when agents scan multiple skills.
content.has-examples
Severity: INFO Validates that content contains code examples to help agents understand usage.Detection Patterns
Implementation
Example
content.description-actionable
Severity: INFO Validates that description includes activation phrasing to help agents match tasks to skills.Activation Phrases
Implementation
Example
content.reference-depth
Severity: WARNING Validates that references are not too deeply nested (max 1 level).Constants
Implementation
Example
content.scripts-referenced
Severity: WARNING Validates that scripts inscripts/ are mentioned in the SKILL.md body.
Implementation
content.script-paths-exist
Severity: WARNING Validates that script paths referenced in body (e.g.,scripts/setup.py) exist on disk.
Detection Pattern
scripts/setup.pyscripts/build.shscripts/helper.js
Implementation
content.asset-paths-exist
Severity: WARNING Validates that asset paths referenced in body (e.g.,assets/logo.png) exist on disk.
Detection Pattern
assets/logo.pngassets/diagram.svgassets/template.json
Implementation
content.compatibility-prereqs
Severity: INFO Validates that command runners referenced in body are documented in the compatibility field.Command Runner Mapping
Implementation
Example
File Location
Content checks are implemented in:src/skill_lab/checks/static/content.py
Related Checks
- Structure Checks - Validates script and reference folder contents
- Naming Checks - Validates name and description fields