What problem does it solve?
Ensuring that new skills adhere to a consistent structure, define their inputs/outputs correctly, and declare dependencies is crucial for a healthy skill ecosystem. This Skill acts as the quality gate, validating skill manifests before they are registered.
Core Features & Use Cases
- Schema Validation: Automatically checks
skill.yaml files against the official schema for correctness, preventing malformed skill definitions.
- Required Field Enforcement: Ensures all mandatory fields like
name, version, description, inputs, outputs, dependencies, and status are present.
- Registry Integration: Delegates to
registry.update to add the validated skill to the central registry, making it discoverable and usable.
- Use Case: A developer creates a new skill. Before it can be used or discovered, they run
skill.define on its manifest. If any fields are missing or incorrectly formatted, the skill provides detailed errors, guiding the developer to fix the issues.
Quick Start
Validate and register a new skill manifest
python skills/skill.define/skill_define.py skills/my.new.skill/skill.yaml