JunfengRan/PPTWork / ppt-html-authoring
ppt-html-authoring
VerifiedAuthor a single PPT slide as a self-contained slide.html + design.md, given one outline entry. Use when the user asks to design, draft, or rewrite an individual slide page (KPI page, agenda, cover, two-column comparison, chart slide, etc.). Single-page only; does not plan across pages, does not screenshot, does not export. Works alongside the `ppt` skill or standalone.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.6 KB |
| references/design-md-spec.md | markdown | 7.7 KB |
| references/diagram-and-chart.md | markdown | 8.2 KB |
| references/editable-html-rules.md | markdown | 2.0 KB |
| references/ppt-best-practices.md | markdown | 6.6 KB |
| references/slide-html-rules.md | markdown | 10.2 KB |
references/editable-html-rules.md
View on GitHub# Editable HTML authoring rules
html2pptx-pro cannot perfectly turn arbitrary browser HTML/CSS into editable PowerPoint objects. Editable decks should still be authored with simple, explicit DOM structure so the converter can map text, shapes, tables, and charts predictably.
Use these rules for the default editable export path. If the result drifts, switch to raster for high-fidelity output.
## Allowed structure
- Fixed canvas: `html, body { width:1280px; height:720px; margin:0; overflow:hidden; }`
- Simple absolute positioning, grid, or flex layouts.
- Real text in `h1`-`h6`, `p`, `ul`, `ol`, `li`, or leaf `div` / `span`.
- Simple cards and badges with solid background, border, border-radius, and optional shadow.
- Real `<table>` for tables.
- Chart.js canvases only when the chart config can be extracted.
- Stable `data-id` / `data-role` on important editable objects.
## Avoid or rasterize
- Text inside SVG, canvas, images, CSS pseudo-elements, or background images.
- Complex stacked gradients around foreground content.
- `filter`, `backdrop-filter`, `mix-blend-mode`, complex `clip-path`, animation, transitions.
- Complex transforms beyond simple rotation.
- Deeply nested text containers that depend on browser auto layout.
If a visual effect is important but not editable, isolate it in its own node and mark it `data-raster="true"`. Keep editable text and shapes as separate foreground nodes.
## Converting an existing deck to editable
Do not write a rule-only converter. Use a language model page by page:
1. Read the existing `design.md`, `slide.html`, and screenshot.
2. Preserve the content and visual hierarchy.
3. Rewrite `slide.html` into the allowed structure above.
4. Move important text out of SVG/canvas/images/pseudo-elements into real text nodes.
5. Split complex backgrounds from editable foreground content.
6. Run screenshot QC, then export with `--mode editable`.
Success means the PPTX contains editable text/shape XML (`<a:t>`, `<p:sp>`) for meaningful content, not a single full-slide picture.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |