Kami
Purpose
Typeset professional documents with the Kami editorial design system only when the user explicitly asks for Kami, the Kami skill, or the Kami editorial design system by name. Generic presentation, document, report, resume, PDF, and PowerPoint requests should use the native artifact tools instead.
This CoWork bundle ports the upstream Kami skill into a bundled skill with a workspace-local scaffold flow. The goal is to keep the strong visual system available on request while avoiding edits to bundled templates under resources/skills/.
Licensing Note
- Upstream Kami is MIT licensed.
- This bundled port includes the open English font assets used by the upstream project.
- This bundled port does not ship the proprietary Chinese serif font
TsangerJinKai02-W04.ttf. - Chinese HTML templates in this port are patched to rely on system serif fallbacks by default.
- If a user has a licensed copy of that font and wants to use it, they can add it to the scaffolded project intentionally.
Supported Outputs
one-pagerlong-docletterportfolioresumeslidesdiagram-architecturediagram-flowchartdiagram-quadrant
Project Layout
The CoWork wrapper scaffolds a workspace-local project with a stable shape:
templates/for document or slide source filesdiagrams/for standalone diagram HTMLfonts/for bundled open fonts and optional user-supplied licensed fontsoutputs/for rendered PDF and PPTX filesmanifest.jsonfor scaffold metadata
Edit only the scaffolded project files. Do not edit bundled files under this skill directory.
Workflow
- Resolve document type and language before creating files.
- Run
scripts/setup.shto detect local render support. - Run
scripts/bootstrap_project.pyto scaffold a workspace-local project. - Read the smallest useful reference set:
CHEATSHEET.mdorCHEATSHEET.en.mdfor light editsreferences/design*.mdfor new documents or larger layout workreferences/writing*.mdfor section structure and editorial tonereferences/production*.mdfor rendering issuesreferences/diagrams*.mdfor standalone diagram work
- If the user gives raw notes, distill them before styling:
- extract facts and metrics
- classify them into the target section structure
- identify what is missing
- ask once instead of inventing missing claims
- Keep the visual system intact. Favor content edits and small layout adjustments over broad CSS reinvention.
- Render HTML-based outputs with
scripts/render_html.py. - Render slides with
scripts/render_slides.mjs, pointing it at the scaffoldedslides.mjsorslides-en.mjssource file and the project'soutputs/directory.
Design Constraints
- Parchment background, never pure white
- Ink-blue as the only accent color
- Warm neutrals, no cool gray UI defaults
- Serif carries the hierarchy
- Tight editorial spacing, not loose slideware spacing
- Avoid glossy UI flourishes, hard shadows, and loud gradients
Chinese Font Rule
When upstream references mention TsangerJinKai02, treat that as an optional licensed upgrade, not a bundled requirement in this CoWork port. Default to the patched fallbacks already present in the scaffolded Chinese HTML templates unless the user explicitly provides a licensed font file.
Reference Map
CHEATSHEET.md/CHEATSHEET.en.md: quick style and template referencereferences/design.md/design.en.md: visual rules and layout tokensreferences/writing.md/writing.en.md: section structure and editorial guidancereferences/production.md/production.en.md: rendering and export troubleshootingreferences/diagrams.md/diagrams.en.md: standalone diagram guidancescripts/bootstrap_project.py: scaffold workspace-local source filesscripts/render_html.py: render a source HTML file to PDF with placeholder checksscripts/render_slides.mjs: render slide source tooutput.pptxand optionallyoutput.pdfscripts/setup.sh: preflight local document-render dependenciesscripts/build.py: upstream bundle build/verification helper retained for reference
Runtime Prompt
- Runtime prompt is defined directly in
../kami.json.