| name | PPTX Writer |
| description | Create PowerPoint slide decks (.pptx) using `pptxgenjs` from Prometheus. Best for presentations, investor decks, status decks, proposals, and client-ready slides. |
| emoji | 📊 |
| version | 1.0.0 |
| triggers | create powerpoint, create power point, create pptx, generate pptx, export powerpoint, export pptx, make slides, make slide deck, investor deck, status deck, presentation deck, powerpoint slides |
PPTX Writer
Create .pptx slide decks using pptxgenjs.
Dependency Check
node -e "require('pptxgenjs'); console.log('OK')"
Run from D:\Prometheus. If it fails:
node workspace\doc-skills-setup.js --install pptxgenjs
How It Works
- Write a temp script to
D:\Prometheus\workspace\_tmp_pptxwrite.js
- Run it from
D:\Prometheus\workspace
- Save the final file as
workspace\[filename].pptx
- Tell the user the exact file path
- Clean up the temp script
Minimal Example
const PptxGenJS = require('../node_modules/pptxgenjs');
async function main() {
const pptx = new PptxGenJS();
pptx.layout = 'LAYOUT_WIDE';
pptx.author = 'Prometheus';
pptx.company = 'Prometheus';
pptx.subject = 'Generated presentation';
pptx.title = 'Business Update';
pptx.lang = 'en-US';
pptx.theme = {
headFontFace: 'Aptos Display',
bodyFontFace: 'Aptos',
lang: 'en-US',
};
const cover = pptx.addSlide();
cover.background = { color: 'F6F8FC' };
cover.addText('Business Update', {
x: 0.6, y: 0.8, w: 11.2, h: 0.7,
fontFace: 'Aptos Display', fontSize: 24, bold: true, color: '152033',
});
cover.(, {
: , : , : , : ,
: , : , : ,
});
agenda = pptx.();
agenda.(, {
: , : , : , : ,
: , : , : , : ,
});
[
,
,
,
].( {
agenda.(text, {
: , : + index * , : , : ,
: , : , : ,
: { : },
});
});
pptx.({ : });
.();
}
().( {
.(error);
process.();
});
Default Rule
- Use
pptxgenjs for actual editable slide decks, not HTML screenshots.
- Prefer 16:9 (
LAYOUT_WIDE) unless the user explicitly wants another aspect ratio.
- Keep each slide to one core message, and generate speaker notes separately in markdown if needed.