Expand description
Agent Skills SKILL.md front-matter validation.
This module implements the metadata constraints from the Agent Skills specification plus explicitly modeled, common client extensions. It parses only the YAML front matter; Markdown body content is intentionally left unrestricted.
Structs§
- Skill
Error - A skill admin failure with an operator-facing message and optional hint.
- Skill
Metadata - Validated Agent Skill metadata.
- Skill
Options - Options shared by every skill action.
- Skill
Spec - Identity of the skill being managed and the tool that manages it.
- Skill
Target Status - Per-target outcome of
status/install. - Skill
Uninstall Status - Per-target outcome of
uninstall. - Skill
Validation Error - A deterministic
SKILL.mdvalidation failure.
Enums§
- Skill
Action - The skill action to perform.
- Skill
Agent - A concrete agent a skill is installed for (no
All). - Skill
Agent Selection - Which agent target(s) to manage.
- Skill
Report - The result of a skill action. Serializes to the protocol shape, carrying a
codediscriminator (skill_status/skill_install/skill_uninstall). - Skill
Scope - Where to install the skill.
Functions§
- run_
skill_ admin - Install, uninstall, or report status of
spec’s skill across the selected agent target(s). - validate_
skill - Validate one
SKILL.mddocument and return its typed metadata. - validate_
skill_ named - Validate one
SKILL.mddocument and require its name to match its directory.