Skip to content

pi-skill-valid

Pi skills need parseable frontmatter and a nonempty description

Severity warning (auto)
Autofix -
Since v0.21.0
Repo Types pi, pi-package
Category Pi

Why

Pi loads directory-form SKILL.md files and flat Markdown skills. Its native loader requires a nonempty description, but accepts missing names and names that differ from their directory. Portable Agent Skills rules must not rewrite valid native Pi metadata.

How to fix

Add parseable frontmatter with a nonempty string description. A name is optional. Pi derives the fallback name from the containing directory.

Ordinary flat Markdown without a description is ignored, as Pi does, rather than diagnosed as an invalid skill. An explicit SKILL.md without a description is reported because its filename declares a skill that Pi will skip.

Native Pi skill bodies and descriptions receive the shared content and security checks. Dual-format packages retain the other host's portable skill checks for its own discovered skills. This rule follows the loader pinned by pi-config-valid.

Configuration

rules:
  pi-skill-valid:
    enabled: auto  # true | false | auto
    severity: warning

Run skillsaw explain pi-skill-valid to see this documentation and the rule's effective configuration in your terminal.