Puts an existing deck into your company template, or applies a theme, with previews.
Say it in your own words; the assistant finds this recipe by itself. Examples:
Make an EXISTING PowerPoint look like the company's in ONE command with the DeckCraft engine: rebuild its slides inside a company template (the template's master, layouts, colours, fonts and footer), or apply a template's or a built-in theme to it, optionally override the colour scheme and fonts, add a footer and slide numbers, and render the first slides to PNG to prove it. Content stays, look changes. Use for: put this deck in our template, apply our brand to these slides, make it look like our other decks, change the theme of this presentation, dark theme for the keynote. Triggers: our template, brand, restyle, re-theme, apply theme, make it look like, company colours, skabelon, firmaets design.
python3 /skills/deck-restyle/scripts/restyle.py IN.pptx OUT.pptx <one mode> [options] wraps
deckcraft-cli, a native engine that reads and writes real .pptx without PowerPoint. Every run
prints one OK … line or one ERROR … line. Inputs the person uploaded are in /work/in; write
results to /work/out.
| Need | Command |
|---|---|
| Rebuild the slides inside the company template (its master, layouts, colours, fonts, footer) | restyle.py /work/in/deck.pptx /work/out/deck.pptx --into /work/in/template.pptx --preview /work/out/preview |
| Apply only the template's colours, fonts and effects (keep the deck's own layouts) | restyle.py /work/in/deck.pptx /work/out/deck.pptx --from /work/in/template.pptx |
A built-in theme (see restyle.py themes) |
restyle.py /work/in/deck.pptx /work/out/deck.pptx --theme Nocturne --preview /work/out/preview |
| Footer and slide numbers on every slide | add --footer "Nordisk Widgets · Confidential" --numbers |
| Override colours or fonts | add --colors '{"accent1":"#0F5C6E","dk2":"#1B2430"}' and/or --fonts "Liberation Serif,Carlito" (fonts in the sandbox: Liberation Sans/Serif, DejaVu Sans/Serif, Carlito, Caladea, Noto Sans) |
| A flat background colour on all slides | add --background #F3F7F8 |
Modes: exactly one of --into (the usual answer to "put it in our template"), --from (lighter:
theme only), --theme NAME (built-in: DeckCraft, Harbor, Ember, Meadow, Nocturne, Paper, Coral
Reef, Slate). --preview DIR renders the first three slides (--preview-count N for more) so you
can look at the result (read the PNGs) and the person can too. --into keeps the deck's text,
tables, charts and pictures and drops the template's own sample slides. Give the person the links
to the deck and the previews.
SKILL.mdgate.jsonscripts/__pycache__/restyle.cpython-313.pycscripts/restyle.pyWritten by Percerno, MIT licence.