--- name: pdf-design description: Design and edit professional PDF reports and proposals with live preview user_invocable: true trigger_patterns: - "create.*report" - "create.*proposal" - "pdf.*report" - "funding.*proposal" - "design.*pdf" - "make.*proposal" - "edit.*report" - "preview.*report" --- # PDF Design System Create and edit professional PDF reports and funding proposals with live preview and iterative design. ## Interactive editing mode During a design session, use these commands: | Command | Action | |---------|--------| | `preview` | Screenshot current state | | `preview page N` | Screenshot specific page | | `show cover` | Preview cover page | | `show budget` | Preview budget section | | `regenerate` | Create new PDF | | `upload` | Upload to Google Drive | | `done` | Finish session | **Workflow:** 1. You say "preview" → I show current state 2. You describe changes → I implement them 3. Repeat until done → Generate final PDF --- ## Quick start ```bash # Copy template to start new report cp ~/.claude/plugins/pdf-design/templates/democracy-day-proposal.html ./new-report.html # Generate PDF (must use snap-accessible path) mkdir -p ~/snap/chromium/common/pdf-work cp new-report.html ~/snap/chromium/common/pdf-work/ chromium-browser --headless --disable-gpu \ --print-to-pdf="$HOME/snap/chromium/common/pdf-work/output.pdf" \ --no-pdf-header-footer \ "file://$HOME/snap/chromium/common/pdf-work/new-report.html" ``` ## Document types - **Funding proposals** — Grant requests with budgets - **Program reports** — Initiative updates - **Impact reports** — Metrics and outcomes - **Budget summaries** — Financial breakdowns ## Key principles 1. **Sentence case** — Never Title Case 2. **Left-aligned** — Never justified text 3. **Print-ready** — 8.5" × 11" letter size 4. **Brand consistent** — CCM red or program palettes --- ## Brand guidelines ### CCM standard colors ```css :root { --ccm-red: #CA3553; --ccm-black: #000000; --ccm-gray: #666666; --ccm-light: #e2e8f0; } ``` ### Program-specific (Democracy Day) ```css :root { --civic-navy: #1a2b4a; --civic-blue: #2d4a7c; --civic-gold: #c9a227; --civic-red: #b31942; } ``` ### Typography ```html ``` ```css body { font-family: 'Source Sans Pro', sans-serif; font-size: 0.875rem; line-height: 1.6; } h1, h2, h3 { font-family: 'Montserrat', sans-serif; } ``` --- ## HTML structure ### Page setup ```css @page { size: letter; margin: 0; } .page { width: 8.5in; height: 11in; padding: 0.5in 0.65in; position: relative; page-break-after: always; } ``` ### Cover page ```html
Brief description.
| Expense | Per year | Total |
|---|---|---|
| ItemDetails | $10,000 | $20,000 |
| Total | $50,000 | $100,000 |