command-frontmatter¶
Command files must have valid frontmatter with description
| Severity | error |
| Autofix | auto |
| Since | v0.1.0 |
| Category | Command Format |
Why¶
Command files need YAML frontmatter with a description field so the
host application can display help text and decide when to offer the
command. Without it, the command exists but is undiscoverable.
Examples¶
Bad:
Good:
How to fix¶
Add a YAML frontmatter block at the top of the command file with a
description field. skillsaw fix can add the missing frontmatter
automatically.
Configuration¶
Run skillsaw explain command-frontmatter to see this documentation and the rule's effective configuration in your terminal.