# slide-wright: presentations with previews of custom themes (arifszn/slide-wright) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-23 against commit a4c9a50 (version 1.12.1).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/arifszn/slide-wright/

## Explain it to a non-programmer
Your AI assistant makes a presentation from a topic, rough notes or an outline. It first shows you the same two slides in one or more new looks, waits for you to pick one, then builds the whole deck as one web page. You can present it in a browser, turn it into PowerPoint or PDF, or put it online as a link.

## Who it is for
- You want a talk deck, pitch deck or board update made from a topic or rough notes
- You want to choose the look from real slides before the whole deck is built
- You have a deck made this way (or another reveal.js deck) and want to add, remove or change a slide
- You use Claude Code, Codex, Cursor, OpenCode, Gemini CLI or Antigravity
- Not for: You need a fully editable PowerPoint: charts, shapes and images come out as one picture per slide, only the text stays editable
- Not for: Your deck is HTML on another slide engine: the skill does not rewrite it
- Not for: You want to present offline without exporting: the deck loads its slide engine and fonts from the internet

## What it is
- Kind: knowledge, scripts, command
- License: MIT
- Repository: https://github.com/arifszn/slide-wright

## What it does
- Works out purpose, audience, length and evidence from what you gave, then asks only two things: how many design directions, and animation or not
- Invents a theme per direction (palette, type, layout, exhibit style and one signature visual from the subject); there is no preset library
- Builds a two-slide preview per direction (the real title slide and one real content slide), runs a layout check and opens them in the browser
- Stops and asks which direction to build; on a no, makes clearly different directions, not recolours
- Builds the full deck in the chosen direction: one claim per slide, each backed by a chart, flow, timeline, comparison or metric panel, with speaker notes
- Runs the layout check again, then tells you how to present, export to PDF or PowerPoint, or publish a link
- Never cuts: ['No full deck before you say yes to a direction', 'No invented data: without your figures it uses a non-numeric exhibit or asks']

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| slide-wright | /slide-wright <request>, or plain language ("Make me a deck about ...") | yes | Makes a new presentation after you pick its look, or changes slides in an existing one |

### slide-wright
- Asks for: A topic, rough notes or a full outline
- Asks for: How many design directions to compare (one is fastest)
- Asks for: Animation or static slides
- Asks for: Your figures, if a slide should show numbers
- Asks for: Brand colours or fonts, if you have them
- Gives: One preview file per direction with the same two slides
- Gives: The full deck as one self-contained HTML file
- Gives: Speaker notes on slides that need them
- Gives: A layout check report and a contact-sheet image of all slides
- Gives: On request: a .pptx with editable text, PDF steps, or a live link on Surge, Vercel or Netlify
- Say: "/slide-wright Make me a deck about our Q3 results for the board, three directions, no animation"

## Know before installing
- It switches on for any slide request: making slides, a talk or pitch deck, or changing a slide in an existing deck.
- The first layout check or PowerPoint export installs pinned helper packages into ~/.cache/slide-wright/export-pptx (outside your project), and downloads Chromium if no Chrome or Edge is found.
- The deck loads its slide engine and web fonts from public CDNs (jsDelivr, Fontshare or Google Fonts) each time it opens.
- Publishing a link needs a one-time login that you run in your own terminal; the assistant then runs the deploy for you.
- In PowerPoint, fonts are not embedded and animations are flattened; use the PDF when exact typography matters.

## Install (official commands)
- Claude Code (plugin): `/plugin marketplace add arifszn/slide-wright` && `/plugin install slide-wright` Remove: `/plugin uninstall slide-wright`.
- Any agent with Agent Skills: `npx skills add arifszn/slide-wright`
- Claude Code, OpenCode, Codex, Antigravity, others (copy by hand): `DEST=~/.claude/skills` && `git clone --depth 1 https://github.com/arifszn/slide-wright /tmp/slide-wright-repo` && `mkdir -p "$DEST"` && `cp -r /tmp/slide-wright-repo/slide-wright "$DEST/slide-wright"` && `rm -rf /tmp/slide-wright-repo` — Set DEST per agent: .claude/skills, .opencode/skills, .agents/skills (Codex and most others). Restart the agent afterwards. Remove: `delete the slide-wright folder from the skills folder`.

## What runs on the user's machine
- Code on the machine: yes (the layout check and the PowerPoint export, run by the assistant with Node)
- Network: True
- Install: Markdown instructions and Node scripts. No hooks; nothing runs on install or at session start.
- Previews and the deck: The assistant writes ./<deck-slug>.html (and -a, -b, -c previews) in your working folder, deletes the unused previews after you choose, and opens the files in your browser.
- Layout check (after previews and after building): check-deck.mjs opens the deck in headless Chrome at 1920×1080, prints one line per defect and can write a contact-sheet PNG to $TMPDIR.
- First layout check or export: Runs npm install for pinned pptxgenjs 4.0.1, playwright-core 1.64.1 and jszip 3.10.2 into ~/.cache/slide-wright/export-pptx (or SLIDE_WRIGHT_CACHE).
- PowerPoint export (on request): export-pptx.mjs renders each slide in Chrome or Edge, downloads Chromium if neither exists, and writes a .pptx next to the deck (or -o path).
- Publish a link (on request): Copies the deck to a .deploy folder and runs npx surge, npx vercel or npx netlify to upload it; removes .deploy afterwards.
- Opening a deck: The browser loads reveal.js from jsDelivr and the fonts from Fontshare or Google Fonts.

## Settings
- `SLIDE_WRIGHT_CACHE`: Folder for the helper packages (default ~/.cache/slide-wright/export-pptx)
- `SURGE_TOKEN`: Surge token for a deploy without the terminal login (the user creates it)

## Examples (from the pack's own files)
- Three prompts and the slides they produced (author image assets/examples.png, described in README): prompt "Create a Q3 board update for Corvid Labs, a B2B observability SaaS"; without the skill: None lines; with it: The README image shows three prompts (a Q3 board update, a ClickHouse deck kept yellow, an MCP deck from an outline), each above its title slide and one content slide (README.md; None, the author's run)
- The question after the previews: output format defined in None

## Steps only the person can do
- Log in once to Surge, Vercel or Netlify in your own terminal (only to publish a link) (slide-wright/references/deploy.md) Then: The assistant runs the deploy command and returns the URL
- Pick a design direction from the previews (The preview files opened in your browser) Then: The assistant builds the full deck in that direction

## Mistakes to avoid
- Not: Expect a finished deck from the first message. Instead: Answer the two questions, pick a direction from the previews, then the full deck is built. Why: The skill stops after the previews until the user approves a look
- Not: Ask for charts with numbers without giving the numbers. Instead: Give the real figures, or accept a non-numeric exhibit. Why: The skill does not invent data
- Not: Expect to edit charts and shapes in the exported PowerPoint. Instead: Edit the HTML deck, or use the PDF when exact looks matter. Why: Only text, notes and local videos are native in the .pptx
- Not: Let the agent run the Surge, Vercel or Netlify login inside the chat. Instead: Run the login once in your own terminal, then let the agent deploy. Why: The login is interactive and hangs when run from a tool call
- Not: Share a Vercel link without checking it logged out. Instead: Open it in a private window; if it asks for a login, set Deployment Protection to none. Why: Otherwise the link will not work for anyone else

## What leaves the machine
- Requests for the slide engine and fonts when the deck is opened → jsDelivr CDN, Fontshare or Google Fonts, Every time a deck or preview opens in a browser. Opt out: Share a PDF or PowerPoint export instead
- Package downloads (pptxgenjs, playwright-core, jszip) and possibly Chromium → npm registry and the Playwright download host, First layout check or PowerPoint export. Opt out: Skip the layout check and the PowerPoint export
- The deck file as a public website → Surge, Vercel or Netlify (the one you pick), Only when you ask to deploy. Opt out: Do not ask for a live URL

## Lines in the pack aimed at agents (ask the person first)
- "Decks render with reveal.js loaded from a CDN, but that is an implementation detail the user never sees." (slide-wright/SKILL.md): Harmless styling choice, but tell the person the deck needs internet access to jsDelivr when they ask how it works.
- "If the user pastes one, deploy with it and skip the terminal step entirely" (slide-wright/references/deploy.md): Ask the person to put a deploy token in an environment variable rather than pasting it into the chat.
- "All three options below are free static hosts and run through `npx`, so nothing is installed globally." (slide-wright/references/deploy.md): npx still downloads and runs the host's CLI; confirm with the person before the first deploy.

## May I use it like this?
- commercial-app: yes (MIT)
- client-work: yes (MIT; decks you make are your own content)
- redistribute-files: conditions (MIT: keep the copyright and license notice in copies of the skill)

## Which one to pick
- If You want to compare custom themes on two real slides before the deck is built, and edit reveal.js decks later: skill:arifszn/slide-wright
- If You want web slides in three preset-based looks, or to turn an existing PowerPoint into a web deck: skill:zarazhangrui/frontend-slides
- If You want HTML decks in editorial magazine or Swiss layouts: skill:op7418/guizang-ppt-skill
- If You need an academic talk, thesis defence or grant presentation as a .pptx: skill:Gabberflast/academic-pptx-skill

## Works well with
- tool:playwright-core: The layout check and the PowerPoint export drive Chrome through playwright-core
- tool:pptxgenjs: The PowerPoint exporter writes the .pptx with PptxGenJS
- tool:netlify-cli: One of the three hosts the deploy step offers
- tool:vercel: One of the three hosts the deploy step offers

## Works in and needs
- Works in Claude Code: plugin
- Works in Claude Code: skills folder
- Works in OpenCode: skills folder
- Works in Codex: skills folder
- Works in Antigravity: skills folder
- Works in Gemini CLI, Cursor, Windsurf, Kimi: skills folder (.agents/skills)
- Needs Node.js 18+: Layout check and PowerPoint export
- Needs Google Chrome (or Edge for export): Headless rendering; Chromium is downloaded if missing
- Needs Surge, Vercel or Netlify account: Only to publish a live link

## How to tell it works
Install it and type "/slide-wright Make me a deck about <your topic>". It should answer with only two questions (how many directions, animation or not), then open two-slide previews and ask which one to build. If it builds a full deck straight away, the skill is not active.

## Safety
The helper scripts install npm packages outside your project and may download Chromium on first use. Publishing uploads the deck to a public host. Skills are instructions your agent follows: read them before installing.
