Chuyển đến nội dung
Skillpedia
PDF, Word và slide6.0k · #14471

deck-to-pptx

Skill này làm gì

Skill này tạo một file PowerPoint trên đĩa bằng thư viện Python, thay vì một trang web hay ảnh. Skill dành cho người cần một bộ slide .pptx cho bài thuyết trình, báo cáo hoặc pitch.

Khi nào nên dùng

  • ✓Khi bạn muốn một file PowerPoint được lưu trên máy tính.
  • ✓Khi bạn cần một bộ slide có ảnh, icon hoặc công thức thật từ một bài báo.
  • ✓Khi bạn cần kiểm tra slide đã render trước khi chia sẻ.

Liên kết skill

https://github.com/EverMind-AI/Raven/blob/main/agents/raven-design/skills/deck-to-pptx/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/EverMind-AI/Raven/blob/main/agents/raven-design/skills/deck-to-pptx/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

“Làm một bộ slide pitch 10 trang dưới dạng file PowerPoint cho công việc kinh doanh bánh mì của tôi.”

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

Cách hoạt động

Agent thu thập dữ liệu và ảnh bằng các công cụ có sẵn, viết các slide bằng python-pptx, rồi render chúng để kiểm tra kết quả trước khi nêu đường dẫn file.

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.

Deck to .pptx

The deliverable is a .pptx file on disk. Not a web page, an image, a PDF, or a Markdown outline. Name its absolute path in the reply.

What this deployment has

Need Call Note
Facts the material does not carry web_search, then web_fetch the page there is no other search
A real logo, product shot, published chart image_search direct image URL, pixel size and source page per hit; see references/assets.md
A picture that does not exist yet image_generate reference pictures go in images, up to six
An icon raven_ppt.services.assets.icons 1304 outline icons, see references/assets.md
A figure or table from a paper PyMuPDF on raven-python from the PDF you were given, else one you downloaded; crop the region or pull the embedded image; see references/assets.md
A formula add_formula from raven_ppt.services.assets.formulas, on raven-python one line of TeX in, a picture in the deck's ink at true size out; see references/assets.md
Symbols inside a sentence math_runs from the same module _A, ^2, θ* become real sub- and superscript runs; see references/assets.md
Render a page to look at it soffice --headless --convert-to pdf, then pdftoppm

With no image key configured, image_generate says so. Say which pages would have had a picture and carry them on type, grid, rule and colour.

The pages are yours to draw

Every page is drawn here, with python-pptx: the grid, the title row, the type, the marks, the diagrams, the pictures and their treatment. Nothing about a page is settled by a default. raven_ppt.services.assets holds the icon set, add_formula and math_runs; take those and draw the rest.

On this route there is no ANTI-SLOP-CHECK.md, no contract and no Task State. Do not initialize or update one.

Read two skills first

local/deck-to-pptx (this file) and local/design-editorial-and-presentations, which owns the content order and the editorial judgement. Read both before the first page.

Settle four things first

Language, audience, length, ground. Take each from the first of these that settles it: the request; what memory recalled about this user; the defaults. Defaults: the language the request is written in; a general audience; about 20 pages; a light ground.

Ask with ask_user only for a decision none of the three settles and the deck cannot start without: at most one call, before any other work, recommending the default. Where there is no user to ask (the request came from another agent), take the defaults. Say in the reply which of the four were defaults.

Use what the user handed over as much as you can, before anything the rules below go and get: their documents and data are the material, their pictures are the pictures. A .pptx they attached is a template, and a deck on a template is the engine's work, not this skill's: the host routes it there before this skill is read.

Rules

  1. Invent no number, no source, no person, no place. Search first. What the search does not find stays a gap that names what is missing and who supplies it.
  2. A logo, a product screen, a real person, a real place, a published chart, a paper's own figure: fetch it, never generate it. A generated stand-in for something that exists is a fabrication the page presents as evidence. Generate only what has no original: illustration, backdrop, atmosphere.
  3. Anything the deck names that has a face of its own -- a company, a product, a repository, a place -- has a picture somewhere. Search the whole deck's list in one pass before drawing anything: what the material names, and the ordinary furniture it never links -- the logos, the marks, the product shots. Keep each picture's page URL beside it for the source note. A page about five products with no mark of any of them is a page that did not look.
  4. Decide the deck's visual direction once, before the first picture, and say what it is: ground, two or three colours, and whether pictures are photographs or drawings. A brand's website is a starting point, not the verdict -- a dark web hero does not make a dark deck, and a printed handout and a projected keynote want opposite grounds. Chaining every background off the first one gives a deck one look and no decision.
  5. layouts.md holds reference shapes with their proportions, the type ramp, and nine composi
Câu hỏi thường gặp

Skill có tạo slide web thay thế không?

Không. Skill tạo một file .pptx thật, không phải trang web, ảnh hay PDF.

Icon và ảnh lấy từ đâu?

Chúng đến từ tìm kiếm ảnh, tạo ảnh hoặc thư viện icon có sẵn, tùy nhu cầu.

Tôi có thể thêm công thức toán không?

Có. Công thức được chuyển thành hình ảnh với màu mực của bộ slide và có thể nằm trong câu.

Chi tiết

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

Build a PowerPoint .pptx file with python-pptx, on this deployment, without the deck engine. Use when the deliverable is a .pptx on disk: presentation, deck, slides, pitch deck, keynote, report deck, 幻灯片, 演示文稿, 做一份 PPT, 出一个 pptx, 汇报材料. Carries what is specific to this deployment -- which tools exist, which parameters they take, and what the gates refuse -- and nothing a competent author already knows. Pairs with design-editorial-and-presentations, which owns content order and editorial judgement. Not for a deck bound to one of the packaged templates: that route runs on Raven-PPT and uses ppt-s

repo: EverMind-AI/Raven

Độ phổ biến

Sao GitHub
6.0k
Vị trí xếp hạng
#14471
Giấy phép
Apache-2.0
Cập nhật
2/11/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ự