agentleFS
thatrebeccaraethatrebeccarae/claude-marketing/skills/html-report-builder/SKILL.md

html-report-builder

Skill159 starsChanged 9 months agoMITView on GitHub

Create polished HTML technical reports and multi-page documents for consulting deliverables. Features a professional design system with dark cover pages, warm cream content pages, Switzer + Cartograph CF typography, and a curated component library (KPI cards, data tables, callout boxes, recommendation cards, priority banners). Outputs standalone HTML that prints cleanly to PDF.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the deliverable is a report (not slides — use pro-deck-builder for decks)

    line 31
  2. Distinctive:

    One insight per section: If a section makes two points, split it.

    line 133
  3. Distinctive:

    Benchmark everything: Never show a metric without context.

    line 134
  4. Very specific:

    No white backgrounds: Always warm cream #FAF7F2.

    line 136

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

HTML Report Builder

Polished consulting reports as standalone HTML. Print to PDF via browser.

Install

git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/html-report-builder ~/.claude/skills/

When to Use

  • Audit reports, performance analyses, strategy documents
  • Any multi-section document that needs professional formatting
  • When the deliverable is a report (not slides — use pro-deck-builder for decks)

Quick Reference

TaskApproach
Create report from scratchRead REFERENCE.md for CSS + HTML patterns
Add a new componentCompose from existing components in REFERENCE.md
Export to PDFOpen in browser → Print → Save as PDF (Cmd+P)
Update design tokensEdit CSS custom properties in :root block

Before You Start

Ask the user:

  1. What type of report? Audit, strategy, performance review, case study?
  2. How many sections? Helps plan the document structure.
  3. What data do they have? Raw numbers, API exports, spreadsheets?
  4. Where should the file be saved? Get an explicit path.

Design System

Color Tokens

:root {
  /* Dark mode (cover page only) */
  --bg-deep: #141414;
  --bg-surface: #1E1E1E;
  --bg-elevated: #282828;
  --text-bright: #f0f3f6;
  --text-secondary-dark: #9ca3af;

  /* Light mode (content pages — the default) */
  --bg-light: #FAF7F2;
  --bg-light-surface: #F2EDE6;
  --text-primary: #0f0e0e;
  --text-secondary: #57606a;
  --text-muted: #8b949e;

  /* Brand accent */
  --accent: #3D7A5C;
  --accent-light: #6AB88A;

  /* Semantic */
  --green: #2e8b57;
  --red: #c0392b;
  --amber: #D97706;
}

Color Rules

  • Light mode (#FAF7F2 warm cream) is default for all content pages. NOT white.
  • Dark mode (#141414) only for: cover page.
  • Accent green (#3D7A5C) used sparingly: key metrics, accent callouts.
  • Semantic colors (green/amber/red) only for status indicators, never decoration.

Typography

RoleFontWeightSize
Report titleSwitzerLight (300)48-64px
Section headingSwitzerRegular (400)28-32px
Subsection headingSwitzerMedium (500)20-22px
Body textSwitzerRegular (400)16-17px
KPI numberCartograph CFBold (700)36-48px
Data labelCartograph CFRegular (400)13px
Table dataCartograph CFRegular (400)14px

Critical rules:

  1. Headlines use Light (300), NOT Bold. Light at large sizes = confident, premium.
  2. Cartograph CF for ALL numeric/data content. KPIs, table numbers, labels.
  3. Negative tracking on headlines. -0.03em to -0.04em.
  4. Positive tracking on ALL CAPS labels. +0.08em to +0.1em.

Font loading:

  • Switzer: free from Fontshare CDN
  • Cartograph CF: commercial, loaded via local(). Fallback: 'JetBrains Mono', 'Consolas', monospace

Document Structure

Cover Page (dark) → Table of Contents → Executive Summary → Findings (3-6 sections) → Recommendations → Appendix

Component Library

ComponentUse
KPI CardBig number + label + detail
Data TableStyled table with mono numbers, severity colors
Callout BoxHighlighted insight or bottom-line statement
Recommendation CardNumbered action with impact + effort badges
Priority BannerCritical/warning/info alert bar
Section DividerVisual break between major sections
Bullet ListStyled list with custom markers
Numbered ListOrdered list with accent-colored numbers

Narrative Rules

  1. Lead with the number. Metric-first, explanation second.
  2. One insight per section. If a section makes two points, split it.
  3. Benchmark everything. Never show a metric without context.
  4. Color = meaning. Green/amber/red only for performance indicators.
  5. No white backgrounds. Always warm cream #FAF7F2.
  6. No bold headlines. Switzer Light (300) for report title and hero headings.

PDF Export

Open the HTML file in Chrome/Safari → Cmd+P → Save as PDF. Set margins to "None" and enable "Background graphics."

For complete CSS framework and HTML patterns, see REFERENCE.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.