moda-design/moda

moda-deck-pptx

- Import a .pptx into Moda as an editable canvas, then fix it.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

moda-deck-pptx

<!-- moda:banner --> PREREQUISITE — load `moda-core` once per session (step-0, write contract, free/metered map). Already loaded? Skip ahead. If you cannot load it, the non-negotiables: run moda doctor --json before anything; moda brand list before creating; writes that pin a revision use your last read's — on stale_revision, re-read and retry once (it heals); send the canvas link the moment it exists; stuck or failed? moda ask "<question>" — free and fast, never guess. <!-- /moda:banner -->

Sizes and defaults

ThingValueNotes
Importmoda canvas import-pptx [file.pptx]FREE, un-billed, async — the verb polls to completion
Resultone canvas, one page per slideslide size is preserved from the file
Round tripmoda export … --format pptxnative shapes and text layers, not screenshots
Data lawevery source string and number survives verbatima cleanup that loses data is a failure

Import takes a local path or a durable file_… ref. Nothing is generated and nothing is charged; the import is the cheapest useful thing you can do with a deck someone hands you.

Recipe — import, then fix

  1. moda canvas import-pptx [deck.pptx] — free, async, polls itself to completion (--no-wait returns a job id; re-poll with moda canvas import-pptx --job [JOB_ID]). Send the canvas link the MOMENT it exists.
  2. moda canvas read [CANVAS_REF] --summary — the page index and what landed on each slide.
  3. moda canvas screenshot [CANVAS_REF] --page [IDS] in ≤3-page batches, worst slides first. Judge with your own eyes; list the fixes before making any.
  4. Fix smallest-change-first, one slide at a time: moda canvas edit [CANVAS_REF] --file fix.js for targeted property changes (references/edit-code.md); moda canvas markup [CANVAS_REF] --file - --page [PAGE_ID] --mode replace --revision [REV] to rebuild a slide outright (grammar: references/markup.md); moda canvas delete-items [CANVAS_REF] [NODE_IDS] for cruft. Data preservation is non-negotiable — restate every source string and number verbatim.
  5. Re-theming to the team's kit? moda canvas brand [CANVAS_REF] [KIT] records the kit; the tokens still have to be authored into the slides (kit creation itself is moda-brand's job).
  6. moda canvas screenshot [CANVAS_REF] again and compare against your fix list.
  7. Deliver the live link; export back only on a format word or an accepted offer: moda export [CANVAS_REF] --format pptx -o [deck]-clean.pptx.
  8. Read the export warnings — pptx_shape_rasterized (an image baked in rather than editable) and pptx_content_dropped (an element missing entirely) name exactly what did not survive. Repair or disclose; never hand over a silently degraded deck.

Examples

  • "clean up this PowerPoint" → import, screenshot the worst slides, fix, export.
  • "put our brand on this deck" → import, bind the kit, re-author the tokens.
  • "what's actually in this deck?" → import + read --summary; no edits unasked.
  • "fix slide 7's chart" → import, then the targeted-edit step on that page only.
  • "build a NEW deck from this content" → moda-deck owns authoring from scratch.

Errors

Any typed error → load moda-core and read its recovery reference. An import that fails or returns an empty canvas is a file problem, not a retry problem: say what happened, then moda ask "<question>" with the task error.

Make it recurring

The cleaned deck is the team's canonical starting point — flag it with moda canvas template [CANVAS_REF] via moda-templates, so the next deck starts there instead of from another crufty .pptx.

See also: moda-deck — authoring a deck from a brief, doc, or notes · moda-core — the contract, recovery, everything Moda can do.

References

DocLoad when
references/deck-design.mdjudging and rebuilding an imported slide
references/edit-code.mdbefore any targeted fix program
references/export.mdthe pptx round trip and its warnings
来自同一仓库

更多 Skills

全部 Skills
moda-design
社区

moda-audio

- Generate audio on Moda: voiceover/TTS, narration, music, jingles, sound effects — up to 10 minutes per render, delivered as a file (no canvas slot). Use for: voiceover, narration, "read this aloud", jingle, background music, SFX. Pairs with moda-video-clip for scored video. Metered.

安装量
4
GitHub Stars
0
最近更新
10月10日
moda-design
社区

moda-automate

- Recurring Moda work — scheduled posts, weekly reports, sync jobs: a host-side scheduler drives the Moda command line; the artifact itself still routes to its format skill. Use for: "every week/day…", "auto-post X", "keep this updated".

安装量
4
GitHub Stars
0
最近更新
10月10日
moda-design
社区

moda-brand

- Moda brand kits — fetch, create, update, apply, and audit designs against them. Use for: brand kit, on-brand, brand colors/fonts/logo, "use our brand", "match our site", rebrand. Create from a website URL OR manual tokens, never both. Kits, not renders: the artifact skill leads and pulls the kit — a brand-led "make a video" → moda-video. Designing a NEW logo → moda-social.

安装量
4
GitHub Stars
0
最近更新
10月10日
moda-design
社区

moda-chart

- Data charts on Moda from real data — CSV, a table, pasted numbers: bar, line, area, pie, scatter, combo; an editable chart on a live canvas, exported png or pdf. Use for: "chart/graph/plot this data", "visualize these numbers". NOT: a chart inside an artifact another moda skill is building — the building skill keeps it; boxes-and-arrows or quadrants → moda-diagram.

安装量
4
GitHub Stars
0
最近更新
10月10日