Project-scoped authoring tools for Standard Operating Procedures and decision flowcharts. Scaffold from templates, embed Mermaid/D2 diagrams, compile to printable PDFs via Typst, and assemble multi-document binders with TOC and page numbers.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin sop-writerUpdate 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.
Concatenate 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".
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.
Restructure 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.
Scaffold a new decision flowchart in the current project as either Mermaid or D2 source, with a Typst wrapper that embeds the rendered SVG so it compiles into a printable PDF page. Use when the user wants to author a decision tree, branching procedure, or troubleshooting flow that will be rendered alongside or as part of a printed SOP.
Scaffold 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.
Project-scoped Claude Code plugin for authoring Standard Operating Procedures and decision flowcharts, compiling them to printable PDFs via Typst, and assembling them into multi-document binders.
The plugin operates on the current project directory — there is no global source of truth. Drop it into any documentation repo and the skills work on the files there.
| Skill | What it does |
|---|---|
new-sop | Scaffold an SOP from a template (first-aid, emergency, household-procedure, troubleshooting-flow, recipe-method). |
import-to-sop | Restructure raw source material (URL, pasted text, PDF) into one of the SOP templates. |
new-flowchart | Scaffold a Mermaid or D2 decision flowchart with a Typst wrapper for embedded SVG. |
compile | Render a single SOP or flowchart to PDF (typst compile plus mmdc/d2 for diagrams). |
bundle-binder | Concatenate a list of SOPs into one PDF binder with cover page, TOC, and page numbers. Configured via binders.yaml in the project. |
bump-revision | Update revision date / version metadata across one or many docs and recompile. |
Runtime tools the skills shell out to (install on the host):
typst — primary compilermmdc (Mermaid CLI, via npm i -g @mermaid-js/mermaid-cli) — for Mermaid flowchartsd2 — for D2 flowcharts (optional, alternative to Mermaid)qpdf or pdfunite (poppler-utils) — for binder concatenation# Project scope (recommended — only enabled in the documentation repo you're working in)
claude plugins install sop-writer@danielrosehill --scope project
# Or user scope (always available)
claude plugins install sop-writer@danielrosehill
The plugin doesn't enforce structure, but the skills work best when SOPs and flowcharts live in predictable folders inside your project:
your-doc-project/
├── sops/ # SOP source (.typ)
├── flowcharts/ # Mermaid/D2 source + Typst wrapper
├── output/ # Compiled PDFs
├── binders.yaml # Optional — defines bundles for bundle-binder
└── templates/ # Optional — local overrides for plugin templates
MIT
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Share bugs, ideas, or general feedback.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
The most comprehensive Claude Code plugin — 48 agents, 182 skills, 68 legacy command shims, selective install profiles, and production-ready hooks for TDD, security scanning, code review, and continuous learning
UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim