본문으로 건너뛰기
Skillpedia
PDF, Word, 슬라이드7.1k · #13591

pptx

하는 일

이 스킬은 PowerPoint 프레젠테이션을 다룹니다. 슬라이드 텍스트를 읽는 것부터 요청서를 바탕으로 새 덱을 만드는 것까지 포함합니다. PowerPoint 형식으로 슬라이드를 만들거나 고쳐야 하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓개요나 요청서를 바탕으로 PowerPoint 파일을 만들어야 할 때.
  • ✓기존 덱을 템플릿을 유지하면서 업데이트해야 할 때.
  • ✓.pptx 파일에서 텍스트와 발표자 노트를 뽑아내야 할 때.

스킬 링크

https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/pptx/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/pptx/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 개요를 저희 회사 템플릿을 사용한 10장짜리 PowerPoint 덱으로 만들어 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 템플릿의 레이아웃을 사용해 작업 공간에 덱을 만들고, 슬라이드를 검토한 뒤 완성된 파일을 게시합니다. 세션에서 파일을 만들 수 없으면 코드를 붙여 넣지 않고 그 사실을 알립니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

pptx

Work with PowerPoint .pptx decks. The pptx file format is OOXML — a zip container holding XML descriptions of slides, layouts, masters, and media.

Delivery rule

First, use the available tool list for this session to choose the delivery path.

If write_file, edit_file, apply_patch, or execute_code is available:

  • Build the .pptx in the active workspace using the paths below.
  • Call publish_artifact for the final .pptx before your final reply when that tool is available.
  • The code examples later in this document apply.

In restricted channels, run the inline Python examples with execute_code and save workspace-relative files before calling publish_artifact. Shell, Node, and LibreOffice commands require the corresponding exposed tool and runtime. Do not use Python subprocesses to bypass an unavailable shell tool, and do not retry generation on the host when sandbox execution fails.

If none of those file-authoring tools are available:

  • Do not attempt to generate, save, or modify the .pptx.
  • Do not paste OOXML, Python, JavaScript, HTML, or other source as a substitute for sending the deck.
  • Ignore the Path B, Path C, and Visual QA sections below; they do not apply when file authoring is unavailable.
  • Reply plainly: explain that the current session cannot create files, and offer to publish an existing .pptx by path, describe the slide contents in text, or continue in a file-authoring surface such as the OpenSquilla Web UI.

In all cases, do not paste full file source as the deliverable. Source code is appropriate only when the user explicitly asks for code.

Decide the path first

Pick one of three paths up front; do not mix them. The right path depends only on what is on disk before you start.

You have Goal Path
Existing .pptx Read text only A. Read
Existing .pptx Modify content while keeping the design B. Edit-in-place
Nothing, or a brief Build a new deck C. Create from scratch

If the user hands you a deck and asks for changes, default to path B and treat the input deck as the visual style baseline. Only fall back to path C when the user explicitly says "start fresh" or there is no input deck.


Path A: Read text from a .pptx

When shell execution is available, use the helper script. It walks slides via the python-pptx public API and prints text grouped by slide. With execute_code, use the inline Python example instead.

python {baseDir}/scripts/extract_text.py /path/to/deck.pptx
python {baseDir}/scripts/extract_text.py /path/to/deck.pptx --json

For programmatic use, call python-pptx directly:

from pptx import Presentation
prs = Presentation("deck.pptx")
for i, slide in enumerate(prs.slides, 1):
    for shape in slide.shapes:
        if shape.has_text_frame:
            for para in shape.text_frame.paragraphs:
                print(i, "".join(run.text for run in para.runs))

If markitdown is available, it gives a faster Markdown rendering:

python -m markitdown deck.pptx

Path B: Edit an existing deck

Two sub-strategies; pick by how invasive the edit is.

B1. Text-only edits (preferred)

When the change is "swap this string for that one" or "fill these placeholders": use python-pptx to mutate runs in place. This preserves all theme/master/font settings.

from pptx import Presentation
prs = Presentation("input.pptx")
slide = prs.slides[0]
for shape in slide.shapes:
    if not shape.has_text_frame:
        continue
    for para in shape.text_frame.paragraphs:
        for run in para.runs:
            if run.text == "{{TITLE}}":
                run.text = "Q3 Review"
prs.save("output.pptx")

Edit at the run level, not the paragraph level — replacing whole paragraph text drops formatting. If a placeholder spans multiple runs (often happens when the original template had partial bold/italic), concatenate the runs into the first run and clear the others.

B2. Structural edits (add/remove/reorder slides, change layouts)

python-pptx's slide-level mutation is limited (no public reorder API). For structural work, unzip the .pptx, patch ppt/presentation.xml and the slide files, and repack:

mkdir _unpacked && (cd _unpacked && unzip -q ../input.pptx)
# edit _unpacked/ppt/presentation.xml (sldIdLst order)
# edit _unpacked/ppt/slides/slideN.xml content
(cd _unpacked && zip -q -r ../output.pptx . -x "*.DS_Store")

Rules

자주 묻는 질문

세션에서 파일을 만들 수 없으면 어떻게 하나요?

스킬은 에이전트가 그 제약을 설명하고, 대신 기존 파일로 작업하겠다고 제안해야 한다고 말합니다.

템플릿을 유지하나요?

네. 이 스킬은 편집할 때 템플릿과 레이아웃을 보존하도록 만들어졌습니다.

발표자 노트를 읽을 수 있나요?

네. 이 스킬은 덱에서 텍스트와 발표자 노트를 추출하는 것을 다룹니다.

상세 정보

작성자의 원본 설명

Read, inspect, edit, or create PowerPoint `.pptx` presentations, including text extraction, template-preserving changes, slide review, and generation from a brief.

repo: TokenRhythm/opensquilla

인기도

GitHub 스타
7.1k
순위
#13591
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬