Skip to main content

render_skill_md

Function render_skill_md 

Source
pub fn render_skill_md(spec: &ToolSpec, capability: &AgentCapability) -> String
Expand description

Render a Claude/Codex-compatible SKILL.md body for one capability.

The artifact has YAML frontmatter (name, description) and a Markdown body covering when-to-use, commands, flags, examples, output, and constraints.