/typst-document-generator:briefingfrom typst-document-generator
Generate a printable Typst briefing or field sheet using the user's `briefing` template — dark full-bleed cover, a classification marking watermarked on every page, and a checkbox-first body with quantities, prices and addresses. Use for shopping lists, trip plans, run sheets, packing lists, site-visit sheets, or any single-subject document that will be printed and carried rather than read at a desk.
Ships in typst-document-generator. 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.
Thin renderer — all identity and template shape live in the user's data store.
See shared/workspace.md for the full schema.
Typst must be installed at a resolvable path (
which typst). Do not try to install automatically.
This is the one template that renders through briefing-base, not
doc-base. Everything else in this plugin produces a prose report with a TOC;
this produces a sheet to hold in one hand.
"${CLAUDE_PLUGIN_ROOT}/scripts/paths.sh". If it reports profile: missing → tell the user to run /typst-document-generator:onboard and stop."${CLAUDE_PLUGIN_ROOT}/scripts/paths.sh" template briefing. The user's overlay copy wins over the built-in, so use whatever it returns.profile.yaml from the data dir and the template YAML. Follow the template's notes:.Ask for: title, optional second title line (accent_title), subtitle, and output path (or propose ./{slug}.typ, honouring profile.default_output_dir).
Collect the template variables: — marking (default NON-CONFIDENTIAL), eyebrow, and up to four meta pairs for the cover strip. All optional; skip the prompt if the user already said it in their request.
Ask if AI-assisted. Default placement for this template is footer — the cover is already busy.
Copy the base file (styles.typ; overlay bases/ first, see paths.sh bases) next to the output .typ.
Generate the scaffold:
#import "./styles.typ": briefing-base, item, note-block, panel, stop, palette
#show: briefing-base.with(
title: "{TITLE}",
accent-title: {ACCENT_TITLE OR none},
eyebrow: {EYEBROW OR none},
subtitle: [{SUBTITLE}],
marking: "{MARKING}",
meta: (("Label", "Value"), ...),
author: "{author.name}",
)
#item("2", [Thing to buy], note: [Why this one.], price: "≈ $45 ea")
Compile: typst compile {path}.typ. If it fails, surface the error verbatim and stop — don't retry with guesses.
Render and look at it before reporting success:
pdftoppm -png -r 60 {path}.pdf /tmp/preview
Read the PNGs. This template fails visually far more often than it fails to
compile — a long marking wraps mid-watermark, a five-item meta strip
crowds, a dense body pushes the totals panel onto a stray third page.
Report the PDF path.
Reach for the exported helpers rather than hand-rolling equivalents — they are what keeps briefings looking like each other.
| Helper | For |
|---|---|
item(qty, what, note: none, price: none) | A checklist line. qty: none gives a plain checkbox with no multiplier. |
note-block(body, color: none) | A rule-marked aside — warnings, constraints, "don't buy two of these". |
panel(title, body) | A filled box for totals, packing notes, summaries. Two side by side in a grid works well as a closing block. |
stop(num, name, addr, hours, phone: none) | A numbered destination heading. Pass label: to relabel from "STOP" (e.g. "SITE", "DAY"). |
= chapter headings. briefing-base does not page-break on
headings. If the document wants a TOC it is the wrong template — offer
personal-doc instead.The user usually wants this on paper. Offer to send it:
lp -d {printer} -n {copies} -o media=A4 -o fit-to-page {path}.pdf
List printers with lpstat -p -d rather than guessing the queue name. The cover
is full-bleed dark: on a non-borderless printer it prints with a white edge, and
on a cartridge inkjet it is worth flagging the ink cost before sending copies.
What SKILL.md sets; muted values are Claude Code's defaults
typst-document-generator@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin typst-document-generator12 skills in this plugin
/add-profilePromote a one-off Typst document into a reusable named format. By default it goes into the user's private overlay (their own template YAML, and a Typst base if the look needs one), so personal and business formats never enter the public plugin. Only a generic look the user wants to share becomes a built-in. Verifies by rendering and records any Typst traps hit along the way. Use when a PDF came out well and the user wants that look reusable ("save this as a profile", "I want to reuse this style", "add this to my Typst templates"), or when auditing which profiles already exist before building a new one./business-docGenerate a Typst document using the user's business template (`business-doc`). Business logo in header, footer link to `{business.site}`. Use for general business documents that are not client-specific and not confidential (proposals, whitepapers, external reports). Requires profile.business to be populated./client-confidentialGenerate a Typst document using the user's `client-confidential` template. Bold "CONFIDENTIAL — {client}" header, confidentiality notice on the cover, "Confidential — {client}" in the footer, business site link. Use for client deliverables that must be marked confidential. Requires profile.business and a client name at invocation.Other plugins' skills for the same job