agentskill-structure¶
Skill directories should only contain recognized subdirectories (stricter than spec)
| Severity | warning (disabled) |
| Autofix | - |
| Since | v0.1.0 |
| Repo Types | agentskills, dot-claude, marketplace, single-plugin |
| Category | agentskills.io |
Why¶
The agentskills.io specification defines a fixed set of recognized
subdirectories inside a skill directory (evals/, references/,
etc.). Unrecognized subdirectories may be silently ignored by skill
loaders or cause validation errors in stricter runtimes.
Examples¶
Bad:
Good:
How to fix¶
Move files into recognized subdirectories or up to the skill root.
If the extra directory is intentional, consider whether its contents
belong in references/ or should live outside the skill directory
entirely.
Configuration¶
| Parameter | Description | Default |
|---|---|---|
allowed_dirs |
Directory names allowed in the skill root | ["assets", "evals", "references", "scripts"] |
Run skillsaw explain agentskill-structure to see this documentation and the rule's effective configuration in your terminal.