Specification struct for skills, supporting compile-time modules, runtime-loaded SKILL.md files, and host-supplied runtime specs.
Follows the agentskills.io spec with Jido-specific extensions.
Summary
Functions
Validates the strict manifest fields shared by filesystem and runtime specs.
Validates a runtime-provided skill spec for Agent Skills integration.
Types
@type t() :: %Jido.AI.Skill.Spec{ actions: [module()], allowed_tools: [String.t()], body_ref: body_ref(), compatibility: String.t() | nil, description: String.t(), diagnostics: Jido.AI.Skill.Diagnostics.t() | nil, license: String.t() | nil, metadata: map() | nil, name: String.t(), plugins: [module()], source: source() | nil, tags: [String.t()], vsn: String.t() | nil }
Functions
Validates the strict manifest fields shared by filesystem and runtime specs.
Validates a runtime-provided skill spec for Agent Skills integration.
Runtime specs must use source: nil and carry their body inline so Agent
Skills can preserve the host-provided manifest without discovering, reading,
or listing from the filesystem.