DeckCraft is the ArtCraft open-source, clean-room PowerPoint-compatible presentation app for macOS (also Windows, Linux, FreeBSD and the web): slides, masters and layouts, shapes, 3-D, text, tables, charts, SmartArt, media, transitions and animations; `.pptx`/`.potx`/`.ppsx` and `.deckcraft` read/write, `.ppt`/`.pot`/`.pps` import, PDF/PNG/JPEG/GIF export. Driven by 329 scriptable commands, a 12-subcommand `deckcraft-cli`, a JSON control channel, a 25-tool MCP server and the web build's `wind...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Deckcraft?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/midasmatterhorn-deckcraft)
---
name: deckcraft
description: >-
DeckCraft is the ArtCraft open-source, clean-room PowerPoint-compatible presentation app for macOS (also
Windows, Linux, FreeBSD and the web): slides, masters and layouts, shapes, 3-D, text, tables, charts,
SmartArt, media, transitions and animations; `.pptx`/`.potx`/`.ppsx` and `.deckcraft` read/write,
`.ppt`/`.pot`/`.pps` import, PDF/PNG/JPEG/GIF export. Driven by 329 scriptable commands, a 12-subcommand
`deckcraft-cli`, a JSON control channel, a 25-tool MCP server and the web build's `window.deckcraft` page
API. Use whenever the user mentions DeckCraft, `.deckcraft` or `deckcraft-cli`, asks what it can do, wants to
build, edit, render, present, export, verify, repair, troubleshoot or script a deck — even if the app is
not named but the job is presentation work ("make a
deck", "turn this outline into slides", "export these slides to PDF", "why did my PPTX lose its
animations?"). Do not use it for Microsoft PowerPoint itself.
---
**Audit basis.** Refreshed 2026-12-03 against tag **v0.20.0**, commit **`99f845c691382f9d6e38d224cd19b617ac49096d`** — `git rev-parse HEAD` in the pinned checkout confirms it, and the installed DeckCraft bundle matches (version `0.20.0`; its binary prints `deckcraft 0.20.0`). The previous release this skill described was **v0.19.1** (`4a980c33ddf37eb64157777fcaeab6d19baa5878`).
**v0.19.1 → v0.20.0 delta.** 129 files changed (+4 286/−1 072). **No registry moved:** 329 command ids (234 ordinary / 57 `noundo` / 38 `query`), 57 shortcut commands (56 distinct strings; `Cmd+Shift+V` still the one collision), 52 UI commands, 12 CLI subcommands, 25 control methods (+2 aliases), 25 MCP tools, 49 transitions and 107 animations are identical at both tags — `crates/engine/src/cmd/`, `apps/deckcraft-cli/`, `crates/ui-egui/src/control.rs` and `crates/mcp/src/tools.rs` are byte-unchanged. The wave is **framework-runtime and craft-libs unification**: every craft-libs dependency now pins one revision, `8fa4db64a9bb943520259ea95331a303ba788f21` (was eight different revisions), adding `craft-host`, `craft-keymap`, `craft-theme` and `craft-window`; craft-ui's runtime is installed from `crates/ui-egui/src/framework.rs` (by `apps/deckcraft/src/main.rs` on desktop, headless for tests and `apps/deckcraft-web/src/web.rs`), so the window's Escape/Tab/clipboard and the update prompt (now craft-update's dialogs) are framework-owned, and the document canvas is a Tab stop (`crates/ui-egui/src/app/document_focus.rs`). Behaviour written in: **a tab stop past the right margin acts as one at the margin**, and a hanging indent's indent position is its first line's implicit stop (LTR only) (`crates/text/src/{breaking,layout}.rs`); **audio with Hide During Show stays hidden while it plays** and a hidden video shows its poster only while playing (`MediaClip::hidden_during_show`, `crates/model/src/lib.rs`); **pie chart legend keys use each slice's `c:dPt` colour** and a line series' legend key draws a line, not a filled square (`crates/render/src/chart.rs`); `?` in a number-format section now pads a space; Tab does nothing past the last object (`crates/engine/src/keys.rs::tab_has_work`); a nightly profile refuses aliased or shared files (`apps/deckcraft/src/profile_root.rs`); a macOS nightly refusal never opens a modal before the event loop (`apps/deckcraft/src/main.rs::refusal_dialog`). **Correction to the previous skill:** `.ppt`/`.pot`/`.pps` (PowerPoint 97–2003) **are read** — `crates/ppt` imports them leniently and there is no `.ppt` writer; the old "not read" line was a wrong carry-over, not a new feature (the crate and its `open_other` hook also exist at v0.19.1). The request-line limit is unchanged (256 MiB in code; `docs/control-protocol.md` still says 16 MiB).
**v0.18.1 → v0.19.1 delta.** 344 files changed (+18 818/−74 298) — the big deletion is the shared code that moved to craft-libs. **No registry moved** (re-measured): 329 command ids (234/57/38), 52 UI commands, 12 CLI subcommands, 25 control methods (+2 aliases), 25 MCP tools, 49 transitions and 107 animations are identical at both tags. The wave is the **great craft-libs migration**: the workspace is **15 crates** (was 20) and shared layers come from craft-libs — video decode (H.264/HEVC/VP9/AV1) from `craft-video`, WMF/EMF/EMF+ from `craft-metafile`, and the preset-shape and WordArt-warp catalogs from `craft-drawingml` (re-counted at the v0.20.0 pin: **183 presets, 40 warps**) — with the in-tree crates kept as facades that re-export the library APIs (`crates/geom/src/lib.rs`; `crates/media/Cargo.toml`). Behaviour: **`shape.merge` refuses a shape inside a group** ("ungroup it first to merge it", `crates/engine/src/cmd/merge.rs`); **`arrange.ungroup` frees a group nested in another group** (`crates/engine/src/cmd/arrange.rs`); **`edit.duplicate` copies a shape inside a group into its group** (`crates/engine/src/cmd/edit.rs`); paragraph builds are inferred when a PPTX's `bldP` does not disable them; Forward Delete removes a whole grapheme cluster; chart rendering honours a series-level `<c:dLbls><c:delete val="1"/>`; Arabic Letter Mark is honoured in paragraph direction detection; engineering notation rounds after forming the mantissa; own features are named Diagram and Decorative Text.
**v0.16.0 → v0.18.1 delta.** 121 files changed (+2 939/−7 950); the checkout is squashed at each tag, so the diff — not the commit list — is the evidence. No id set moved. The wave is media-crate consolidation, the web `window.deckcraft` page API, and PPTX/robustness fixes: `crates/{opus,ogg,isobmff,matroska}` are gone (workspace 24 → 20 crates) and Opus/Ogg/MP4/MOV/Matroska come from craft-libs; an over-budget chart is kept verbatim and written back whole (`Chart.verbatim`, craft-libs `crates/pptx/src/read/chart.rs`) under presentation-wide budgets of 4 000 000 points and 256 MiB of chart decode; 3-D scene/extrusion XML on text bodies and groups is preserved; SmartArt whose diagram has no parent-child connections keeps its node text; `shape.adjust`/`shape.quickStyle` reject a negative or fractional index; `format.paragraph` rejects an unknown `align` and accepts `centre`/`justifyLow`; `shape.lock` applies a group-and-child pair once; reopening a photo album is seeded within the album limits and an album too large for the editor is refused rather than truncated; MCP batches are capped at 1 000 entries / 64 MiB; the UI holds at most 16 live video decoders.
**Earlier rounds (carried from older audits).** v0.15.0 → v0.16.0 (144 files, +6 733/−717): PPTX fidelity plus validation (`file.save` began refusing `.png`/`.jpg`/`.jpeg`, handout `perPage` became exactly 1/2/3/4/6/9, stricter index validation, the native 256 MiB manifest limit, the PDF text layer using evaluated fields, the web `?host=parent` bridge). v0.14.1 → v0.15.0 (52 files): the WASM presenter view, H.264 temporal direct motion-vector scaling, and resizing all selected shapes.
**Verify against your installed version** — the ArtCraft Launcher auto-updates, so a newer build may differ; every count quoted here was re-measured at this tag on 2026-12-03, and code paths that moved were re-cited. The measurement method for each count is in `evidence.md`; the command/format tables are in `references/commands-and-formats.md`.
## Overview
DeckCraft is a clean-room, open-source (MIT OR Apache-2.0), pure-Rust presentation application targeting Microsoft PowerPoint for Mac parity — and better speed, openness and agent control (README.md; AGENTS.md; `Cargo.toml`). It builds decks with masters, eleven layouts, eight original themes, shapes, text, tables, charts, SmartArt, audio and video; presents them full screen or in a window with transitions and animations; and exchanges PowerPoint `.pptx` (plus 97–2003 `.ppt` on import) and its own `.deckcraft` (README.md §"What works today"; `crates/ppt/src/lib.rs`). It is **alpha**: the parity docs claim **84% feature breadth** (P0 92%, P1 82%, P2 55%) and **~55% ready for real work**, both by the project's own measurement (ROADMAP.md; `docs/target-app-parity.md`; `docs/parity-checklist.md`). The workspace is **15 crates plus three apps** (`apps/deckcraft`, `apps/deckcraft-cli`, `apps/deckcraft-web`) on Rust edition 2024 (`Cargo.toml`); shared layers live in `storytold/craft-libs` on one pin — `craft-video`, `craft-metafile`, `craft-drawingml`, `craft-pptx`, `craft-deckcraft-format`, `craft-pdf`, `craft-ui`/`craft-host` and the framework's keymap/theme/window crates — with the in-tree crates remaining as facades that re-export the library APIs (`Cargo.toml`, `crates/geom/src/lib.rs`, `crates/media/Cargo.toml`). The UI runs on egui 0.37 through craft-ui's framework runtime (`crates/ui-egui/src/framework.rs`). Source: GitHub `storytold/deckcraft`.
Everything user-visible is a **command with an id**, and `Session::execute` is the single dispatch path shared by the ribbon, keyboard, CLI, control channel and MCP (`crates/engine/src/lib.rs`; `crates/engine/src/cmd.rs`).
## Capabilities (verified)
### Automation surface at a glance
| Surface | At v0.20.0 | Change vs the v0.19.1 skill |
|---|---|---|
| Engine commands (`CommandSpec`) | **329**, ids unique (234 ordinary / 57 `noundo` / 38 `query`) | unchanged at v0.20.0 |
| Engine shortcuts | **57** commands (56 distinct strings; one real collision, `Cmd+Shift+V`) | unchanged at v0.20.0 |
| UI-only commands (`UI_COMMANDS`) | **52**, 15 with shortcuts | unchanged at v0.20.0 |
| CLI subcommands | **12** (`info render render-transition convert run commands describe app mcp bench links version`) | unchanged at v0.20.0 |
| Control-channel methods | **25** canonical, plus the aliases `ui.menu.invoke` and `command` (27 accepted strings) | unchanged at v0.20.0 |
| MCP tools | **25**, plus resources `deckcraft://document`, `deckcraft://commands` | unchanged at v0.20.0 |
| Web page API | `window.deckcraft`: `request`, `execute`, `commands`, `docInspect`, `uiInspect`, `screenshot` | unchanged at v0.20.0 |
| Transitions | **49** rows (48 + `none`) | unchanged at v0.20.0 |
| Animations | **107** entries (24 entrance, 17 emphasis, 23 exit, 40 motion-path incl. `customPath`, 3 media) | unchanged at v0.20.0 |
| Themes / layouts / shape presets | **8** themes × 4 colour variants / **11** layouts + `Custom` / **183** presets in 9 categories (catalog in craft-libs' `craft-drawingml`) | unchanged at v0.20.0 |
| Charts / SmartArt / starters / icons / text warps | **28** chart types (7 `chartEx` + `RegionMap`) / **45** layouts, 9 styles, 17 colour sets / **6** starter decks / **70** Lucide 1.56.0 icons / **40** warps (craft-libs) | unchanged at v0.20.0 |
| Pattern fills | **48**-preset gallery (54 DrawingML names known) | unchanged at v0.20.0 |
| 3-D presets | **28** cameras offered (62 known), 12 bevels, 12 materials, 15 light rigs | unchanged at v0.20.0 |
| UI languages | **1** — English only, no string catalogue | unchanged at v0.20.0 |
Every count was re-derived from this tag's code on 2026-12-03, never copied: commands from the `cmd!(` sites in `crates/engine/src/cmd/` (329 sites, 329 unique ids, set-diffed against v0.19.1: 0 added, 0 removed), shortcuts and their collision from the `cmd!` shortcut arguments, control methods from the `match req.method` arms in `crates/ui-egui/src/control.rs`, MCP tools from `crates/mcp/src/tools.rs`, UI commands from `UI_COMMANDS` in `crates/ui-egui/src/lib.rs`, CLI from `apps/deckcraft-cli/src/help.rs::SUBCOMMANDS`, transitions and animations from `TRANSITIONS`/`ANIMATIONS` in `crates/model/src/anim.rs`, shape presets and warps from `CATALOG` in craft-libs `8fa4db64…` (`crates/drawingml/src/preset/catalog.rs`, `crates/drawingml/src/warp.rs`, re-exported by `crates/geom/src/lib.rs`), patterns from `PATTERN_GALLERY`/`PATTERN_LABELS` in `crates/ui-egui/src/panels/fillui.rs`, and the rest from their registries (`crates/model/src/theme.rs`, `crates/model/src/lib.rs`, `crates/model/src/chart.rs`, `crates/engine/src/cmd/smartart.rs`, `crates/engine/src/templates.rs`, `crates/engine/src/icon_data.rs`, `crates/engine/src/cmd/three_d.rs`, `crates/engine/src/cmd/insert/text_fields.rs`). Languages: no `locales/` directory, no i18n crate, no string catalogue in the workspace.
The MCP surface is 25 tools: `list_commands`, `run_command`, `batch`, `new_presentation`, `open_presentation`, `save_presentation`, `export`, `inspect_document`, `inspect_slide`, `render_slide`, `add_slide`, `go_to_slide`, `add_shape`, `add_text_box`, `set_text`, `insert_picture`, `insert_table`, `insert_chart`, `select`, `pointer`, `select_tool`, `key`, `type_text`, `screenshot` and `call_app` (the last two connected-mode only; full table in `references/commands-and-formats.md`). `batch` refuses more than **1 000 commands** and stops once its gathered results pass **64 MiB** (`crates/mcp/src/tools.rs`); the JSON-RPC batch handler has the same caps and speaks MCP **2025-06-18** (also 2025-03-26 and 2024-11-05, from craft-libs `craft-mcp-server`) (`crates/mcp/src/server.rs`).
### Deck structure and design
- **Slides, masters and layouts.** Eleven standard layouts plus `Custom` (`LayoutType`, `crates/model/src/lib.rs`). Slide/notes/handout masters, placeholder inheritance, sections, notes, comments, headers/footers, custom shows and slide sizes are modelled; **deleting a slide prunes it from every custom show**, undoably (`crates/engine/src/cmd/slide.rs`).
- **Themes.** Eight original themes — DeckCraft, Harbor, Ember, Meadow, Nocturne, Paper, Coral Reef, Slate — with colour, font and effect schemes and four colour variants (`builtin_themes`, `theme_variants` in `crates/model/src/theme.rs`). Design ▸ Browse for Themes imports `.thmx`, `.pptx` or `.potx`.
- **Starter decks.** Six originals — Briefing, Lesson, Pitch, Field Notes, Quarterly, Evening Talk — via `file.new {template}` / `file.templates` (`crates/engine/src/templates.rs`).
- **Shapes.** 183 preset shape/connector generators in 9 gallery categories (catalog in craft-libs' `craft-drawingml`, re-exported as `deckcraft_geom::preset`), with adjust handles, glued connectors, freeform/curve/scribble, ink-to-shape, merge operations, gradient/picture/pattern fills, dashes, arrowheads, shadows, glow, soft edges and reflections. **`shape.merge` refuses a shape inside a group**; **`shape.connect` glues to a shape inside a group** and an unknown id is an error; **`shape.flip` is refused on a SmartArt graphic**; **Merge Shapes drops the merged shapes' animations and clears triggers that pointed at them**; **`shape.adjust`/`shape.quickStyle` reject a negative or fractional `index`**.
- **3-D.** Format Shape ▸ 3-D Format/Rotation: 28 camera presets offered (62 known), 12 bevels, 12 materials, 15 light rigs, X/Y/Z rotation, depth and contour (`crates/engine/src/cmd/three_d.rs`); `a:scene3d`/`a:sp3d`/`a:flatTx` on a text body and `a:scene3d` on a group stay as raw XML and round-trip (≤64 KiB, element names validated on write: `crates/model/src/text.rs`; craft-libs `crates/drawingml/src/write.rs::valid_raw3d`, `crates/pptx/src/{read,write}/shapes.rs`). Rendering is approximate — see limitations.
- **Text.** In-place editing with DrawingML run/paragraph properties, bullets and numbering (point-sized bullets preserved), columns (1–16), autofit, vertical and RTL text, fields, hyperlinks, tab stops, line spacing, 40 WordArt warps, AutoFormat/Smart Quotes, and paragraph alignment including `thaiDist`. **A tab stop past the right margin acts as one at the margin** (left/right/centre/decimal), and **a hanging indent's indent position is the first line's implicit tab stop** (LTR only) (`crates/text/src/{breaking,layout}.rs`). `format.paragraph` rejects an unknown `align` and accepts `centre`/`justifyLow` (`crates/engine/src/cmd/format/paragraph.rs`).
- **Tables.** Styled tables with cell merges (diagonal borders included), row/column insert, delete and distribute, widths/heights, borders, cell fill/margins/alignment, drag- or Shift+arrow range selection, draw/erase line; centred cell anchoring, per-cell horizontal overflow and RTL column direction round-trip. Cell commands take `cells: [[row, col], …]` — exactly two integers a cell, inside the table.
### Content
- **Pictures.** PNG, JPEG, GIF (animated, inside groups too), WebP, BMP, TIFF decode; EMF/WMF draw through craft-libs' `craft-metafile`, including EMF+-only files. Crop, brightness/contrast, duotone, alpha, artistic effects, compress and Set Transparent Colour are modelled; **Compress Pictures measures grouped pictures at their displayed size**. Photo albums take at most **48 items, 32 MiB a picture and 64 MiB in all**; **reopening an album is seeded within those limits, and editing an album larger than the editor can carry is refused** rather than deleting the rest (`crates/engine/src/cmd/insert/album.rs`).
- **Charts.** 28 types including the seven Office-2016 `chartEx` types, plus radar, stock, region map and combo; chart text colour, palette, gridlines, data labels, bin options and six trendline kinds with forecast and equation/R². An unchanged chart keeps its embedded workbook; pattern fills read and write (`a:pattFill`). **Pie legend keys take each slice's `<c:dPt>` colour**, and a line/radar **legend key draws a line with its marker** instead of a filled square (`crates/render/src/chart.rs`). **Past 1 000 000 points a chart, or past 4 000 000 points/256 MiB of decode across the presentation, a chart is shown empty and its original part is written back whole (`Chart.verbatim`)** — its data is not modelled while it is in that state (`crates/pptx/src/convert.rs`; craft-libs `crates/pptx/src/{read,write}/chart.rs`).
- **SmartArt.** A graphic is a group whose outline is edited in a Text Pane; 45 layouts, 9 styles, 17 colour sets, Add/Promote/Demote/Remove, layout switching, picture fill, convert to/from text or shapes; written to `.pptx` as a real diagram. **A diagram whose `dgm:dataModel` has no parent-child connections keeps its node text in `ptLst` order** instead of dropping it (craft-libs `crates/drawingml/src/diagram/parts.rs`).
- **Media.** Audio: MP3, AAC/M4A, ALAC, WAV, AIFF, CAF, FLAC, Ogg Vorbis, Opus. Video: H.264, HEVC, VP9 and AV1 in MP4/MOV and WebM/Matroska, decoded in software by craft-libs' `craft-video`; the Opus decoder and the Ogg/MP4/MOV/Matroska demuxers come from craft-audio/craft-media (`crates/media/Cargo.toml`, `Cargo.toml`). Trim, fades, volume, poster frame, show-media-controls and embedded 3-D model parts are modelled. **Audio set to Hide During Show stays hidden even while it plays; a video set to Hide While Not Playing shows its poster only while playing** (`MediaClip::hidden_during_show`, `crates/model/src/lib.rs`, `crates/ui-egui/src/show/ui.rs`). At most **16 video decoders** are live at once; more videos play their sound without a picture and retry on their next play or seek (`crates/ui-egui/src/media.rs`).
- **Reuse Slides.** `slide.reuseList` lists the other file's slides, `slide.reuse` inserts the chosen ones; **reused geometry and text are scaled to the destination slide size**, and the source's custom table styles come along (picker thumbnails are still missing).
- **Other insertables.** 70 Lucide 1.56.0 stroke icons as custom shapes (`insert.icon`), WordArt, symbols, date/time fields (13 formats), slide numbers, photo albums (insert and edit), Zoom links, and an Equation dialog that inserts pretty-printed text, not OMML.
### Presenting
- **48 transitions plus "None"** (49 rows), including Morph with objects/words/characters options; **Preview plays the transition from the previous slide**, as PowerPoint does.
- **Animations.** 107 picker entries (24 entrance, 17 emphasis, 23 exit, 40 motion-path including Custom Path, 3 media controls); start modes, by-paragraph builds, click triggers, repeat, auto-reverse, bounce end and rewind; animation remove/move/timing/options reject invalid indexes.
- **Slide show.** Full-screen show or `browsed` (in a window), presenter view in a second window, pen and laser pointer, black/white screens, **See All Slides opening in the presenter window (G)**, zoom (Ctrl+wheel around the pointer), hyperlinks/actions, custom shows, kiosk looping, rehearse timings and media playback (`show.setup {type: speaker|browsed|kiosk}`).
- **Views.** Normal, Outline, Slide Sorter, Notes Page and Reading; slide/notes/handout master views; Animation Pane with Play From; grayscale view mode follows into the slide thumbnails.
### Files
- **Native `.deckcraft`:** a zip with a stored `mimetype`, `presentation.json`, `media/<id>` and `chart-parts/<index>` entries; readers ignore unknown fields, and legacy `.slidecraft` files still open. Load budgets: **256 MiB `presentation.json`**, 2 GiB per entry, 4 GiB total media + chart sidecars, 100 000 items (`crates/format/src/lib.rs`; craft-libs `crates/deckcraft-format/src/lib.rs`); the notes page is clamped to the slide-size bounds.
- **PowerPoint `.pptx`:** read and write; `.potx` and `.ppsx` are written with their own main content types. Unknown parts are kept where the model does not understand them. Embedded TrueType/OpenType/EOT fonts are read, written and drawn; a MicroType Express subset is kept and written back but not drawn, so its text uses a stand-in.
- **PowerPoint 97–2003 `.ppt`/`.pot`/`.pps`:** **import only**, leniently, through `crates/ppt` (compound-file reader, masters and title masters become masters/layouts, slide shapes keep their text formatting and pictures). Unreadable slide objects are reported in `lostSlides`; encrypted files are refused; PowerPoint 95 and earlier is refused (`crates/ppt/src/lib.rs`, `crates/engine/src/cmd/file.rs::open_other`). There is no `.ppt` writer — save the opened deck as `.pptx` or `.deckcraft`.
- **Outlines:** plain text and Markdown (headings become slides) and `.rtf` — PowerPoint's Outline/RTF save type — imported by content sniffing and by extension, and exported with bold/italic/underline and outline levels; **footer, date and slide-number placeholders are left out**, as in PowerPoint's outline view.
- **PDF:** slides, notes pages or handouts (1/2/3/4/6/9), Letter/A4/Legal/A3, portrait/landscape, hidden-slide and slide-range options, selectable invisible text layer (**evaluated field values, so a slide number shows as its number**), web and mail links only, bookmarks; slide artwork is a raster image, at most 64M pixels per slide.
- **Images and GIF:** PNG/JPEG per slide (one, `slide`, or `all`; `transparentBackground`; DPI = scale × 72) and an animated GIF of the deck (one frame per slide, 256-colour palette, 16–3840 px wide, 0.1–600 s per slide, loop or play once, slide range incl. `"1-3,5"`, hidden slides skipped, ≤500 frames / ≤200M pixels).
- **AutoRecover:** unsaved presentations are written to a recovery folder and reopened at the next start; saving or closing removes the entry.
### Platforms
- **macOS universal app**, signed, notarized and stapled; Windows x64/arm64/x86 (the MSI declares `perUserOrMachine` scope, so the launcher decides per-user or machine-wide); Linux (AppImage, Flatpak, deb, rpm, tarball; riscv64 tarball), FreeBSD and a static WebAssembly site.
- Rendering is CPU-side through `vello_cpu`; the UI is egui 0.37/eframe under craft-ui's framework runtime (`crates/ui-egui/src/framework.rs`). The web build uses WebGPU with a WebGL2 fallback (`?webgl`), starts blank or in show with `?blank`/`?show`, downloads instead of saving, has no audio output, no TCP control channel and no persisted preferences — unless a same-origin page frames it: **`?host=parent`** (+ `&author=`) sends the presentation to open and stores what it saves, and `data-host="page"` uses DOM events instead of an iframe. Every web build also installs **`window.deckcraft`**, whose promise functions call the same control methods as the desktop server (`apps/deckcraft-web/src/api.rs`).
- **Desktop clipboard:** Ctrl+C/X/V use the **system** clipboard (wired through the framework runtime's event handling at this tag).
## Known limitations and not-implemented
### File exchange and PowerPoint fidelity
- **No external deck corpus.** Every PPTX test uses decks this repo authors; fidelity on real corporate decks, templates, fonts and `chartex` is mostly unmeasured, and "opens in PowerPoint without repair" is a docs claim, not independently verified here.
- **Known PPTX round-trip losses:** media playback options (#74) are still lost — volume, autoplay, loop, rewind, play-across-slides and full-screen are model-only, while trim, fades, bookmarks and the document-level show-media-controls flag do round-trip; a combo chart's secondary value axis is read but not written when the chart is rebuilt; editing a chart's data drops its embedded workbook (an unchanged chart keeps it); a chart's category-axis number format and the 1904 date system are not carried into DeckCraft's model (`crates/pptx/src/convert.rs` sets them to none/false); imported SmartArt is redrawn with DeckCraft's simpler layouts; relationship-bearing SmartArt/OLE kept only as XML loses drawing and data parts (#203).
- **Charts over budget are placeholders.** Past 1 000 000 points for one chart, or 4 000 000 points / 256 MiB of chart decode across the presentation, the chart shows empty and its original part is kept for writing back; chart commands have no series to edit in that state (`crates/pptx/src/convert.rs`, `crates/model/src/chart.rs::Chart.verbatim`; craft-libs `crates/pptx/src/read/chart.rs`).
- **Unsupported input:** OpenDocument `.odp` is not read, and there is no `.ppt` **writer** (97–2003 decks import, then must be saved as `.pptx`/`.deckcraft`). Macros are never run: a macro-enabled package (`.pptm`/`.potm`/`.ppsm`) is not a declared format — the OOXML reader sniffs any package with `[Content_Types].xml`, so it may import as a plain presentation, but the saved package is written as a plain `.pptx` and is not macro-enabled.
- **Password-protected decks fail with a clear error** (OOXML and `.ppt`), and there is no password protection on save.
- **A Finder-open `.ppsx` still does not start its show.** Only `open_from_system` (the command-line path) checks for `.ppsx`; the Apple-event path calls `open_path` without it (`crates/ui-egui/src/app/files.rs`, `apps/deckcraft/src/apple_events.rs`).
- **Internal docs still lag the code.** `docs/control-protocol.md` says a 16 MiB request line (code: 256 MiB); `docs/animation-parity.md` says 14 exit effects (code: 23); `docs/architecture.md` says 320 commands and 24 crates (code: 329 and 15); `docs/target-app-parity.md` says 328; `ROADMAP.md` says "226 commands"; `docs/mcp.md` omits the batch caps; and `format.align`'s parameter doc omits `thaiDist`. Trust the code and `deckcraft-cli commands`/`describe`.
### Pictures and media
- **SVG is not rendered.** `insert.picture` accepts `image/svg+xml`, but no decoder draws it, so an inserted SVG shows nothing and a PPTX that stores a PNG fallback beside its SVG shows that fallback.
- **HEIC is not supported**, WMA is recognised and probed but not decoded, WMV is not playable, and online video embeds are not supported. EMF/WMF render inside decks but are not sniffed by `insert.picture`.
- **Pasting a screenshot from another app is unverified on Windows** (#1414 stays open); the system clipboard itself is wired, so the open question is the Windows image path, not the clipboard API.
- **At most 16 videos hold a decoder at once**; the rest play sound only until a decoder frees up (`crates/ui-egui/src/media.rs`).
- **Web build is silent and stateless:** no audio output, no TCP control channel, no persisted preferences.
### Output
- **PDF artwork is rasterized.** Each slide is placed as a print-DPI image (capped at 64M pixels per slide raster) under an invisible real-text layer; text is selectable/searchable but the artwork is not vector.
- **No native print dialog.** File ▸ Print (Cmd+P) builds a PDF in the temp folder and opens it in the system viewer.
- **No MP4/MOV export.** Only the animated GIF exists: one static frame per slide, no transitions or build animations.
### Platform and UI
- **No native macOS menu bar.** `menus::menu_tree()` exists but nothing installs it; use the ribbon, the command palette (Cmd+Shift+P) or commands.
- **Presenter view is a second window but is not assigned to the second display** by DeckCraft; on Linux and the BSDs it stays off when winit reports exactly one display.
- **CPU rasterization and software video decode**; no GPU slide rendering or hardware decode. **English-only UI**, no string catalogue. Pen pressure works, tilt does not.
### Feature depth
- **Charts are partial:** chart-element editing and some `chartex` behaviour are thinner than PowerPoint's.
- **Animations are partial:** 64 non-path effects of roughly 190 in PowerPoint.
- **SmartArt is shallow:** 45 simple layouts against PowerPoint's ~200, no picture layouts or 3-D styles; the Reuse Slides picker has no thumbnails.
- **No recording:** the Record tab's Record button is disabled ("Recording narration needs audio capture").
- **Equations are not authored as OMML:** the Equation dialog inserts pretty-printed Unicode text. OMML in an imported `.pptx` is kept and written back (`RunKind::Math`, `a14:m`; craft-libs `crates/drawingml/src/{read,write}.rs`) but drawn as its flattened text, so it is not typeset.
- **No AI/cloud features** (Copilot/Designer/Speaker Coach/live captions); only offline Design Ideas arrangements. **No add-ins or VBA** by policy; MCP/CLI is the automation alternative.
### Automation and data-safety behaviours to know
- **`file.close` closes a dirty document without prompting.** The UI's Close (`app.closePresentation`, Cmd+W) prompts; the raw engine command does not. Do not call `file.close` on unsaved work.
- **`app.quit` over the control channel quits without asking.** `{"save": true}` saves every dirty presentation first and answers with an error if one can't be saved (an untitled deck opens a Save dialog there), so save explicit paths before quitting.
- **`file.save`/`file.saveAs` without a `path` (and no stored path) ask the UI** and return `{"needsPath": true}`, writing nothing in headless use — always pass `path`.
- **`file.save`/`file.saveAs`/`run --save` refuse `.png`/`.jpg`/`.jpeg`** — `save_bytes` returns an error telling you to use `file.export`. MCP `save_presentation` and control-channel `app.save` inherit the same refusal.
- **A non-image extension still falls through:** `file.save {path: "x.odp"}` (or any extension no writer maps) is written as native `.deckcraft` bytes under that name, and `file.export` does the same. Check the extension you pass.
- **`run` stops at the first failing command and saves nothing.**
- **Reads are bounded and saves follow links:** every path read needs a regular file of at most 2 GiB, and a save canonicalizes the target (so it writes through a symlink), preserves the existing file's permissions, and writes via a hidden `.deckcraft.<pid>.<n>.saving` sibling that must also be inside the automation write root.
- **MCP batches are bounded:** 1 000 entries and 64 MiB of results; a batch full of `inspect_slide` answers on a notes-heavy deck can hit the byte cap and stop early (`crates/mcp/src/tools.rs`).
- **The control channel has no authentication.** It binds loopback only; do not expose or port-forward it. The web `window.deckcraft` object is the same command authority inside the page: any script of the page's origin can call it, so treat a page that embeds DeckCraft as trusted code (`packaging/web/README.md`).
## How to operate
### Getting the CLI (the launcher installs the app, not the CLI)
The ArtCraft Launcher installs `DeckCraft.app`; it does not put `deckcraft-cli` on your `PATH`.
It ships **no** CLI binary inside the bundle — the bundle holds only `DeckCraft` — so a
launcher-only install has no `deckcraft-cli` at all. The CLI is published on the app's GitHub
release, `deckcraft-cli-0.20.0-macos-universal.zip` (91.8 MB; SHA-256
`bf4bbf5e44cc6f764c6ef8b6c1aad1479e7ea10871177b0aee752aeeec567dc0`), so `deckcraft-cli`
answering *command not found* means "not installed yet", not "not supported".
Find it, in this order:
1. **On `PATH`** — `command -v deckcraft-cli`. If it answers, `deckcraft-cli --version` must report
the version this skill was written against (0.20.0). A different version means the CLI and the
app have drifted: re-read *Verify against your installed version* before trusting ids.
2. **Bundle copy** — Skip it: `find "/Applications/DeckCraft.app" -name 'deckcraft-cli'` finds
nothing (verified), so go to step 3.
3. **Install it from the release** — user-local, no `sudo`:
```sh
APP_VER=0.20.0
REL="https://github.com/storytold/deckcraft/releases/download/v$APP_VER"
ASSET="deckcraft-cli-$APP_VER-macos-universal.zip"
mkdir -p "$HOME/.local/bin" "$HOME/Downloads/deckcraft-cli" && cd "$HOME/Downloads/deckcraft-cli"
curl -fLO "$REL/$ASSET" && curl -fLO "$REL/SHA256SUMS.txt"
expected=$(grep -F "$ASSET" SHA256SUMS.txt | awk '{print $1}')
actual=$(shasum -a 256 "$ASSET" | awk '{print $1}')
[ "$expected" = "$actual" ] && echo "checksum OK" || { echo "checksum MISMATCH — stop"; exit 1; }
unzip -oq "$ASSET"
install -m 0755 "deckcraft-cli-$APP_VER-macos-universal/deckcraft-cli" "$HOME/.local/bin/deckcraft-cli"
"$HOME/.local/bin/deckcraft-cli" --version
```
`~/.local/bin` must be on `PATH` for the shell that runs the skill:
`export PATH="$HOME/.local/bin:$PATH"` (put it in your shell profile to keep it).
Rules: never `sudo` into `/usr/local`, never unzip into `/Applications`, and never replace an
existing `deckcraft-cli` of a different version without telling the user. Building from source
(`cargo install --path apps/deckcraft-cli --locked`) is a developer path only — full Rust toolchain,
minutes of compiling; prefer the release binary above.
### Launch
```sh
open -a DeckCraft # normal GUI
open -a DeckCraft --args --sample # sample deck
open -a DeckCraft talk.pptx # open a file
open -a DeckCraft --args --control 7990 --sample
```
GUI flags: `--control PORT`, `--sample`, `--show`, `--help`/`-h`, `--version`/`-V`, and file paths; `-psn_*` is ignored. The port can also come from `DECKCRAFT_CONTROL_PORT`. The desktop parser is hand-rolled: an unknown argument is treated as a file path, so a mistyped flag shows up as a failed open, not a usage error. The app binary prints its version or usage and exits before opening a window: `/Applications/DeckCraft.app/Contents/MacOS/DeckCraft --version` → `deckcraft 0.20.0`; `--help` prints usage, then exits.
### CLI
`deckcraft-cli` is the most reliable automation surface; it needs no window.
| Command | What it does |
|---|---|
| `info FILE` | JSON: slides, layouts, theme fonts, sections, slide size (`document.inspect`) |
| `render (FILE \| --sample) [--slide N \| --all] [--scale S] [--edit] [--transparent] OUT` | PNG per slide; `--all` writes `slide-01.png…`; default scale 2; `--slide` 0-based |
| `render-transition FILE --slide N --t T[,T...] [--width PX] OUT.png` | Frames of the transition into slide N |
| `convert IN OUT` | Save in OUT's extension: `.deckcraft`, `.pptx`/`.potx`/`.ppsx`, `.pdf`, `.txt`/`.md`/`.rtf`, `.png`/`.jpg` (first slide), `.gif`; other extensions are refused |
| `run [--in FILE \| --sample] [--cmd ID[=JSON] \| --cmd-file FILE]... [--save OUT] [--export OUT [--export-params JSON]] [--print]` | Run commands, then save/export; stops and saves nothing on the first error |
| `commands [FILTER]` / `describe COMMAND` | List ids/params; explain one |
| `app [--port PORT] COMMAND [JSON]` / `--method METHOD [JSON]` | One request to a running `deckcraft --control` (default port 7979) |
| `mcp [--connect PORT] [--sample] [--automation-read-root DIR]... [--automation-write-root DIR]...` | MCP server on stdio; both root flags and both spellings repeatable |
| `bench (FILE \| --sample) [--runs N] [--json]` | Time open/draw/save/PPTX reopen/PDF export and peak memory |
`--cmd-file FILE` reads one command per line from a UTF-8 file (blank lines and full-line `#` comments skipped, CRLF and a BOM accepted, 16 MiB a line), which avoids shell quoting and command-line length limits; it can repeat and mix with `--cmd` in order.
Examples:
```sh
deckcraft-cli commands format.
deckcraft-cli describe shape.insert
deckcraft-cli run --cmd 'slide.new={"layout":"titleOnly","title":"Q3 results"}' \
--cmd 'shape.insert={"preset":"roundRect","rect":[80,160,320,120],"text":"Revenue"}' \
--save q3.deckcraft
deckcraft-cli render q3.deckcraft --all --scale 1 out/
deckcraft-cli convert q3.deckcraft q3.pdf
deckcraft-cli run --in q3.deckcraft --export q3.rtf
```
`--print` prints each command's **answer**; it is not a printer flag. `convert` gives no PDF-layout options and only the first slide for PNG/JPEG; use `run --export` or `file.export` for notes/handouts and all slides.
### Conventions that prevent most automation bugs
- Coordinates are **points** on a 960×540 (16:9) slide unless the deck says otherwise; a rect is `[x, y, width, height]`.
- **Slide indices are 0-based**; `render --all` names files from 1 (`slide-01.png`), while `file.export all` names `stem1.png`, `stem2.png`.
- **Shape ids are looked up on the page being edited** — the current slide in Normal view, the master/layout/notes page in Master views — never another slide; `slide.go {index}` changes the current slide; `slide.new` inserts after it and selects the new slide (pass `at` for an index).
- Commands that add a shape select it; `format.*` acts on the selection, while many shape commands take `ids` directly — **`ids` entries that don't resolve are an error, not a silent fall back to the selection**.
- Text bodies use `\n` for a new paragraph and a leading tab per level for bullets.
- **Every index parameter is strict:** a negative or fractional `index`/`from`/`at`/`master`/`layout` is an error; a valid index past the last slide is also an error; `review.spellingChange` rejects an overflowing `start`; `comment.next`/`comment.prev` reject a malformed `index`; animation remove/move/timing/options reject invalid indexes; table row/column and `cells` commands reject invalid cells and out-of-table entries; `shape.adjust`/`shape.quickStyle` reject a negative/fractional `index` (values past 16/41 clamp).
- **`format.align` also accepts `thaiDist`**, although its parameter doc string lists only left/center/right/justify/justifyLow/distributed, and **an unknown `align` name still falls back to left**; `format.paragraph` and `format.paragraphDialog` accept the same names (plus `centre`, `justifyLow`) and **error** on anything else.
### Documents, open/save/export
- One process can hold several presentations; `file.new`/`file.open` add documents, `window.next` cycles the active one, and `view.newWindow` opens a second, non-editing window on the same deck.
- **Open:** `file.open {path}` — native `.deckcraft`, `.pptx`/`.potx`/`.ppsx`, `.ppt`/`.pot`/`.pps` (97–2003, import only), and `.txt`/`.md`/`.rtf` outlines (RTF by content sniffing, not only extension), plus `.thmx`/`.pptx`/`.potx` through `design.browseTheme`. Open is lenient for PPTX and PPT: unknown records/parts skipped or kept, unreadable slides reported in `lostSlides`, damaged files open as a repaired copy, and media lengths/sizes are filled in from headers.
- **Save:** `file.save {path, format?: deckcraft|pptx}` / `file.saveAs {path, format?}` / `file.saveTemplate {path}`; the format follows the extension unless `format` is given. **Images are refused: use `file.export`.** Writes go to a hidden `.deckcraft.<pid>.<n>.saving` sibling (also checked against the automation write root) renamed over the target, so a failed save never truncates the old file.
- **Export:** `file.export {path, format?, ...}`. PNG/JPEG: `slide?`/`all?`/`scale?`/`transparentBackground?`; PDF: `layout`, `perPage` (handouts only, exactly 1/2/3/4/6/9), `paper`, `orientation`, `dpi`, `slides`, `includeHidden`, `textLayer`, `frame`; GIF: `width`, `secondsPerSlide`, `loop`, `slides`, `includeHidden`; outline: `txt`/`outline`/`rtf`. All requested image indices are validated before any file is written.
- **Native format as source of truth:** keep the `.deckcraft` master and treat `.pptx` as an exchange copy. Native save is lossless for DeckCraft's model (chart payloads included); PPTX has the known losses above.
### Drive a running app
Start `deckcraft --control 7990`, then either `deckcraft-cli app …` or raw JSON lines:
```sh
deckcraft-cli app --port 7990 --method ui.screenshot '{"path":"shot.png"}'
deckcraft-cli app --port 7990 shape.insert '{"preset":"star5","rect":[100,100,200,200]}'
```
```json
{"id":1,"method":"engine.execute","params":{"command":"shape.insert","params":{"preset":"star5","rect":[100,100,200,200]}}}
{"id":2,"method":"ui.screenshot","params":{"path":"shot.png"}}
```
Use `ui.inspect` first to learn the window, `canvasRect`, `slideRect` and `canvasScale`, the active tool, dialogs and documents; `ui.pointer` takes **slide points**, while `ui.move`/`ui.click`/`ui.drag` take **window points** (egui coordinates, as `ui.inspect` reports them). The MCP equivalent is `deckcraft-cli mcp --connect 7990`. For headless MCP:
```json
{"mcpServers":{"deckcraft":{"command":"deckcraft-cli",
"args":["mcp","--automation-read-root","work/deck","--automation-write-root","work/deck/out"]}}}
```
Paths outside the roots are refused with ordinary tool errors; a root left out grants none of its access, `--flag=DIR` works, each flag may be repeated (multiple roots per kind), and roots cannot be combined with `--connect`.
### Drive a web build from its page
A web build (embedded or standalone) installs `window.deckcraft`; calls are promises over the same methods, so `execute("shape.insert", …)` is exactly the desktop `engine.execute`:
```js
await window.deckcraft.execute("shape.insert", { preset: "roundRect", rect: [100, 100, 240, 120], text: "Hello" });
const doc = await window.deckcraft.docInspect();
const { data } = await window.deckcraft.screenshot(); // base64 PNG
```
A call rejects if the app does not answer within 30 s (`packaging/web/README.md`); the shared craft-libs `web-api` contract also refuses a 65th call waiting at once and releases a call the page gave up on (not audited in depth here). This is a page-local surface, not a network one — there is no port to connect to.
### Environment and logs
- Settings/logs: `~/Library/Application Support/DeckCraft/` (`ui.json`, `prefs.json`, `logs/deckcraft.log`, rotated, capped at 16 MiB); recovery: `…/DeckCraft/Recovery/`.
- `DECKCRAFT_CONTROL_PORT` sets the control port; `DECKCRAFT_NO_AUDIO=1` plays silently; `DECKCRAFT_NO_PREFS=1` skips preferences; `DECKCRAFT_NO_RECOVERY=1` skips AutoRecover; `DECKCRAFT_DICTIONARIES` adds dictionary folders; `RUST_LOG` sets log levels.
## Working with an AI agent
### Choose the surface
1. **Headless CLI** (`deckcraft-cli run`, `render`, `convert`, `info`, `mcp`) — best for generating decks, batch exports and verification. No window, no GUI state.
2. **MCP stdio** (`deckcraft-cli mcp`) — best when the agent has an MCP client; use `run_command`/`batch` for anything the 25 tools do not wrap, and `inspect_document`/`inspect_slide` before editing. A headless server starts with no document: call `new_presentation` or `open_presentation` first. `batch` stops at the first error unless `keepGoing`, and is capped at 1 000 commands / 64 MiB of results; tools reject unknown argument names rather than guessing.
3. **Control channel** (`deckcraft --control`) — only when a human and agent must share a live window, or UI-only state (dialogs, selection, screenshots) matters. Always `ui.inspect`/`ui.screenshot` before pointer work; never click blind.
4. **Web page API** (`window.deckcraft`) — only inside a page that already runs the web build; it is the same command authority with a 30 s promise timeout and no network port. Use it to build editor-like web integrations, not to reach a desktop app.
### Prepare inputs
- **Pictures:** PNG, JPEG, WebP, GIF, BMP, TIFF (not SVG, not HEIC; EMF/WMF only when already inside a deck). Pre-render logos and icons to PNG with transparency.
- **Audio/video:** MP3, AAC/M4A, ALAC, WAV, AIFF, CAF, FLAC, Ogg, Opus; H.264/HEVC/VP9/AV1 in MP4/MOV/WebM/MKV. Transcode WMA/WMV first. Keep a deck to a handful of simultaneously playing videos — 16 decoders is the hard cap.
- **Outlines:** a Markdown file with `#` headings, a tab-indented plain-text file, or `.rtf` (`\outlinelevel` paragraphs, falling back to `\li` indent) imports directly (`slide.fromOutline`); footer/date/slide-number placeholders are skipped on export.
- **Themes:** `.thmx`, or a `.pptx`/`.potx` whose first master holds the theme and layouts.
- **Legacy decks:** `.ppt`/`.pot`/`.pps` can be opened and converted to `.pptx`/`.deckcraft`; expect `lostSlides` for objects the importer could not find.
### Inspect, repair and convert
- `.deckcraft` is a zip: inspect `presentation.json`, `media/<id>` and `chart-parts/<index>` with `unzip -l`/`unzip -p`. Repair damaged media by restoring the member; do not rewrite the JSON unless the schema is understood. Older files with inline chart bytes still load and migrate on save; a manifest over 256 MiB is refused.
- Do **not** hand-edit a `.pptx` zip to "fix" it: use DeckCraft commands and re-export. Unknown PPTX parts are preserved by the writer, but hand-edited XML can break content types or relationships.
- Convert between `.deckcraft`, `.pptx`, `.pdf`, `.txt`/`.md`/`.rtf` and images with `convert`, remembering that `convert` writes only the first slide for PNG/JPEG and uses default PDF options; an opened `.ppt` has to be saved as `.pptx` or `.deckcraft`.
- A chart written back verbatim (over budget) will not respond to chart edits; replace it with a fresh `insert.chart` if the data must be editable.
### Verify exports
- Read the command result: exports return `{path, bytes}` or `{files}`; assert the file exists and its size is plausible. A zero-byte or missing file is a failure even if the process exited 0.
- Re-open the result: `deckcraft-cli info out.pptx` and compare slide count/titles/layouts; `deckcraft-cli render out.pptx --all` and look at the PNGs.
- For PDF, check page count and extracted text; the text layer is selectable but the artwork is raster, and evaluated fields (a slide number) appear as their values.
- For `.pptx` and `.ppsx`, the strongest test is opening it in PowerPoint/Keynote and checking for a repair prompt, animations, media and theme fonts. The project has not tested a real-deck corpus.
- For GIF, verify the `GIF89a` header, dimensions, frame count and delay; transitions/builds are intentionally absent.
### Do not
- Do not insert SVG, HEIC, or EMF/WMF via `insert.picture` and expect them to draw.
- Do not promise `.odp`, macros/VBA, password protection, an `.ppt` writer or MP4 export.
- Do not call `file.close` or `app.quit` on unsaved work; use `app.quit {"save": true}` only after saving explicit paths.
- Do not use `file.save`/`--save` for `.png`/`.jpg`: it is refused; use `file.export`/`--export`/`convert`. And do not trust an unmapped extension in `file.save`/`file.export` — it writes native bytes.
- Do not assume PDF is vector or that a `.pptx` round-trip is lossless.
- Do not rely on font metrics matching PowerPoint exactly; substitute faces change line breaks. Verify visually.
- Do not expose the control channel beyond loopback; it has no authentication. Do not run untrusted scripts in a page that hosts `window.deckcraft`.
- Do not trust `docs/` where it contradicts the code (request-line size, exit-effect count, command and crate counts, MCP batch caps, the `thaiDist` parameter doc are stale at this tag).
## Verification protocol
Alpha software with active auto-updates: verify every deliverable, keep a native master, and never trust a silent export.
1. **Pin the version.** Record the bundle's `--version` (`deckcraft 0.20.0` for this audit) before work. Update only between projects, not mid-deck; command ids, formats and export options move between releases.
2. **Work in a throwaway directory.** Copy sources in; never run destructive tests on the only copy of a deck. Keep a `.deckcraft` master plus dated backups.
3. **Round-trip a small test first.** New deck → one slide, shape, table, chart, picture, transition and note → save `.deckcraft` → export `.pptx` → reopen the `.pptx` → inspect counts and render PNGs. Fix workflow problems before touching the real deck.
4. **Save before every export.** A failed export must not be the only copy of your changes. `file.save` is atomic via a hidden `.saving` sibling; exports are ordinary writes.
5. **Check every export explicitly.** Existence and non-zero size; images: dimensions (and alpha, when `transparentBackground` was used); PDF: page count and selectable text; PPTX: reopen and render; GIF: header, dimensions, frame count; RTF: re-open as an outline.
6. **Look at the pixels.** `deckcraft-cli render … --all` (or MCP `render_slide`) and inspect the PNGs. Text overflow, missing fonts, blank SVG/EMF pictures and chart scaling are visual failures that a successful exit code will not catch.
7. **Open in the target app.** If PowerPoint is available, open the exported `.pptx` and check for repair prompts and lost animations/media. If not, state that fidelity is unverified rather than claiming parity.
8. **Keep the native file.** The `.deckcraft` master preserves DeckCraft-only constructs (including chart payloads) and is the safest thing to reopen after a failure.
9. **Record what changed.** Note version, command lines/JSON params, export options and any manual GUI steps, so a failed export can be reproduced.
## Sources & evidence
- **Repo:** https://github.com/storytold/deckcraft — tag `v0.20.0`, commit `99f845c691382f9d6e38d224cd19b617ac49096d` ("Release: DeckCraft v0.20.0 (main 274ec864ec)", 2026-11-28; `git rev-parse HEAD`), inspected **2026-12-03**; `v0.19.1` (`4a980c33…`) was diffed for every set and behaviour claim (129 files, +4 286/−1 072). The pinned checkout is shallow and squashed (one release commit per tag), so the tag-to-tag diff is the evidence for the delta.
- **Installed bundle:** `/Applications/DeckCraft.app`, `CFBundleIdentifier` `ai.storyteller.deckcraft`, version `0.20.0`; `--version` prints `deckcraft 0.20.0`; universal x86_64+arm64, Developer ID signed (Learning Machines LLC), notarized and stapled (`spctl` accepts it).
- **Key files read:** `README.md`; `Cargo.toml`; `ROADMAP.md`; `docs/{architecture,gaps,file-format-parity,animation-parity,target-app-parity,control-protocol,mcp,parity-checklist}.md`; `packaging/web/README.md`; `apps/deckcraft/src/{main,control_server,apple_events,logging,profile_root}.rs`; `apps/deckcraft-cli/src/help.rs`; `apps/deckcraft-web/src/{api,host,web}.rs`; `crates/engine/src/cmd.rs` and `crates/engine/src/cmd/` (id parse over every module, plus `file.rs`, `format/paragraph.rs`, `insert/text_fields.rs`, `shape/{appearance,size}.rs`, `insert/album.rs`, `reuse.rs`, `review.rs`, `smartart.rs`, `three_d.rs`, `table.rs`); `crates/engine/src/{io,lib,keys,connect,file_access,spell,tools}.rs`; `crates/model/src/{anim,chart,theme,text,lib,edit,trendline,resolve}.rs`; `crates/ppt/src/{lib,convert}.rs`; `crates/text/src/{breaking,layout}.rs`; `crates/geom/src/lib.rs`; `crates/format/src/lib.rs`; `crates/pptx/src/{lib,convert}.rs`; craft-libs `crates/pptx/src/{read,write}.rs`, `crates/pptx/src/{read,write}/{chart,shapes}.rs`, `crates/drawingml/src/diagram/parts.rs`; `crates/pdf/src/lib.rs`; `crates/mcp/src/{tools,server,backend,headless}.rs`; `crates/ui-egui/src/{lib,control,show,media,framework,menus}.rs`, `crates/ui-egui/src/panels/{fillui,notes}.rs`, `crates/ui-egui/src/app/{files,document_focus}.rs`, `crates/ui-egui/src/dialogs/updates_ui.rs`, `crates/ui-egui/src/ribbon/{animations,home}.rs`; `packaging/macos/Info.plist.in`.
- **Shared libraries (craft-libs, read at the pin's cached checkout for the catalog counts only):** one revision, `8fa4db64a9bb943520259ea95331a303ba788f21`, now used by every craft-libs crate (`Cargo.toml`). Verified there: 183 preset shapes (`craft-libs crates/drawingml/src/preset/catalog.rs`), 40 warps (`craft-libs crates/drawingml/src/warp.rs`), native budgets (`craft-libs crates/deckcraft-format/src/lib.rs`), MCP protocol versions (`craft-libs crates/mcp-server/src/server.rs`). Runtime behaviour of `craft-ui`/`craft-host` was not audited beyond the app's installation code.
- **Docs that are stale at this tag (code wins):** `docs/control-protocol.md` (16 MiB vs the code's 256 MiB); `docs/animation-parity.md` (14 exits vs 23); `docs/architecture.md` (320 commands and 24 crates vs 329 and 15) and `docs/target-app-parity.md` (328); `ROADMAP.md` ("226 commands"); `docs/mcp.md` (no batch caps); `format.align`'s parameter doc (omits `thaiDist`).
- **Not independently verified:** PowerPoint's acceptance of exported `.pptx`/`.ppsx` without repair on real decks, render fidelity against PowerPoint, runtime command execution, `deckcraft-cli` execution (not installed on this machine; its release asset and install recipe are documented under *Getting the CLI* but were not run here), the web `window.deckcraft` API in a browser, `.ppt` import on a real legacy deck, and any GUI behaviour. Claims here are code and document inspection plus bundle metadata and `--version` checks; no GUI was launched and no deck was rendered.