Slideshow Skill
Create a content-led deck from a reusable component system. Treat a reference PDF as visual evidence, not as a fixed narrative template. Keep the JSON brief, approved assets, and provenance as source; treat HTML and PDF as generated outputs.
Workflow
-
Accept input in the form most convenient to the user: pasted copy, conversation attachments, named files, individual paths, or folders. Do not require an
inputs/folder or any fixed directory layout. Inventory the available copy, images, logos, captions, provenance, output requirements, and optional reference PDF. Resolve every image used by the renderer to an accessible local file. Never fetch restricted or unapproved assets. -
Choose the visual language. If the user supplies a new visual reference or explicit art direction, inspect it and extract a style contract: page ratio, palette, typography roles, spacing, image treatment, recurring components, and density. Otherwise, use the bundled warm-editorial preset by default without asking the user to provide another reference. Do not copy a reference's content framework unless requested.
-
Derive the page sequence from the project narrative. Give every page one primary claim, then select the smallest suitable component for it.
-
Copy
assets/example-brief.jsonto the working output directory and replace its sample content. Readreferences/brief-schema.mdwhen creating or validating the brief. -
Preserve asset provenance in the
assetsmap. Use local paths relative to the brief whenever possible. Record rights uncertainty explicitly. -
Render HTML with the bundled zero-dependency script:
python scripts/render_deck.py path/to/brief.json --output path/to/deck.html -
When Chrome, Chromium, or Edge is available, export PDF and run overflow preflight:
python scripts/render_deck.py path/to/brief.json --output path/to/deck.html --pdf path/to/deck.pdf --preflight -
Render the PDF to page images or inspect representative screenshots. Perform at least one inspect/fix/re-render cycle. Fix text overflow, font substitution, low-resolution images, awkward crops, inconsistent spacing, and missing credits before delivery.
-
Deliver the PDF for review together with the structured brief and linked/approved source assets when editability matters. Keep client-private files and raw assets out of Git.
Guide nontechnical users through the workflow in plain language. Summarize what was received, infer safe defaults, and ask only for information whose absence would materially change the result. Do not require the user to understand JSON, HTML, command lines, or folder conventions. At the end, report the generated file paths and suggest the most useful pages or issues to review first.
Component selection
- Use
cover_splitfor a title plus one or two establishing images. - Use
statement_centeredfor a single curatorial thesis. - Use
chapter_openerfor a deliberate pacing break. - Use
image_text_spreadfor an object, place, artist, or case study. - Use
comparefor two or three parallel ideas. - Use
card_gridfor exhibition zones, principles, or workstreams. - Use
timelinefor phases and milestones. - Use
asset_manifestto expose image provenance and review state. - Use
closing_quotefor the final proposition or invitation.
Vary the sequence according to the copy. Do not force every component into every deck.
Editorial rules
- Keep one main judgment per page.
- Prefer a strong image-text relationship over decorative density.
- Shorten copy before shrinking body text below a comfortable reading size.
- Use explicit line breaks only when they are part of the composition.
- Keep captions and credits close to their images.
- Use the supplied typefaces only when their installation and distribution rights are known; otherwise choose broadly available fallbacks and report substitutions.
- Treat warnings from the renderer as review items, not proof of correctness.
Reference-style adaptation
Use the bundled warm-editorial preset whenever the user does not provide a new visual reference or explicit style direction. Use an A4 landscape page, warm paper, dark brown, oxblood, brass accents, serif display type, sans-serif body type, generous whitespace, and restrained rules. This preset was derived from the Huqiu reference's visual characteristics only. It is not a hotel, investment, or architecture-story framework.
When a new reference is supplied, update the brief's style values and page choices first. Patch the renderer only when the reference demonstrates a reusable component that the current set cannot express.
Output and compliance
- Default to embedded local images so the HTML is portable. The renderer never downloads remote images.
- PDF is the primary review and delivery format. The JSON brief remains the editable structured source.
- This skill does not currently generate a native office-editable deck. If the client explicitly needs one, treat PPTX as a separate output pilot; do not claim the HTML/PDF is natively editable.
- If an asset has
unknown,rights_reserved, or pending review status, keep that status visible in the brief and avoid external publication without permission.