command-sections¶
Command files should have Name, Synopsis, Description, and Implementation sections
| Severity | warning (disabled) |
| Autofix | - |
| Since | v0.1.0 |
| Category | Command Format |
Why¶
Command files follow a structured format with four recommended sections: Name, Synopsis, Description, and Implementation. Missing sections make the command harder for both humans and agents to understand — the format exists so that each piece of information has a predictable location.
Examples¶
Bad:
Good:
---
description: Deploy to staging
---
## Name
my-plugin:deploy-staging
## Synopsis
Deploy the application to the staging environment.
## Description
Runs the staging deployment pipeline...
## Implementation
Run `make deploy-staging`.
How to fix¶
Add the missing section heading(s) listed in the violation message.
Each section is a ## heading with the exact name shown.
Configuration¶
Run skillsaw explain command-sections to see this documentation and the rule's effective configuration in your terminal.