pro-report-builder
Skill159 starsChanged 9 months agoMITView on GitHub
Create polished HTML technical reports and multi-page documents for consulting deliverables. Includes a customizable design system with dark cover page, warm cream content pages (8.5x11 portrait), professional typography, and a curated component library (KPI cards, data tables with severity coloring, callout boxes, recommendation cards, priority banners). Trigger on report, audit report, technical document, written report, assessment, or multi-page document. Outputs standalone HTML files exported to PDF via Chrome headless.
In this repository55 other files it gives its agents.
- ab-testing-frameworkSkill
- account-structure-reviewSkill
- aeo-geo-optimizerSkill
- brand-dnaSkill
- brand-voice-guidelinesSkill
- brazeSkill
- cold-email-outreachSkill
- competitor-ads-analystSkill
- content-creatorSkill
- content-pipelineSkill
- content-workflowSkill
- copywriting-frameworksSkill
- cro-auditorSkill
- cross-platform-auditSkill
- customer-journey-mappingSkill
- data-viz-deckSkill
- dep-auditSkill
- email-composerSkill
- facebook-adsSkill
- frontend-designSkill
- github-readmeSkill
- google-adsSkill
- google-analyticsSkill
- google-tag-managerSkill
- html-report-builderSkill
- icp-researchSkill
- klaviyo-analystSkill
- klaviyo-developerSkill
- landing-page-optimizerSkill
- linkedin-adsSkill
- llms-txtSkill
- looker-studioSkill
- market-researchSkill
- microsoft-adsSkill
- pricing-strategySkill
- pro-deck-builderSkill
- programmatic-seoSkill
- release-notesSkill
- remotion-videoSkill
- repo-healthSkill
- repo-scaffoldSkill
- research-digestSkill
- retention-churn-preventionSkill
- safe-pushSkill
- schema-markup-generatorSkill
- seo-content-writerSkill
- shopifySkill
- social-media-strategySkill
- social-previewSkill
- sync-reposSkill
- tech-diagramSkill
- technical-seo-auditSkill
- tiktok-adsSkill
- utm-attribution-strategySkill
- wasted-spend-finderSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 13 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 56
Where should the file be saved?: Default: ./output/
- Distinctive: line 60
Every report follows this structure:
- Distinctive: line 178
All components are documented with full HTML + CSS in REFERENCE.md.
- Distinctive: line 222
Every report must include:
- Distinctive: line 243
One section per page when possible: If a section spans multiple pages, use "(continued)" on subsequent pages.
- Distinctive: line 245
Callout after evidence: Every data table should be followed by a callout summarizing the key insight.
- Distinctive: line 246
Never estimate when actuals exist: If the data has exact values, compute precise totals.
- Distinctive: line 247
Benchmark everything: Always show industry benchmarks alongside metrics.
- Very specific: line 250
Accent rules under section titles: Every .section-title is followed by <hr class="accent-rule">.
- Distinctive: line 251
Consistent rec-card fields: Every recommendation card should have at minimum: title bar, ISSUE, ACTION fields.
- Distinctive: line 279
Test every page in the browser: before exporting to PDF
- Distinctive: line 283
Update ALL downstream page numbers: when redistributing
- Very specific: line 289
No white backgrounds: Always #FAF7F2 (warm cream) for content pages.
- Very specific: line 290
No bold section titles: Use Regular (400) for .section-title.
- Very specific: line 295
No unformatted numbers: Always use $X,XXX or $XXXK with tabular-nums.
- Distinctive: line 296
No inline styles when a class exists: Use the component library.
- Distinctive: line 297
No monospace fonts in page footers: Use body font for footers.
- Very specific: line 299
No missing accent rules: Every .section-title must be followed by <hr class="accent-rule">.
- Distinctive: line 307
Use Chrome headless for reliable 8.5x11" portrait PDF generation:
- Very specific: line 329
Every report MUST include this @page rule and @media print block:
≈ “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.
Files
Pro Report Builder
Polished consulting reports as standalone HTML. Export to PDF via Chrome headless.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/pro-report-builder ~/.claude/skills/Quick Reference
| Task | Approach |
| Create report from scratch | Read REFERENCE.md for CSS + HTML patterns |
| Add a new component type | Compose from existing components in REFERENCE.md |
| Export to PDF | Chrome headless --print-to-pdf (see Export section) |
| Customize brand tokens | Edit CSS custom properties in :root block |
When to Use This Skill vs pro-deck-builder
| pro-report-builder | pro-deck-builder | |
| Format | 8.5x11" portrait pages | 16:9 landscape slides |
| Content flow | Multi-page, flowing text | Single-slide compositions |
| Export | Chrome headless --print-to-pdf | Puppeteer |
| Use for | Audit reports, assessments, written deliverables | Presentation decks, pitch slides |
Before You Start
Step 1: Understand the Brief
Ask the user:
- What type of document? Audit report, assessment, technical brief, case study?
- How many pages roughly? Helps plan section flow and page distribution.
- What data do they have? Raw numbers, API exports, spreadsheets? Pull exact values -- never estimate when actuals exist.
- Where should the file be saved? Default:
./output/
Step 2: Plan the Document Structure
Every report follows this structure:
Cover Page --> Executive Summary --> Analysis Sections (3-6) --> Prioritized Recommendations --> Quick Wins --> AppendixEach analysis section should occupy 1-2 pages. Recommendation cards are the most space-intensive component -- budget carefully.
Design System
Customizable Brand Identity
The included design system provides a professional default. All color tokens, typography, and spacing are defined as CSS custom properties in :root. Override these to match your brand.
Color Tokens
:root {
/* Accent -- change this to your brand color */
--accent: #3D7A5C;
--accent-dim: rgba(61, 122, 92, 0.08);
--accent-dark: #2E6B4A;
--accent-light: #6AB88A;
/* Severity */
--excellent: #2e8b57;
--warning: #D97706;
--critical: #c0392b;
/* Light-mode backgrounds (warm cream) */
--bg-page: #FAF7F2;
--bg-surface: #F2EDE6;
--bg-elevated: #EBE5DD;
/* Light-mode text */
--text-primary: #0f0e0e;
--text-body: #57606a;
--text-muted: #8b949e;
/* Borders */
--border: rgba(15, 14, 14, 0.1);
--border-dim: rgba(15, 14, 14, 0.06);
/* Callout tints */
--tint-blue: #eaf2ed;
--tint-green: #eaf5ef;
--tint-red: #fef2f2;
--tint-amber: #fffbeb;
/* Dark mode (cover page only) */
--dark-bg: #141414;
--dark-surface: #1E1E1E;
--dark-text: #f0f3f6;
--dark-muted: #6e7681;
--dark-secondary:#9ca3af;
--dark-border: rgba(255, 255, 255, 0.08);
}Color rules:
- Warm cream (
#FAF7F2) backgrounds on ALL content pages -- NOT white. This is a brand differentiator. - Dark mode (
#141414) is reserved for the cover page only. - Accent color for accent rules, table headers, bullet markers, priority banner accents, rec-card left stripes. Used deliberately, never for decoration.
- Severity colors (green/amber/red) ONLY for performance indicators. Never decorative.
- Callout tints (blue/green/red/amber) for left-bordered callout boxes matching their severity.
Typography
| Role | Font | Weight | Size | Tracking | Notes |
| Cover title | Switzer | Light (300) | 36pt | -0.03em | Document name on dark cover. |
| Cover subtitle | Switzer | Regular (400) | 16pt | normal | Below cover title. Color: --dark-muted. |
| Cover tag | Cartograph CF | Regular (400) | 8pt | +0.15em | ALL CAPS. Color: --accent. Above title. |
| Section title | Switzer | Regular (400) | 18pt | -0.02em | Content page h2. Followed by accent rule. |
| Subsection title | Switzer | SemiBold (600) | 12.5pt | normal | Content page h3. |
| Body text | Switzer | Regular (400) | 9.5pt | normal | Paragraphs, descriptions. Line-height: 1.6. |
| Table header | Cartograph CF | SemiBold (600) | 7.5pt | +0.05em | ALL CAPS. White text on accent bg. |
| Table body | Switzer | Regular (400) | 8.5pt | normal | Alternating row backgrounds. |
| KPI value | Cartograph CF | SemiBold (600) | 16pt | -0.02em | KPI card numbers. |
| KPI label | Cartograph CF | Regular (400) | 6.5pt | +0.06em | ALL CAPS. Below KPI values. |
| Rec-card label | Cartograph CF | SemiBold (600) | 7.5pt | +0.04em | ALL CAPS. Field labels. |
| Priority banner | Cartograph CF | SemiBold (600) | 9pt | +0.08em | ALL CAPS. Priority tier labels. |
| Page footer | Switzer | Regular (400) | 7pt | +0.03em | Centered. Color: --text-muted. |
Critical typography rules:
- Cover title uses Light (300), NOT Bold. Light at large sizes = confident, premium.
- Monospace font for ALL numeric/data content. KPI values, table headers, rec-card labels, priority banners.
- Body text at 9.5pt with 1.6 line-height. Reading-optimized document, not a slide.
- Table headers are ALL CAPS monospace on accent background. Distinctive table style.
Font defaults (swappable):
- Switzer: loaded from Fontshare CDN (free). Fallback:
system-ui, sans-serif - Cartograph CF: commercial, loaded via
local(). Fallback:JetBrains Mono, monospace
Page Dimensions
Width: 8.5in
Height: 11in
Orientation: PortraitSpacing
| Zone | Value |
| Content padding | 0.6in 0.75in 0.7in |
| Cover page padding | 0 1in 1in (bottom-aligned) |
| Page footer | Absolute positioned, bottom: 0, padding: 10px 0.75in 14px |
| Section title margin-bottom | 4px (then accent rule adds 20px below) |
| Subsection title margin | 20px top, 8px bottom |
Component Library
All components are documented with full HTML + CSS in REFERENCE.md. Here is what is available:
Page Structure
| Component | Class | Use |
| Page Container | .page | 8.5x11" page with shadow. |
| Cover Page | .cover-page | Dark cover with bottom-aligned content. |
| Content Area | .content | Padded content region within a page. |
| Page Footer | .page-footer | Centered footer with doc name + page number. |
| Section Title | .section-title + .accent-rule | Section heading with accent underline. |
| Section Continued | .section-continued | "(continued)" tag for multi-page sections. |
Data Display
| Component | Class | Use |
| KPI Row | .kpi-row / .kpi-card | 4-column grid of big-number cards. |
| KPI Card (Risk) | .kpi-card--risk | Red-tinted variant for risk/negative KPIs. |
| Data Table | table with severity classes | Striped rows, accent headers, severity colors. |
Content Blocks
| Component | Class | Use |
| Callout Box | .callout + .callout-{color} | Left-bordered insight box (blue/green/red/amber). |
| Body Text | .body-text | Standard paragraph text. |
| Bullet List | .bullet-list | Accent-colored dot bullets. |
| Numbered List | .numbered-list | Mono-font accent markers. |
Recommendations
| Component | Class | Use |
| Priority Banner | .priority-banner + level class | Tier label (CRITICAL/HIGH/MEDIUM/LOW). |
| Recommendation Card | .rec-card + level class | Multi-field card with left accent stripe. |
| Quick Wins Table | Table with .qw-num | Numbered action items table. |
Document Compositions
Mandatory Pages
Every report must include:
- Cover Page (
.cover-page) -- Dark background, document title, metadata (date, account, period) - Executive Summary -- KPI row + key findings callout + brief narrative
- Recommendations -- Prioritized rec-cards grouped by priority tier
- Quick Wins -- Short action table for immediate wins
Content Page Types
| Type | When to Use | Key Components |
| Data Table + Narrative | Inventory, benchmarking | Table + .body-text + .bullet-list |
| Callout Stack | Deep-dive on specific items | Multiple .callout boxes (green/red/amber) |
| Table + Callout | Performance data with insight | Table + single callout summary |
| Rec-Card Stack | Prioritized recommendations | .priority-banner + .rec-card stack |
| Mixed Analysis | Multi-part section | Tables + callouts + bullets + subsections |
Narrative Rules
- One section per page when possible. If a section spans multiple pages, use "(continued)" on subsequent pages.
- Lead with the data. Tables and KPI cards BEFORE the narrative explanation.
- Callout after evidence. Every data table should be followed by a callout summarizing the key insight.
- Never estimate when actuals exist. If the data has exact values, compute precise totals.
- Benchmark everything. Always show industry benchmarks alongside metrics.
- Severity colors = signal. Green/amber/red ONLY for performance indicators.
- Callout colors match severity.
.callout-greenfor strengths,.callout-redfor problems,.callout-amberfor warnings,.callout-bluefor neutral insights. - Accent rules under section titles. Every
.section-titleis followed by<hr class="accent-rule">. - Consistent rec-card fields. Every recommendation card should have at minimum: title bar, ISSUE, ACTION fields.
Page Overflow Prevention
Pages are fixed at 11in tall. Content that exceeds the page container overflows visibly in the PDF. Every page must be budgeted before building.
Height Budget
| Zone | Height |
| Content padding (top + bottom) | ~1.3in |
| Page footer | ~0.4in |
| Usable content area | ~9.3in |
Component Density Limits
| Component | Max items per page | Dense mode override |
| Rec-cards (full fields) | 3 cards | For 4+: drop optional fields |
| Rec-cards (minimal) | 4-5 cards | Reduce margin to 8px 0 12px |
| Data tables | 10-12 rows | For 13+: reduce font to 7.5pt, padding to 3px 8px |
| Callout boxes | 3-4 per page | Reduce padding to 10px 14px |
| Bullet lists | 6-8 items | Shorten descriptions |
Page Break Strategy
- Test every page in the browser before exporting to PDF
- Redistribute content across pages when overflow occurs
- Each
<div class="page">is one PDF page - Use
.keep-togetheron components that should not split across pages - Update ALL downstream page numbers when redistributing
Anti-Patterns (Never Do)
- No white backgrounds. Always
#FAF7F2(warm cream) for content pages. - No bold section titles. Use Regular (400) for
.section-title. - No decorative accent bars beyond the 40px accent rule under section titles.
- No emoji in reports. Unless the user explicitly requests them.
- No dark-mode content pages. Dark is only for the cover page.
- No walls of text. Break long prose into bullet lists. Max 3 sentences per callout.
- No unformatted numbers. Always use
$X,XXXor$XXXKwith tabular-nums. - No inline styles when a class exists. Use the component library.
- No monospace fonts in page footers. Use body font for footers.
- No orphan rec-cards. Priority tier banner + first card must be on same page.
- No missing accent rules. Every
.section-titlemust be followed by<hr class="accent-rule">.
PDF Export
Automated Export (Preferred)
Use Chrome headless for reliable 8.5x11" portrait PDF generation:
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--headless \
--disable-gpu \
--print-to-pdf="/OUTPUT/PATH/report.pdf" \
--no-pdf-header-footer \
--print-to-pdf-no-header \
"file:///PATH/TO/report.html"Manual Export (Fallback)
- Open the HTML file in Chrome
Cmd+P--> Save as PDF- Set margins to "None"
- Enable "Background graphics"
- Paper size: Letter (8.5" x 11")
Required Print CSS
Every report MUST include this @page rule and @media print block:
@page { size: 8.5in 11in; margin: 0; }
@media print {
* { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
body { background: white; margin: 0; }
.page {
margin: 0;
box-shadow: none;
page-break-after: always;
page-break-inside: avoid;
width: 8.5in;
min-height: 11in;
}
.page:last-child { page-break-after: avoid; }
}QA Checklist
Before delivering, verify:
Data Accuracy
- All numbers are accurate and internally consistent
- Percentages add up where they should
- Revenue figures match across exec summary KPIs, tables, and rec-card references
Page Overflow (check EVERY page)
- No content overflows page boundaries
- Rec-card pages have max 3 full-field cards
- Data tables with 13+ rows use dense mode
Visual Consistency
- Every content page has a
.page-footerwith correct page number - Cover page has NO
.page-footer - Every
.section-titleis followed by<hr class="accent-rule"> - Multi-page sections use "(continued)"
- Callout colors match their severity
- Priority banners use correct level class
PDF Export
@pagerule present withsize: 8.5in 11inprint-color-adjust: exactapplied globally- All background colors render in PDF
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
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.

