kagen

Community

Render Kami HTML into production PDFs fast

AuthorEliasOulkadi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

kagen solves the problem of turning Kami-designed HTML templates into reliable, production-grade PDFs that preserve styling, pagination, fonts, and dynamic content.

Core Features & Use Cases

  • Convert HTML-to-PDF with Chromium/Playwright: Render Kami HTML output to PDF using Playwright so PDFs work consistently across environments (including Windows).
  • Production pagination & print CSS patterns: Apply robust print-ready CSS rules (like @page, printBackground, widows/orphans, and page-break controls) to avoid near-empty pages and broken layouts.
  • Dynamic/JS-capable rendering: Use Chromium so the final PDF reflects fully rendered content (charts, scripts, and JS-driven elements) instead of plain static HTML.

Use it when you need to export documents from Kami (design) to PDFs (shipping), especially for documents with strict layout requirements (reports, white papers, one-pagers, letters, resumes).

Quick Start

Ask the agent to render your Kami HTML output to a PDF using Playwright/Chromium and produce the final file.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kagen
Download link: https://github.com/EliasOulkadi/shokunin/archive/main.zip#kagen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.