defineSkill(input)
Validates and returns a complete SkillManifest from partial input.
Validation
defineSkill validates:
- Slug format — lowercase alphanumeric with hyphens, no leading/trailing hyphens
- Version — must follow semver (
1.0.0) - Tool names — lowercase alphanumeric with underscores
Error on invalid input.
SkillManifestInput Fields
See the Skills deep dive for the full authoring guide.
