/typst-document-generator:public-docfrom typst-document-generator
Generate a Typst document using the user's `public-doc` template — same base as personal-doc but adds a footer link to `{author.personal_site}` and an open-source license notice (defaults to `profile.default_license`, overridable per-invocation). Use when the user says the document is being published publicly, shared externally, or distributed with code.
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 — see shared/workspace.md for the data-store schema.
Typst must be installed (
which typst). Do not try to install automatically.
"${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 public-doc. 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:.profile.author.personal_site is empty, tell the user the public-doc footer will look wrong and ask whether to continue or edit profile first.Ask for: title, optional subtitle, output path.
Resolve license variable:
profile.default_license (usually MIT).Apache-2.0, CC-BY-4.0, CC-BY-SA-4.0, GPL-3.0, All Rights Reserved, etc.All Rights Reserved or omit the license line — ask which.Ask if AI-assisted. Strongly prefer inline placement for public docs (transparency).
Copy the base file (styles.typ; overlay bases/ first, see paths.sh bases) next to the output .typ.
Generate the .typ scaffold:
#import "./styles.typ": doc-base, ai-disclosure-block
#show: doc-base.with(
title: "{TITLE}",
subtitle: {SUBTITLE OR none},
author: "{author.name}",
footer-lines: (
link("https://{author.personal_site}")[{author.personal_site}],
[Licensed under {LICENSE}],
),
// optional ai-disclosure
)
= Introduction
Public-facing intro. Assume the reader has no prior context.
Compile and surface errors verbatim on failure.
Report the PDF path.
= References chapter.tech-comms-diagrams plugin.shared/ecosystem.md or invoke /typst-document-generator:use-toolkit.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./briefingGenerate 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./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.Other plugins' skills for the same job