pptx
БесплатноБез исполняемых скриптовНе проверенCreate and edit PowerPoint presentations (.pptx): title slides, bullet layouts, tables, images, and speaker notes. Use whenever the user asks to build…
от phuetz★ 53 звезды на GitHubОб этом скилле
Create & edit PowerPoint with python-pptx
Build real .pptx files with the open-source python-pptx library
(python3 -c "import pptx"). Work in visible steps; verify before reporting done.
Workflow
- Outline the deck: a title slide + one slide per section; note any tables, images, or speaker notes.
- Write a Python script (heredoc via the
bashtool) that builds the deck with python-pptx and saves it. - Verify: reopen with
Presentation(path)and assert the slide count / title;print(path). - Report the saved path + a one-line summary.
Quality conventions
- Start with a title slide (
slide_layouts[0]), then content slides (slide_layouts[1]for bullets,slide_layouts[5]"Title Only" for custom layouts/tables). - Real bullet lists via the body placeholder's
text_frameparagraphs (set.levelfor sub-bullets) — not one big text blob. - Tables via
slide.shapes.add_table(rows, cols, left, top, width, height); bold + fill the header row. - Use a consistent accent color and web-safe fonts (Arial, Calibri) so the deck renders everywhere; keep ≤ ~6 bullets per slide.
- Add speaker notes with
slide.notes_slide.notes_text_frame.text = "…"when useful.
Example
python3 - <<'PY'
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.dml.color import RGBColor
p = Presentation()
s = p.slides.add_slide(p.slide_layouts[0])
s.shapes.title.text = 'Q2 Robotics Budget'
s.placeholders[1].text = 'Funding 120k EUR — on track'
s2 = p.slides.add_slide(p.slide_layouts[5]); s2.shapes.title.text = 'Line items'
tbl = s2.shapes.add_table(3, 3, Inches(0.6), Inches(1.6), Inches(8.5), Inches(2)).table
for j, h in enumerate(['Item', 'Cost', 'Status']):
cell = tbl.cell(0, j); cell.text = h
cell.text_frame.paragraphs[0].runs[0].font.bold = True
for i, row in enumerate([['Actuators', '8000', 'ordered'], ['Compute', '3500', 'done']], 1):
for j, v in enumerate(row):
tbl.cell(i, j).text = v
p.save('deck.pptx')
assert len(Presentation('deck.pptx').slides) == 2
print('deck.pptx')
PY
Reading / editing existing files
- Read: iterate
Presentation(path).slidesand eachshape.text_frame. - Edit in place: load, modify shapes/placeholders/tables,
save()back; keep the existing theme, layout, and fonts.
Установить pptx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pptx?
Create and edit PowerPoint presentations (.pptx): title slides, bullet layouts, tables, images, and speaker notes. Use whenever the user asks to build, modify, or populate a presentation/slide deck/PowerPoint.
Как установить скилл pptx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pptx запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse 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…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use 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…
от Anthropic