python-pptx-generator
Что он делает
Генерирует готовый Python-скрипт, который автоматически создает презентации PowerPoint (.pptx). Вы даете тему, а ИИ превращает ее в скрипт с содержательными слайдами и продуманной структурой.
Когда использовать
- ✓Когда нужен Python-скрипт, который создает файл .pptx.
- ✓Когда нужно написать текст слайдов и сразу встроить его в скрипт.
- ✓Когда нужен быстрый генератор презентаций для демонстраций или занятий.
Ссылка на скилл
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-pptx-generator/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Напиши Python-скрипт для презентации из 5 слайдов о пользе солнечной энергии для владельцев домов.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
ИИ сначала разбирается в теме и нужной структуре презентации. Затем он пишет код на Python с использованием библиотеки `python-pptx`, создает каждый слайд с заголовками и текстом и сохраняет готовый файл.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
.pptxfile 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:
- Title slide
- Agenda or context
- Core teaching or business points
- 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
Presentationfrompython-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-pptxlayouts 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-pptxcapabilities
Security & Safety Notes
- Install
python-pptxonly 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 bulletsProblem: 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 deckProblem: The script forgets to save or print a completion message
Solution: Always end withprs.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.
Частые вопросы
Можно ли сразу использовать сгенерированный скрипт?
Да, скрипт полный, и его можно запустить сразу после установки библиотеки `python-pptx`.
Что будет, если я не укажу количество слайдов?
ИИ выберет разумное количество слайдов, обычно от 4 до 8, и укажет это в комментариях к скрипту.
Можно ли попросить ИИ создать определенный визуальный стиль?
ИИ использует стандартные макеты, доступные в библиотеке `python-pptx`. Сложные собственные визуальные стили он не создает, но следит за тем, чтобы содержание было хорошо организовано.
Подробности
Оригинальное описание автора
Generate complete Python scripts that build polished PowerPoint decks with python-pptx and real slide content.
Популярность
- Звёзды на GitHub
- 48k
- Место в рейтинге
- #5551
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
00-andruia-consultant
48kПомогает агенту начинать или улучшать ИИ-проекты: анализирует код, подбирает инструменты и составляет план на испанском.
007
48kАгент проводит аудит безопасности и моделирование угроз для защиты проектов.
10-andruia-skill-smith
48kПомогает агенту создавать и улучшать ИИ-инструменты: описание работы, документация и проверка структуры.
20-andruia-niche-intelligence
48kАгент составляет обзор отрасли: контекст, правила, паттерны использования и риски по надёжным источникам.
Похожие скиллы
diffs
394kПозволяет агенту создать настоящее сравнение правок в виде ссылки или файла изображения, которым можно поделиться, вместо ручной сводки.
coding-agent
394kПомогает агенту передать большую задачу по коду в Codex, Claude Code или OpenCode как фоновому исполнителю, а затем проверять ее ход.
gh-issues
394kПомогает агенту находить задачи GitHub, выбирать, над какими работать, и открывать запросы на слияние с исправлениями, включая ответы на комментарии рецензентов.