/grand-rounds:template-matchingfrom grand-rounds
Analyzes PowerPoint templates and extracts design tokens (colors, fonts, layouts) into a theme.json for faithful reproduction in new presentations or HTML decks.
Ships in grand-rounds. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The template is the user's institution speaking; reproduce it, don't reinterpret it.
Measure the template, write what you measured into theme/theme.json, and let both
builders read that file. Template elements (header bars, logos, footers, closing slides)
are never "slop" and never improved upon.
Scan the file:
python scripts/scan_template.py template.pptx --out <talk>/theme --render
This writes scan.json: slide size, theme colours, theme fonts, fonts actually used on
slides, every layout and its placeholders, background images, and media with sizes. It
also extracts the media files. --render exports a PNG of each slide when PowerPoint
(Windows) or LibreOffice is installed.
Look at the renders. Background images often carry the real design (a coloured header band, a footer with the logo). Theme colours are often Office defaults that the template never uses. Sample colours from the renders or background images:
python scripts/scan_template.py template.pptx --sample theme/media/image2.jpeg 500,40 500,700
Write theme/theme.json (shape below). Record geometry in the template's own
proportions (fractions of slide width/height), so it maps onto 1920 × 1080 or 13.33 in.
Note what not to copy: watermarked stock photos, low-resolution logos (ask for the
original file), 4:3 backgrounds stretched to 16:9. Put these in theme/notes.md and
tell the user.
theme/theme.json{
"source": "template.pptx", "aspect": "16:9",
"fonts": {"heading": "Arial", "body": "Arial", "serif_banner": "Times New Roman"},
"colors": {"primary": "#09B1BE", "primary_dark": "#057E88", "rule": "#400D12",
"title_text": "#FFFFFF", "accent": "#E8141B", "ink": "#1A1A1A",
"muted": "#666666", "band": "#EBE8E3",
"intervention": "#D7262E", "control": "#5B6B82"},
"logo": {"file": "theme/logo.png", "position": "footer-right", "height_frac": 0.11},
"layouts": {
"title": {"header_banner": true, "band_frac": [0.19, 0.71], "title_case": "upper", "title_color": "accent"},
"content": {"header_frac": [0, 0.134], "header_rule_px": 6, "footer_frac": [0.852, 1],
"title_case": "upper", "title_align": "center"},
"closing": {"use": "title layout with thank-you text"}
},
"type_scale_px": {"title": 64, "subtitle": 34, "body": 24, "small": 20, "footer": 21}
}
Add intervention and control colours that fit the template and stay readable.
Check that they differ in lightness, so they survive colour-blindness and greyscale
printing.
Propose a restrained palette from the brief (a hospital's brand colour if public, else a
neutral one). Ask the user to confirm it in one question with a rendered swatch, then write
theme.json the same way.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub drtranquanghung91-vn/grand-rounds --plugin grand-rounds12 skills in this plugin
/audit-deckAudit an existing medical slide deck (HTML or PPTX) for AI-slop patterns, wrong numbers, unverifiable references and patient identifiers./deck-grillingUse when a medical presentation is about to be planned or built and the deck type, audience, purpose, duration, language, output format (HTML or PPTX), template or sources have not all been stated by the user, or when someone wants their talk idea stress-tested./deck-planningUse when a confirmed brief exists for a medical presentation and the storyline, slide-by-slide outline or time budget has not been written or approved yet, or when an outline needs restructuring./evidence-auditUse when a medical slide deck (HTML or PPTX) is built or edited and before it is presented, shared or called finished; when numbers, hazard ratios, percentages, recommendations or references on slides need checking against their sources; or when a clinical-case deck may contain patient identifiers./evidence-researchUse when a medical presentation needs facts, numbers, trial results, guideline recommendations or references, whether from papers the user supplied or from a literature search (PubMed, Europe PMC, ClinicalTrials.gov, OpenEvidence), and before any number is written on a slide./grill-deckInterview me about a medical talk until the brief is clear, before any slides are made.Other plugins' skills for the same job