pptx-generator
Qué hace
Esta skill trabaja con presentaciones de PowerPoint de principio a fin. Cubre la lectura de presentaciones, la edición de plantillas y la creación de diapositivas nuevas con un sistema de diseño integrado. Está pensada para personas que hacen presentaciones.
Cuándo usarla
- ✓Cuando quieres una presentación nueva creada desde cero.
- ✓Cuando tienes una plantilla de PowerPoint y necesitas actualizarla.
- ✓Cuando necesitas el texto de una presentación existente.
Link de la skill
https://github.com/MiniMax-AI/skills/blob/main/skills/pptx-generator/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero una presentación de 10 diapositivas sobre nuestra hoja de ruta de producto, con portada, agenda y resumen.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente lee la presentación existente o construye una nueva a partir de sus tipos de diapositiva y reglas de diseño. Las ediciones de plantillas se hacen mediante pasos XML seguros, y la lectura usa una herramienta de extracción de texto.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
PPTX Generator & Editor
Overview
This skill handles all PowerPoint tasks: reading/analyzing existing presentations, editing template-based decks via XML manipulation, and creating presentations from scratch using PptxGenJS. It includes a complete design system (color palettes, fonts, style recipes) and detailed guidance for every slide type.
Quick Reference
| Task | Approach |
|---|---|
| Read/analyze content | python -m markitdown presentation.pptx |
| Edit or create from template | See Editing Presentations |
| Create from scratch | See Creating from Scratch below |
| Item | Value |
|---|---|
| Dimensions | 10" x 5.625" (LAYOUT_16x9) |
| Colors | 6-char hex without # (e.g., "FF0000") |
| English font | Arial (default), or approved alternatives |
| Chinese font | Microsoft YaHei |
| Page badge position | x: 9.3", y: 5.1" |
| Theme keys | primary, secondary, accent, light, bg |
| Shapes | RECTANGLE, OVAL, LINE, ROUNDED_RECTANGLE |
| Charts | BAR, LINE, PIE, DOUGHNUT, SCATTER, BUBBLE, RADAR |
Reference Files
| File | Contents |
|---|---|
| slide-types.md | 5 slide page types (Cover, TOC, Section Divider, Content, Summary) + additional layout patterns |
| design-system.md | Color palettes, font reference, style recipes (Sharp/Soft/Rounded/Pill), typography & spacing |
| editing.md | Template-based editing workflow, XML manipulation, formatting rules, common pitfalls |
| pitfalls.md | QA process, common mistakes, critical PptxGenJS pitfalls |
| pptxgenjs.md | Complete PptxGenJS API reference |
Reading Content
# Text extraction
python -m markitdown presentation.pptx
Creating from Scratch — Workflow
Use when no template or reference presentation is available.
Step 1: Research & Requirements
Search to understand user requirements — topic, audience, purpose, tone, content depth.
Step 2: Select Color Palette & Fonts
Use the Color Palette Reference to select a palette matching the topic and audience. Use the Font Reference to choose a font pairing.
Step 3: Select Design Style
Use the Style Recipes to choose a visual style (Sharp, Soft, Rounded, or Pill) matching the presentation tone.
Step 4: Plan Slide Outline
Classify every slide as exactly one of the 5 page types. Plan the content and layout for each slide. Ensure visual variety — do NOT repeat the same layout across slides.
Step 5: Generate Slide JS Files
Create one JS file per slide in slides/ directory. Each file must export a synchronous createSlide(pres, theme) function. Follow the Slide Output Format and the type-specific guidance in slide-types.md. Generate up to 5 slides concurrently using subagents if available.
Tell each subagent:
- File naming:
slides/slide-01.js,slides/slide-02.js, etc. - Images go in:
slides/imgs/ - Final PPTX goes in:
slides/output/ - Dimensions: 10" x 5.625" (LAYOUT_16x9)
- Fonts: Chinese = Microsoft YaHei, English = Arial (or approved alternative)
- Colors: 6-char hex without # (e.g.
"FF0000") - Must use the theme object contract (see Theme Object Contract)
- Must follow the PptxGenJS API reference
Step 6: Compile into Final PPTX
Create slides/compile.js to combine all slide modules:
// slides/compile.js
const pptxgen = require('pptxgenjs');
const pres = new pptxgen();
pres.layout = 'LAYOUT_16x9';
const theme = {
primary: "22223b", // dark color for backgrounds/text
secondary: "4a4e69", // secondary accent
accent: "9a8c98", // highlight color
light: "c9ada7", // light accent
bg: "f2e9e4" // background color
};
for (let i = 1; i <= 12; i++) { // adjust count as needed
const num = String(i).padStart(2, '0');
const slideModule = require(`./slide-${num}.js`);
slideModule.createSlide(pres, theme);
}
pres.writeFile({ fileName: './output/presentation.pptx' });
Run with: cd slides && node compile.js
Step 7: QA (Requir
Preguntas frecuentes
¿Qué tipos de diapositiva cubre?
Cubre diapositivas de portada, índice, separador de sección, contenido y resumen.
¿Cómo lee una presentación?
Usa la herramienta markitdown para extraer el texto de una presentación.
¿Incluye un sistema de diseño?
Sí. Incluye paletas de colores, fuentes y recetas de estilo para diapositivas coherentes.
Detalles
Descripción original del autor
Generate, edit, and read PowerPoint presentations. Create from scratch with PptxGenJS (cover, TOC, content, section divider, summary slides), edit existing PPTX via XML workflows, or extract text with markitdown. Triggers: PPT, PPTX, PowerPoint, presentation, slide, deck, slides.
repo: MiniMax-AI/skills
Popularidad
- Estrellas en GitHub
- 14 mil
- Posición en el ranking
- #11298
- Licencia
- MIT
- Actualizada
- 18/4/2026
Comentarios
- …
Más skills de este repositorio
design-style-skill
14 milAyuda a tu agente a elegir un estilo visual coherente para las diapositivas, desde lo nítido y compacto hasta lo suave, redondeado o aireado, con esquinas y espaciado a juego.
ppt-editing-skill
14 milAyuda a tu agente a editar de forma segura un archivo o una plantilla de PowerPoint existente, cambiando el texto, reordenando o quitando diapositivas y reempaquetando una presentación válida.
ppt-orchestra-skill
14 milAyuda a tu agente a planificar una presentación completa de PowerPoint antes de construirla, clasificando cada diapositiva en un tipo de página estándar y comprobando la variedad y la calidad del texto.
slide-making-skill
14 milAyuda a tu agente a escribir diapositivas de PowerPoint individuales en JavaScript con PptxGenJS, cubriendo diseño, texto, imágenes, gráficos y fuentes para archivos .pptx nativos.
Skills parecidas
feishu-doc
394 milAyuda a tu agente a leer, crear y editar documentos en la nube de Feishu, incluidos texto, imágenes y tablas, usando la herramienta de documentos.
feishu-drive
394 milPermite que tu agente explore, organice y comente archivos de una carpeta de la nube de Feishu que se haya compartido con el bot.
feishu-perm
394 milAyuda a tu agente a revisar y cambiar quién puede acceder a un archivo de Feishu, eligiendo el permiso más pequeño que cumpla tu petición.