Skip to main content

render_skill

Function render_skill 

Source
pub fn render_skill(skill: &Skill, body: &str, client: Client) -> Result<String>
Expand description

Render a skill to its client-specific SKILL.md string.

Process directives in body for client, generate client-specific frontmatter from skill, concatenate, and run the result through the dprint formatter for ยง7.5 idempotence.