{"data":{"slug":"discovered-b0f71bd23e36d941c277d682d82e206369ed6f335aba8c63","title":"Deckcraft","summary":"Use the DeckCraft CLI to inspect, render, and convert slide decks (.pptx, .deckcraft) into formats like PNG, PDF, and text. The tool supports headless operations and app control via command-line interface.","url":"https:\/\/skillshunter.net\/skills\/discovered-b0f71bd23e36d941c277d682d82e206369ed6f335aba8c63","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-b0f71bd23e36d941c277d682d82e206369ed6f335aba8c63","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-b0f71bd23e36d941c277d682d82e206369ed6f335aba8c63.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-b0f71bd23e36d941c277d682d82e206369ed6f335aba8c63\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running commands, ensure the `.installed-from` file exists and check for updates by running `git ls-remote https:\/\/gitlab.com\/e1dred\/agent-skills.git HEAD` and comparing the hash with the file's value. Always work in a scratch directory and avoid editing someone's only deck.","instructions":"---\nname: deckcraft\ndescription: Use when building, editing, rendering or converting slide decks (.deckcraft, .pptx), when running deckcraft-cli, or when connecting to the DeckCraft app (storytold) on this machine\n---\n\n# DeckCraft\n\n> **Updates:** if this folder has a `.installed-from` file (written when it was copied from the repo), run `git ls-remote https:\/\/gitlab.com\/e1dred\/agent-skills.git HEAD` once per session. Take the hash on the output line that ends in exactly `HEAD`; if it differs from the file's, tell the user a newer version exists and offer to update it (see \"Updating\" in https:\/\/gitlab.com\/e1dred\/agent-skills\/-\/blob\/main\/INSTALL.md, which can merge local edits); never update without asking. Compare the hashes after trimming whitespace. No file, a clone or symlink, or no network (empty output or an error from `git ls-remote`): skip silently.\n\n**Start of a session:** run `..\/check-versions.sh` (read-only; app vs CLI versions, ONLYOFFICE flatpak updates; only present in a full clone of the repo, otherwise compare `deckcraft-cli --version` with the app's version in its About box or on its releases page by hand; `--version` on an AppImage can open the app). A CLI older than its app has caused real failures. In a full clone, `..\/coverage.sh` shows how much of the app this skill names.\n\nField notes from real tasks, last tested on **deckcraft-cli 0.20.0** (Linux AppImage). DeckCraft is an alpha, PowerPoint-style\npresentation app in Rust. Everything is a command with an id (331 of them); CLI, MCP and the live control channel run the\nsame commands. If `deckcraft-cli --version` is newer, re-check before relying on this.\n\n## Updating this skill\nRules for adding findings, fixing claims and logging: `reference\/maintenance.md`.\n\n## Surfaces\n\n\n- **Headless CLI**: `info FILE`, `render FILE --all --scale 1 OUTDIR\/` (PNG per slide, 0-based `--slide N`),\n  `convert IN OUT` (`.deckcraft .pptx .pdf .txt\/.md .png .jpg .gif`; PNG\/JPG = first slide only),\n  `run [--in FILE|--sample] --cmd 'id={json}'... --save OUT [--export OUT] [--print]`,\n  `commands [FILTER]`, `describe COMMAND` (parameter docs \u2014 use this before guessing).\n- **Live app**: start with `--control PORT`; then `deckcraft-cli app --port PORT COMMAND '{json}'` runs a command, and\n  `deckcraft-cli app --port PORT --method ui.inspect|ui.screenshot|document.inspect '{json}'` calls a control method.\n  (Note: the CLI `--port` goes *before* the command.)\n- **MCP**: `deckcraft-cli mcp --connect PORT`. If the MCP server failed to connect at session start the app wasn't running\n  yet; the `app` subcommand works anyway.\n\n## Where things are\n\nRead the file that matches the task; each lists the sections it holds. Use `grep -n` on `reference\/` to find a command id.\n\n| File in `reference\/` | Read it for | Sections |\n|---|---|---|\n| `building-decks.md` | Building whole decks: recipes, exports (PDF, notes pages, handouts, GIF), a real deck end to end, a board deck with charts, next-tier workflows | More recipes; Building a real deck; Next-tier workflows; Board deck from sample data: charts, axis, alt text |\n| `smartart-animation-masters.md` | SmartArt layouts, grouping, pictures, slide layouts, animation and transition catalogues, master editing | SmartArt, grouping, pictures, layouts; SmartArt layouts, animation and transition catalogues, master editing |\n| `shapes-text-tables.md` | Shapes, text and character formatting, tables, photo album, shape actions and action buttons (listing a slide's links: `slide.actions` in `newer-commands.md`), sections, media, navigation, alignment, ink | Shapes, text formatting, tables, photo album, actions, sections, masters and files; Text editing, character formats, arranging, media, navigation and data commands; Ink in DeckCraft; Alignment and redo |\n| `newer-commands.md` | What each version added or changed (0.11 onward), with exact parameters: motion paths, slide actions, gradient kinds | New in 0.11.x; Newer commands; 0.13 changes; 0.14 changes; 0.15 changes |\n| `command-sweep.md` | The last 28 command ids, smoke-tested | The last 28 command ids; Verified in detail, DeckCraft phase 2; Verified in detail, DeckCraft second pass |\n| `command-catalogue.md` | The status of every id in one place (331, by family): verified, verified with a limit, documented, skipped or broken, and where the skill records it | \u2014 |\n| `log.md` | Dated log of what was tested when | Log |\n\n## Command formats (verified)\n\n| Goal | Command |\n|---|---|\n| new deck | `file.new` (blank) or `file.new {\"template\":\"Pitch\"}` (starters: Briefing, Lesson, Pitch, Field Notes, Quarterly, Evening Talk) |\n| slide | `slide.new {\"layout\":\"title|titleAndContent|titleOnly|blank|twoContent|\u2026\",\"title\":\"\u2026\",\"body\":\"a\\nb\\n\\tnested\",\"at\"?}` \u2192 `{id,index}`; inserted after the current slide and becomes current |\n| navigate | `slide.go {\"index\":1}` (0-based) |\n| shape | `shape.insert {\"preset\":\"roundRect|star5|\u2026\",\"rect\":[x,y,w,h],\"text\"?}` points on a 960\u00d7540 slide \u2192 `{id}` |\n| table | `insert.table {\"rows\":3,\"cols\":2,\"rect\":[\u2026]}` |\n| chart | `insert.chart {\"type\":\"column|bar|line|pie|\u2026\",\"rect\":[\u2026],\"categories\"?,\"series\"?:[{name,values}]}` |\n| notes | `slide.notes {\"text\":\"\u2026\",\"index\":2}` |\n| transition | `transition.set {\"kind\":\"fade\",\"duration\"?:ms,\"index\"?}` \u2014 parameter is `kind`, not `type` |\n| inspect | `slide.inspect {\"index\"?}` (shapes, ids, boxes), `document.inspect` (needs an open deck) |\n| save | `file.save {\"path\":\u2026}` (format by extension: `.deckcraft`, `.pptx`) |\n| export | `file.export {\"path\":\u2026,\"format\"?,\"all\"?:true,\"slide\"?,\"scale\"?}`; PDF options `layout, perPage, paper, orientation, slides` |\n\n## Traps\n\n- Headless `file.new` already contains **one empty title slide**; `slide.new` inserts after it, so the deck starts with a\n  blank slide 0. Delete it (`slide.delete {\"index\":0}`) or reuse it.\n- Live app with no deck open is on the Home screen: `document.inspect` errors \"no presentation open\" until `file.new`\/`file.open`.\n- `file.export` of a PNG with `\"all\":true` names files `stem1.png \u2026 stemN.png` (from 1) while `render --all` writes `slide-01.png`.\n- Never `file.save` to `.png\/.jpg`: it is refused (\"saving a presentation as a single image isn't supported\"); use `file.export` \/ `convert`.\n- `file.save` to `.pptx` makes the live document point at the pptx. Keep a `.deckcraft` master and treat `.pptx` as an exchange copy.\n- `file.close` and `app.quit` discard unsaved work without asking. Save with explicit paths first.\n- `run` stops at the first failing command and saves nothing.\n- `ui.screenshot` PNGs are ~2366 px wide (HiDPI); they're large, view rarely.\n- Default theme fonts are Inter (blank) \/ Montserrat+Lato (Pitch); substituted fonts change line breaks, so verify by rendering.\n\n## Verify\n\n1. `deckcraft-cli info OUT.pptx` \u2014 slide count, titles, layouts after a round trip.\n2. `deckcraft-cli render FILE --all --scale 1 dir\/` and look at the PNGs (text overflow and charts are only visible there).\n3. PDF: `qpdf --show-npages`; the text layer is selectable, the artwork is raster.\n4. `.pptx` repair-free opening in PowerPoint is unverified; say so rather than claiming parity.\n5. Work in a scratch directory; copy sources first, never edit someone's only deck.\n\n## Limits\n\nNo `.ppt\/.odp\/.pptm`, no SVG\/HEIC pictures, no MP4 export (GIF only), no recording, PDF artwork rasterised, SmartArt\/animations\npartial, English UI only.\n","use_cases":["Inspect slide decks for layout, titles, and content using `deckcraft-cli info`","Render slide decks to PNG images for detailed visual review","Convert slide decks to PDF, text, and other formats using the CLI","Control the DeckCraft app via command-line interface for interactive editing"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/gitlab.com\/e1dred\/agent-skills\/-\/blob\/038fce8ee73c2630a28e1c903f9e541197d2e3b2\/deckcraft\/SKILL.md","source_commit":"038fce8ee73c2630a28e1c903f9e541197d2e3b2","license":null,"version":null,"listing_approved_at":"2026-12-02","created_at":"2026-11-30T09:06:23.000000Z","updated_at":"2026-12-02T09:15:52.000000Z","seo_title":"Deckcraft - Slide Deck Inspection and Conversion Tool","seo_description":"Use Deckcraft to inspect, render, and convert slide decks (.pptx, .deckcraft) into formats like PNG, PDF, and text using the headless CLI or app control interface.","seo_keywords":["slide deck inspection","slide deck conversion","deckcraft cli","pptx to pdf","pptx to text","deckcraft app control"]}}