validate_skill
Checks a draft, registered, or local skill for errors and warnings without publishing or changing content, so you can fix issues before publishing or after editing.
Instructions
Validate a draft, registered canonical skill, or local skill file/directory without publishing or changing skill content. Use before publish_skill or after editing a skill; get_skill_detail reads registered metadata. Accepts an ID/name or path and does not require project initialization at this interface. Returns a validation report with errors and warnings; inspect the report rather than treating a successful tool envelope as proof that the skill is valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional scope for selector lookup. Omitted lets the validator resolve the draft/path or registered skill. | |
| skill_or_path | Yes | Registered skill selector, draft slug, or local SKILL.md file/directory path to validate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||