SkilldexAll articles

Lint skill metadata before a package enters the catalog

Catch incompatible frontmatter, file references, and display fields at build time.

A skill can contain excellent instructions and remain undiscoverable because its frontmatter has a syntax error or its description fails the host’s format checks. Package linting turns those failures into clear build errors before anyone needs to inspect a production session.

Validate the published format first

Parse the frontmatter using a real parser and apply the supported field constraints. Check the package directory, required names, and description rules from the skill format. Keep host-specific addenda separately so a team knows which errors reflect portability and which reflect a local policy.

Verify references from the packaged path

Resolve local examples, templates, and scripts relative to the shipped skill directory. Check their exact spelling against the archive. A validation run from the source checkout can miss a referenced file omitted by the packaging step. The final archive is the right object to inspect.

Report a clear location

A useful lint message identifies the field or path and the violated rule. Add a good package and several intentionally invalid test packages to verify both acceptance and failure. An opaque build error may drive authors to bypass linting instead of correcting a simple metadata problem.

Sources