Saltar al contenido
Skillpedia
Programación general48 mil · #5551

python-pptx-generator

Qué hace

Genera un script de Python completo para crear presentaciones de PowerPoint (.pptx) de forma automática. Convierte un tema en un guion de diapositivas con contenido real y una estructura lógica.

Cuándo usarla

  • ✓Cuando quieras un script de Python que cree un archivo .pptx.
  • ✓Cuando necesites redactar el contenido de las diapositivas y incluirlo directamente en el script.
  • ✓Cuando busques un generador rápido de presentaciones para demostraciones o clases.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-pptx-generator/SKILL.md

Có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

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-pptx-generator/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea un script de Python para una presentación de 5 diapositivas sobre las ventajas de la energía solar para los propietarios de viviendas.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA primero entiende el tema y la estructura de presentación que deseas. Después escribe código en Python con la biblioteca `python-pptx` para crear cada diapositiva con títulos y texto, y guarda el archivo final.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Python PPTX Generator

Overview

Use this skill when the user wants a ready-to-run Python script that creates a PowerPoint presentation with python-pptx. It focuses on turning a topic brief into a complete slide deck script with real slide content, sensible structure, and a working save step.

When to Use This Skill

  • Use when the user wants a Python script that generates a .pptx file automatically
  • Use when the user needs slide content drafted and encoded directly into python-pptx
  • Use when the user wants a quick presentation generator for demos, classes, or internal briefings

How It Works

Step 1: Collect the Deck Brief

Ask for the topic, audience, tone, and target number of slides if the request does not already include them. If constraints are missing, pick conservative defaults and state them in the generated script comments.

Step 2: Plan the Narrative Arc

Outline the deck before writing code:

  1. Title slide
  2. Agenda or context
  3. Core teaching or business points
  4. Summary or next steps

Keep the slide count realistic for the requested audience and avoid filler slides.

Step 3: Generate the Python Script

Write a complete script that:

  • imports Presentation from python-pptx
  • creates the deck
  • selects appropriate built-in layouts
  • writes real titles and bullet points
  • saves the file with a clear filename
  • prints a success message after saving

Step 4: Keep the Output Runnable

The final answer should be a Python code block that can run after installing python-pptx. Avoid pseudocode, placeholders, or missing imports.

Examples

Example 1: Educational Deck

User: Create a 5-slide presentation on the basics of machine learning for a high school class.
Output: A complete Python script that creates a title slide, overview, core concepts, examples, and recap.

Example 2: Business Briefing

User: Generate a 7-slide deck for sales leadership on Q2 pipeline risks and mitigation options.
Output: A python-pptx script with executive-friendly slide titles, concise bullets, and a final recommendations slide.

Best Practices

  • ✅ Use standard python-pptx layouts unless the user asks for custom positioning
  • ✅ Write audience-appropriate bullet points instead of placeholders
  • ✅ Save the output file explicitly in the script, for example output.pptx
  • ✅ Keep slide titles short and the bullet hierarchy readable
  • ❌ Do not return partial snippets that require the user to assemble the rest
  • ❌ Do not invent unsupported styling APIs without checking python-pptx capabilities

Security & Safety Notes

  • Install python-pptx only in an environment you control, for example a local virtual environment
  • If the user will run the script on a shared machine, choose a safe output path and avoid overwriting existing presentations without confirmation
  • If the request includes proprietary or sensitive presentation content, keep it out of public examples and sample filenames

Common Pitfalls

  • Problem: The generated script uses placeholder text instead of real content
    Solution: Draft the narrative first, then turn each slide into specific titles and bullets

  • Problem: The deck uses too many slides for the requested audience
    Solution: Compress the outline to the most important 4 to 8 slides unless the user explicitly wants a longer deck

  • Problem: The script forgets to save or print a completion message
    Solution: Always end with prs.save(...) and a short success print

Related Skills

  • @pptx-official - Use when the task is about inspecting or editing existing PowerPoint files
  • @docx-official - Use when the requested output should be a document instead of a slide deck

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Preguntas frecuentes

¿El script generado está listo para usarse tal cual?

Sí, el script está completo y se puede ejecutar directamente después de instalar la biblioteca `python-pptx`.

¿Qué pasa si no indico el número de diapositivas?

La IA usará un número razonable de diapositivas, normalmente entre 4 y 8, y lo indicará en los comentarios del script generado.

¿Puedo pedirle a la IA un estilo visual concreto?

La IA usa los diseños estándar que ofrece la biblioteca `python-pptx`. No crea estilos visuales personalizados complejos, pero sí se asegura de que el contenido esté bien organizado.

Detalles

Descripción original del autor

Generate complete Python scripts that build polished PowerPoint decks with python-pptx and real slide content.

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#5551
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas