Pptgen Drawio
Builds thesis defense and work presentation decks as draw.io pages, exports them to PowerPoint, checks for cut-off text and writes a timed script.
What it is
Pptgen Drawio makes slide decks for two situations: a Chinese university thesis defense (including proposal and pre-defense talks) and general presentations such as work reports, product introductions and speeches. It is written in Chinese and tuned for Chinese text. The agent draws every slide as a page in a draw.io file (an editable diagram format) and then converts the file into a PowerPoint .pptx you can open and present.
For a defense, the number of slides follows your time slot: 17 for 10 minutes, 20 for 15 minutes, 23 for 20 minutes, or about 45 seconds per slide otherwise, with methods and experiments taking at least 40 percent of the content. There are four built-in looks, from navy and gold classic academic to a minimal big-type style, or it can copy the colors and fonts of your own .pptx template. Body text is set large enough to read from the back row, so two-column points are kept to about 14 Chinese characters per line.
After exporting, a repair script fixes a converter bug that stops Chinese text boxes from wrapping, and a checking script measures every text box with real fonts to catch overflow, then renders each slide as an image for a visual check. In defense mode you also get a slide-by-slide speaking script timed at 200 characters a minute, copied into the slide notes. It works from the key facts of your thesis, so have the title, chapters and contributions ready.
What it can do
- Generates thesis defense decks with a fixed order: cover, contents, background, prior work, methods, innovations, experiments, conclusion, thanks, Q&A.
- Builds general presentation decks with section dividers, content pages and a summary from your outline.
- Sizes the defense deck to your talk length and keeps methods and experiments at 40 percent or more.
- Offers four color and layout styles, or extracts a custom style from a PowerPoint template you supply.
- Exports the draw.io file to .pptx and fixes Chinese text wrapping in the result.
- Flags text boxes that will overflow and renders each slide to PNG so you can see problems.
- Writes a timed speaking script for each slide and puts it in the PowerPoint notes.
When to use it
- Your master's defense is in two weeks, you have 15 minutes, and you need a deck plus something to rehearse from.
- Your school gave you a PowerPoint template and the slides must match its colors and fonts.
- You have a quarterly work report outline and want it turned into a clean, consistent deck.
- A previous AI-made deck had Chinese text running off the slide and you want one that has been checked.
How it works
- 1The agent gathers your content: thesis title, field, talk length, chapters and contributions for a defense, or your outline for a general talk, asking for anything missing.
- 2You pick a style, or it suggests one; with your own template, a Python script reads its colors and fonts first.
- 3It writes all slides into one draw.io file at 1920 by 1080, following the chosen style and its checklist of known pitfalls.
- 4It converts the file to .pptx with the drawio2pptx tool, then runs a repair script so Chinese text wraps correctly.
- 5A checking script measures text against box sizes and exports slide images through PowerPoint or LibreOffice; the agent fixes any overflow and reruns it.
- 6For a defense, it writes the timed speaking script and adds it to the slide notes.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/xstongxue/best-skills/tree/main/skills/pptgen-drawio
pnpm dlx skills add https://github.com/xstongxue/best-skills/tree/main/skills/pptgen-drawio
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the pptgen-drawio folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/xstongxue/best-skills.git mkdir -p ~/.claude/skills cp -r best-skills/skills/pptgen-drawio ~/.claude/skills/pptgen-drawio
Then just ask in plain language, for example: “Make a 15-minute thesis defense PPT from this summary of my thesis.”
More Office & Documents skills
PPT Master
73kTurns documents, topics or slide images into natively editable PowerPoint decks, and can restyle, refill or narrate decks you already have.
Employment Contract Templates
42kDrafts offer letters, employment agreements and employee handbook policies from fill-in templates, ready for a lawyer to review.
Startup Metrics Framework
42kCalculates and benchmarks the startup numbers investors ask about, from CAC, LTV and burn multiple to retention, GMV and sales pipeline.