class Riffer::Skills::Adapter
Interface for skill adapters — provider-specific rendering of the available-skills section in the system prompt. Subclass and override render_catalog; the activation tool is exposed via skill_activate_tool for the rendered output.
Attributes
The activation tool class for this adapter.
Public Class Methods
Source
# File lib/riffer/skills/adapter.rb, line 14 def initialize(skill_activate_tool:) @skill_activate_tool = skill_activate_tool end
Public Instance Methods
Source
# File lib/riffer/skills/adapter.rb, line 21 def render_catalog(skills) raise NotImplementedError, "#{self.class} must implement #render_catalog" end
Renders a skill catalog section for the system prompt.