/sop-writer:compilefrom 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.
Ships in sop-writer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/bump-revisionUpdate revision date and version metadata across one or many SOPs in the current project, then optionally recompile. Reads the Typst frontmatter (or a leading metadata block) of each target document, increments the revision (semver-style: minor by default, patch/major on request), updates the date to today, and writes back. Use when the user has reviewed a set of procedures and wants to mark them as a fresh revision./bundle-binderConcatenate a configured list of SOPs and flowcharts into a single printable PDF binder, with optional cover page, table of contents, and consistent page numbering across the bundle. The set of documents and binder metadata (title, cover image, footer text) is defined in `binders.yaml` in the project root. Use when the user wants to produce a printed binder — e.g. "household emergency binder", "kitchen procedures", "first-aid kit reference"./import-to-sopRestructure raw source material — a URL, pasted text, a PDF, or a markdown file — into a properly formatted SOP using one of the built-in templates. Reads the source, extracts the procedural content, maps it into the chosen template's section structure, and writes a new Typst SOP file in the project. Use when the user has reference material (e.g. a Red Cross first-aid page, a manufacturer manual, a wiki article) and wants to turn it into a printable household SOP./new-flowchartAdd a decision flowchart to an SOP. Delegates to the decision-flowcharts plugin, which owns flowchart authoring and rendering./new-sopScaffold a new Standard Operating Procedure (SOP) in the current project from one of the built-in templates — first-aid, emergency, household-procedure, troubleshooting-flow, or recipe-method. Creates a Typst source file with structured frontmatter (title, revision, date, audience) and section stubs ready to fill in. Use when the user wants to start writing a new procedure document.sop-writer@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin sop-writer