kai-report-creator
SKILL.md
kai-report-creator
Generate beautiful, single-file HTML reports with mixed text, charts, KPIs, timelines, diagrams, and images — zero build dependencies, mobile responsive, embeddable anywhere, and machine-readable for AI pipelines.
Core Principles
- Zero Dependencies — Single HTML files with all CSS/JS inline or from CDN. No npm, no build tools.
- User Provides Data, AI Provides Structure — Never fabricate numbers or facts. Use placeholder text (
[INSERT VALUE]) if data is missing. - Progressive Disclosure for AI — Output HTML embeds a 3-layer machine-readable structure (summary JSON → section annotations → component raw data) so downstream AI agents can read reports efficiently.
- Mobile Responsive — Reports render correctly on both desktop and mobile.
- Plan Before Generate — For complex reports,
--plancreates a.report.mdIR file first;--generaterenders it to HTML.
Command Routing
When invoked as /report [flags] [content], parse flags and route:
| Flag | Action |
|---|---|
--plan "topic" |
Generate a .report.md IR file only. Do NOT generate HTML. Save as report-<slug>.report.md. |