class Riffer::Skills::Adapter

Base class defining the interface for skill adapters.

A skill adapter encapsulates the provider-specific behavior for skills: how the skill catalog is rendered in the system prompt, and which tool the LLM calls to activate a skill.

Subclass and override render_catalog and optionally activate_tool to customize behavior.

See Riffer::Skills::MarkdownAdapter for the default implementation. See Riffer::Skills::XmlAdapter for the Anthropic/Claude variant.