Chuyển đến nội dung
Skillpedia
PDF, Word và slide14k · #11283

ppt-editing-skill

Skill này làm gì

Skill này hướng dẫn thay đổi một tệp PowerPoint hiện có, gồm điền nội dung mới vào mẫu. Skill dành cho người cần cập nhật bộ trình chiếu mà không làm hỏng bố cục.

Khi nào nên dùng

  • ✓Khi bạn có mẫu PowerPoint và muốn điền nội dung của riêng mình vào.
  • ✓Khi bạn cần sắp xếp lại, sao chép hoặc xóa slide trong một bộ trình chiếu có sẵn.
  • ✓Khi bạn muốn cập nhật nội dung chữ của một bài trình chiếu hiện có một cách an toàn.

Liên kết skill

https://github.com/MiniMax-AI/skills/blob/main/plugins/pptx-plugin/skills/ppt-editing-skill/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/MiniMax-AI/skills/blob/main/plugins/pptx-plugin/skills/ppt-editing-skill/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn dùng mẫu của công ty để làm một bộ slide 10 trang về kết quả quý 3 của chúng tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xem các bố cục của mẫu và lên kế hoạch slide nào phù hợp với từng phần. Sau đó agent chỉnh sửa cẩn thận các tệp slide và đóng gói lại thành một tệp PowerPoint hợp lệ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Editing Presentations

Template-Based Workflow

When using an existing presentation as a template:

  1. Copy and analyze:

    cp /path/to/user-provided.pptx template.pptx
    python -m markitdown template.pptx > template.md
    

    Review template.md to see placeholder text and slide structure.

  2. Plan slide mapping: For each content section, choose a template slide.

    ⚠️ USE VARIED LAYOUTS — monotonous presentations are a common failure mode. Don't default to basic title + bullet slides. Actively seek out:

    • Multi-column layouts (2-column, 3-column)
    • Image + text combinations
    • Full-bleed images with text overlay
    • Quote or callout slides
    • Section dividers
    • Stat/number callouts
    • Icon grids or icon + text rows

    Avoid: Repeating the same text-heavy layout for every slide.

    Match content type to layout style (e.g., key points → bullet slide, team info → multi-column, testimonials → quote slide).

  3. Unpack

  4. Build presentation (do this yourself, not with subagents):

    • Delete unwanted slides (remove from <p:sldIdLst>)
    • Duplicate slides you want to reuse (add_slide.py)
    • Reorder slides in <p:sldIdLst>
    • Complete all structural changes before step 5
  5. Edit content: Update text in each slide{N}.xml. Use subagents here if available — slides are separate XML files, so subagents can edit in parallel.

  6. Clean

  7. Pack

Output Structure

Copy the user-provided file to template.pptx in cwd. This preserves the original and gives a predictable name for all downstream scripts.

cp /path/to/user-provided.pptx template.pptx
./
├── template.pptx               # Copy of user-provided file (never modified)
├── template.md                 # markitdown extraction
├── unpacked/                   # Editable XML tree
└── edited.pptx                 # Final repacked deck

Minimum expected deliverable: edited.pptx.


Scripts

Script Purpose
unpack.py Extract and pretty-print PPTX
add_slide.py Duplicate slide or create from layout
clean.py Remove orphaned files
pack.py Repack with validation

Removes slides not in <p:sldIdLst>, unreferenced media, orphaned rels.

Always write to /tmp/ first, then copy to the final path. Python's zipfile module uses seek internally, which fails on some volume mounts (e.g. Docker bind mounts). Writing to a local temp path avoids this.

Validates, repairs, condenses XML, re-encodes smart quotes.


Slide Operations

Slide order is in ppt/presentation.xml → <p:sldIdLst>.

Reorder: Rearrange <p:sldId> elements.

Delete: Remove <p:sldId>, then run clean.py.

Add: Use add_slide.py. Never manually copy slide files—the script handles notes references, Content_Types.xml, and relationship IDs that manual copying misses.


Editing Content

Subagents: If available, use them here (after completing step 4). Each slide is a separate XML file, so subagents can edit in parallel. In your prompt to subagents, include:

  • The slide file path(s) to edit
  • "Use the Edit tool for all changes"
  • The formatting rules and common pitfalls below

For each slide:

  1. Read the slide's XML
  2. Identify ALL placeholder content—text, images, charts, icons, captions
  3. Replace each placeholder with final content

Use the Edit tool, not sed or Python scripts. The Edit tool forces specificity about what to replace and where, yielding better reliability.

Formatting Rules

  • Bold all headers, subheadings, and inline labels: Use b="1" on <a:rPr>. This includes:
    • Slide titles
    • Section headers within a slide
    • Inline labels like (e.g.: "Status:", "Description:") at the start of a line
  • Never use unicode bullets (•): Use proper list formatting with <a:buChar> or <a:buAutoNum>
  • Bullet consistency: Let bullets inherit from the layout. Only specify <a:buChar> or <a:buNone>.

Common Pitfalls

Template Adaptation

When source content has fewer items than the template:

  • Remove excess elements entirely (images, shapes, text boxes), don't just clear text
  • Check for orphaned visuals after clearing text content
  • Run content QA with markitdown to catch mismatched counts

When replacing text with different length content:

  • Shorter replacements: Usually safe
  • Longer replacements: May overflow or wrap unexpectedly
  • Verify w
Câu hỏi thường gặp

Nó có giữ các bố cục mẫu của tôi không?

Skill làm việc từ các bố cục có sẵn của mẫu và chỉnh sửa chữ trong đó một cách cẩn thận.

Nó có dùng nhiều bố cục slide khác nhau không?

Có. Nó cảnh báo không lặp cùng một bố cục nhiều chữ cho mọi slide.

Nó có dọn các tệp không dùng không?

Có. Skill bao gồm việc xóa các tài nguyên mồ côi sau khi chỉnh sửa.

Chi tiết

Mô tả gốc của tác giả

Edit existing PowerPoint files or templates with XML-safe workflows. Use for template-based deck updates: analyze layouts, map content to slides, duplicate/reorder/delete slides safely, edit slide XML in parallel, clean orphaned assets, and repack validated PPTX output.

repo: MiniMax-AI/skills

Độ phổ biến

Sao GitHub
14k
Vị trí xếp hạng
#11283
Giấy phép
MIT
Cập nhật
18/4/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự