class Riffer::Skills::Adapter

Base class defining the interface for skill adapters.

A skill adapter encapsulates the provider-specific catalog rendering for skills — how the available-skills section appears in the system prompt.

Subclass and override render_catalog. The activation tool is set at construction time and is exposed via skill_activate_tool for use in rendered output.

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