Community코딩 & 개발github.com

claude-office-skills/pptx-manipulation

PowerPoint 프레젠테이션을 프로그래밍 방식으로 생성, 수정 및 조작합니다.

pptx-manipulation란 무엇인가요?

이 스킬은 AI 에이전트(예: Claude Code, Cursor 등)가 Python-pptx 라이브러리를 사용하여 PowerPoint(.pptx) 파일을 직접 생성하고 편집할 수 있게 해줍니다. 슬라이드 추가, 텍스트 및 이미지 삽입, 표와 차트 생성, 마스터 슬라이드 수정 등의 작업을 지원합니다. 개발자와 파워 유저는 반복적인 프레젠테이션 작업을 자동화하거나, 데이터 기반 보고서를 동적으로 생성하거나, 기존 템플릿을 프로그래밍 방식으로 변형할 수 있습니다. Windows, macOS, Linux 등 Python이 실행 가능한 모든 환경에서 사용 가능하며, 로컬 .pptx 파일을 읽고 쓰는 방식으로 동작합니다. SKILL.md에는 사용 가능한 주요 함수와 사용 예제가 상세히 설명되어 있습니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/claude-office-skills/skills/tree/main/skills/pptx-manipulation

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

pptx-manipulation은(는) 무엇을 하나요?

참고: 이 스킬은 Python-pptx 라이브러리를 사용하여 PowerPoint 프레젠테이션을 생성하고 수정합니다.

개요

이 스킬은 PowerPoint 프레젠테이션 파일(.pptx)을 프로그래밍 방식으로 조작할 수 있는 기능을 제공합니다. 주요 작업:

  • 프레젠테이션 생성 및 열기
  • 슬라이드 추가, 복제, 삭제
  • 텍스트 상자, 도형, 이미지, 표, 차트 추가 및 편집
  • 슬라이드 마스터 및 레이아웃 수정
  • 슬라이드 노트 추가
  • 프레젠테이션 저장

전제 조건

  • python-pptx 라이브러리 설치 필요: pip install python-pptx

사용 예제

기본 사용법

from pptx import Presentation
from pptx.util import Inches

# 새 프레젠테이션 생성
prs = Presentation()

# 제목 슬라이드 추가
slide_layout = prs.slide_layouts[0]
slide = prs.slides.add_slide(slide_layout)

# 제목 설정
title = slide.shapes.title
title.text = "안녕하세요, PowerPoint!"

# 부제목 설정
subtitle = slide.placeholders[1]
subtitle.text = "Python-pptx로 생성됨"

# 저장
prs.save('test.pptx')

기존 프레젠테이션 열기

prs = Presentation('existing.pptx')

주요 함수 및 메서드

함수/메서드설명
Presentation()빈 프레젠테이션 생성
Presentation(file)기존 파일 열기
prs.slides.add_slide(layout)새 슬라이드 추가
slide.shapes.title슬라이드 제목 접근
slide.placeholders[idx]특정 플레이스홀더 접근
prs.save(path)파일 저장

고급 기능

이미지 삽입

from pptx.util import Inches

# 이미지 추가 (왼쪽 상단 (1인치, 1인치) 위치, 너비 4인치)
slide.shapes.add_picture('image.png', Inches(1), Inches(1), width=Inches(4))

표 생성

from pptx.util import Inches

table = slide.shapes.add_table(rows=3, cols=3, left=Inches(1), top=Inches(2), width=Inches(6), height=Inches(2))
table.table.cell(0, 0).text = "헤더 1"
table.table.cell(0, 1).text = "헤더 2"
table.table.cell(0, 2).text = "헤더 3"

슬라이드 마스터 수정

# 마스터 슬라이드 접근
master = prs.slide_masters[0]
# 레이아웃 목록
for layout in master.slide_layouts:
    print(layout.name)

참고 사항

  • Python-pptx는 모든 PowerPoint 기능을 완벽하게 지원하지는 않습니다.
  • 복잡한 애니메이션이나 전환 효과는 지원되지 않을 수 있습니다.
  • 파일 경로는 로컬 시스템의 절대 또는 상대 경로여야 합니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

claude-office-skills/academic-search

Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.

claude-office-skills/ads-copywriter

Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants

claude-office-skills/ai-agent-builder

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

claude-office-skills/airtable-automation

Airtable database automation - views, automations, integrations, and workflow triggers

claude-office-skills/ai-slides

Generate complete presentations with AI - from outline to polished slides

claude-office-skills/amazon-seller

Automate Amazon seller operations including inventory, orders, pricing, and advertising management

claude-office-skills/apple-shortcuts-integration

Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows

claude-office-skills/applicant-screening

Screen job applications against requirements and score candidates

claude-office-skills/asana-automation

Automate Asana project management workflows, task tracking, team collaboration, and reporting

claude-office-skills/batch-convert

Batch convert documents between multiple formats using a unified pipeline

claude-office-skills/batch-processor

Process multiple documents in bulk with parallel execution

claude-office-skills/brand-guidelines-generator

Create and maintain brand style guides for consistent visual identity

claude-office-skills/browser-automation

Automate web browser interactions, scraping, testing, and workflow automation with Puppeteer/Playwright

claude-office-skills/calendar-automation

Google Calendar and Outlook automation - scheduling optimization, meeting workflows, time blocking, and Slack/Sheets integration

claude-office-skills/changelog-generator

Generate release notes from git commits, updates, or feature lists

claude-office-skills/chart-designer

Design effective data visualizations and charts. Generate chart configurations for ECharts, Chart.js, and other libraries. Create dashboards and reports.

claude-office-skills/chat-with-pdf

Answer questions about PDF content, summarize, and extract information

claude-office-skills/clickup-automation

Automate ClickUp workspace management, task workflows, time tracking, and team productivity

claude-office-skills/company-research

Conduct comprehensive company research and due diligence. Analyze business model, competitive landscape, management, and market position.

claude-office-skills/competitive-analysis

Analyze competitors systematically. Compare products, features, pricing, positioning, and market strategies. Generate comprehensive competitive intelligence reports.

관련 스킬