Jido.AI.Skill.Spec (Jido AI v2.2.0)

Copy Markdown View Source

Specification struct for skills, supporting both compile-time modules and runtime-loaded SKILL.md files.

Follows the agentskills.io spec with Jido-specific extensions.

Summary

Types

body_ref()

@type body_ref() :: {:file, String.t()} | {:inline, String.t()} | nil

source()

@type source() :: {:module, module()} | {:file, String.t()}

t()

@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
}