From sop-writer
Compile a single SOP or flowchart in the current project to PDF. For SOPs, runs `typst compile`. For flowcharts, first renders the Mermaid/D2 source to SVG (via mmdc or d2), then compiles the Typst wrapper that embeds it. Outputs to the project's `output/` directory by default. Use when the user wants to produce or refresh a single printable PDF.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sop-writer:compileThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Render a single document to PDF. Project-scoped — operates on files in the current working directory.
Render a single document to PDF. Project-scoped — operates on files in the current working directory.
.typ, .mmd, or .d2 file to compile. Accept absolute or project-relative.output/<source-stem>.pdf in the project root, creating output/ if missing..typ file.mmd or .d2 files referenced by #image(...) in the Typst source. For each, render to SVG first (see flowchart steps below).typst compile <source.typ> <output.pdf>
.mmd file (Mermaid)mmdc -i <source.mmd> -o <source-stem>.svg
Then compile the sibling .typ wrapper if one exists, or just leave the SVG.
.d2 filed2 <source.d2> <source-stem>.svg
Same follow-up as Mermaid.
command -v typst — if missing, tell the user to install it (cargo install typst-cli or distro package).command -v mmdc — only required if any Mermaid sources exist; install via npm i -g @mermaid-js/mermaid-cli.command -v d2 — only required if any D2 sources exist.bundle-binder (which compiles its inputs as a side effect).typst compile fails, surface the error verbatim — Typst's error messages are good and the user needs to see them.npx claudepluginhub danielrosehill/claude-code-plugins --plugin sop-writerGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.