24111999/claude-skills / slide-studio
slide-studio
UnverifiedCreate and modify PowerPoint presentations (PPTX) through direct XML manipulation. Use this skill when: (1) Creating presentations from scratch, (2) Adding/editing/deleting slides, (3) Inserting images or custom shapes, (4) Applying POTX templates for consistent branding, (5) Editing existing PPTX files, (6) Working with slide layouts and placeholders, (7) User asks to make a "presentation", "slides", "deck", or mentions ".pptx". Supports all 11 standard Office slide layouts.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.3 KB |
| assets/base.pptx | binary | 17.6 KB |
| assets/claude-skills-v1.5.zip | binary | 1.3 MB |
| package-lock.json | manifest | 4.5 KB |
| package.json | manifest | 422 B |
| references/ooxml-reference.md | markdown | 4.5 KB |
| references/slide-patterns.md | markdown | 5.2 KB |
| scripts/add-image.js | script | 7.0 KB |
| scripts/add-shape.js | script | 7.9 KB |
| scripts/add-slide.js | script | 9.2 KB |
| scripts/apply-potx.js | script | 9.0 KB |
| scripts/clone-slide.js | script | 5.3 KB |
| scripts/create-base.js | script | 16.0 KB |
| scripts/delete-slide.js | script | 3.2 KB |
| scripts/edit-text.js | script | 5.8 KB |
| scripts/generate-base.js | script | 24.7 KB |
| scripts/lib/constants.js | script | 3.2 KB |
| scripts/lib/content-types.js | script | 3.8 KB |
| scripts/lib/relationships.js | script | 3.9 KB |
| scripts/lib/xml-utils.js | script | 4.6 KB |
| scripts/list-layouts.js | script | 2.2 KB |
| scripts/list-slides.js | script | 3.4 KB |
| scripts/pack.js | script | 3.0 KB |
| scripts/skills_claude_poetship.zip | binary | 498.2 KB |
| scripts/unpack.js | script | 1.6 KB |
| scripts/visualize-slide.js | script | 6.0 KB |
scripts/lib/constants.js
View on GitHub/**
* PPTX/OOXML Constants
*/
// XML Namespaces
const NS = {
p: 'http://schemas.openxmlformats.org/presentationml/2006/main',
a: 'http://schemas.openxmlformats.org/drawingml/2006/main',
r: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships',
ct: 'http://schemas.openxmlformats.org/package/2006/content-types',
rel: 'http://schemas.openxmlformats.org/package/2006/relationships',
};
// Relationship Types
const REL_TYPES = {
slide: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide',
slideLayout: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout',
slideMaster: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster',
theme: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme',
image: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image',
notesSlide: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide',
presProps: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps',
viewProps: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps',
tableStyles: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles',
};
// Content Types
const CONTENT_TYPES = {
presentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml',
slide: 'application/vnd.openxmlformats-officedocument.presentationml.slide+xml',
slideLayout: 'application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml',
slideMaster: 'application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml',
theme: 'application/vnd.openxmlformats-officedocument.theme+xml',
presProps: 'application/vnd.openxmlformats-officedocument.presentationml.presProps+xml',
viewProps: 'application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml',
tableStyles: 'application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml',
png: 'image/png',
jpeg: 'image/jpeg',
gif: 'image/gif',
rels: 'application/vnd.openxmlformats-package.relationships+xml',
xml: 'application/xml',
};
// EMU conversions (English Metric Units)
const EMU = {
INCH: 914400,
CM: 360000,
PT: 12700,
PX: 9525, // at 96 DPI
// Standard slide size 16:9 (13.333" x 7.5")
SLIDE_WIDTH_16_9: 12192000,
SLIDE_HEIGHT_16_9: 6858000,
// Standard slide size 4:3 (10" x 7.5")
SLIDE_WIDTH_4_3: 9144000,
SLIDE_HEIGHT_4_3: 6858000,
};
// Placeholder types
const PLACEHOLDER_TYPES = {
title: 'title',
body: 'body',
ctrTitle: 'ctrTitle',
subTitle: 'subTitle',
dt: 'dt',
ftr: 'ftr',
sldNum: 'sldNum',
chart: 'chart',
tbl: 'tbl',
clipArt: 'clipArt',
dgm: 'dgm',
media: 'media',
sldImg: 'sldImg',
pic: 'pic',
};
// Standard layout names
const LAYOUT_NAMES = {
1: 'Title Slide',
2: 'Title and Content',
3: 'Section Header',
4: 'Two Content',
5: 'Comparison',
6: 'Title Only',
7: 'Blank',
8: 'Content with Caption',
9: 'Picture with Caption',
10: 'Title and Vertical Text',
11: 'Vertical Title and Text',
};
module.exports = {
NS,
REL_TYPES,
CONTENT_TYPES,
EMU,
PLACEHOLDER_TYPES,
LAYOUT_NAMES,
};
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: 198k | 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: 198k | 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: 198k | 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: 198k | Updated | Claude CodeCodex | Verified | Install |