Skip to main content

render_opencode_available_skills_block

Function render_opencode_available_skills_block 

Source
pub fn render_opencode_available_skills_block(
    skills: &[AvailableSkill],
) -> String
Expand description

Render the discoverable skills the way OpenCode surfaces them in the skill tool description: an <available_skills> block with one <skill> element per skill containing <name> and <description>. Returns an empty string when no skills are staged.