create-slide
Skill này làm gì
Skill này hướng dẫn agent của bạn soạn một bài thuyết trình mới trong dự án open-slide, từ việc chọn chủ đề đến viết từng trang. Dành cho người xây dựng bộ slide bằng code.
Khi nào nên dùng
- ✓Khi bạn yêu cầu slide về một chủ đề và muốn chúng được tạo trong dự án open-slide.
- ✓Khi bạn muốn một bộ slide có ghi chú diễn thuyết hoặc kịch bản được tạo cùng slide.
- ✓Khi bạn muốn thêm một slide mới vào thư mục slide.
Liên kết skill
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-slide/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một bộ năm slide về kết quả quý 3 của chúng tôi, kèm ghi chú diễn thuyết.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill hỏi nên dùng chủ đề nào, đọc chủ đề đã chọn và quy tắc soạn slide, rồi viết các file slide mới trong thư mục riêng của nó. Skill không thay đổi các slide khác hay cấu hình dự án.
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.
Create a slide in open-slide
This skill owns the workflow for drafting a new deck. The technical reference — file contract, 1920×1080 canvas, type scale, palette, layout, assets — lives in the slide-authoring skill. Read that skill whenever you need details on how a page is structured. This skill assumes you'll consult it before writing code.
You only write files under slides/<id>/. Never modify package.json, open-slide.config.ts, or existing slides.
Step 1 — Pick a theme
List files under themes/. If any theme markdown files exist (anything other than README.md), call AskUserQuestion with each theme id as an option plus a final "no theme — design from scratch" option. (AskUserQuestion holds at most 4 options — with 4+ themes, offer the 3 most topic-relevant plus "no theme"; the auto-added "Other" lets the user name any omitted theme.)
- If the user picks a theme: read
themes/<id>.mdend-to-end. The theme's palette, typography, layout, and Title/Footer components are now authoritative — copy them directly into the slide. If the theme declares a webfont import, load it perreferences/webfonts.mdinslide-authoring(module-level, slide-keyed injection) — don't let the slide silently fall back to system fonts. Also settheme: '<theme-id>'on themetaexport inindex.tsx(e.g.export const meta: SlideMeta = { title: '…', createdAt: '…', theme: '<theme-id>' };—createdAtper the file contract inslide-authoring) so the slide back-links to the theme (chip on the slide card + listing on/themes/<id>). In Step 2, skip the aesthetic direction question (the theme already commits to one direction); you still need the topic itself, so confirm it before moving on. Page count and text density are independent of theme — ask those normally. For motion, if the theme's Motion section commits to a philosophy, present it as the "(Recommended)" option and reuse the theme's paste-ready keyframes; the user can still override. - If the user picks "no theme", or
themes/contains no theme markdown files: proceed to Step 2 unchanged.
If you skip the aesthetic question because a theme was picked, restate the theme name in Step 2 so the user can correct course before you start writing.
Step 2 — Clarify requirements (MUST ask before writing code)
Before writing any code, lock in the four key style decisions below via AskUserQuestion. They shape every downstream choice (layout, type scale, asset needs, motion code), so locking them in up front avoids rework. Only skip a question when it's already unambiguously answered — by the user's original message, or by a theme picked in Step 1 (a theme settles aesthetic direction, so ask only the remaining three) — and if you skip, restate your assumption so they can correct it.
Topic comes first. A meaningful aesthetic recommendation requires knowing what the deck is about. If the user's initial request is thin ("make me a deck", "draft some slides"), make a separate AskUserQuestion call first to gather topic, audience, and any draft outline. Skip this only if the topic is already clear from the user's message — in which case restate your reading of the topic in the next call so they can correct course.
Then ask these four in a single AskUserQuestion call (multi-question form):
Aesthetic direction — propose 3 visual directions tailored to this topic. Do not pull from a fixed preset list. Each option must combine a vibe word + a concrete visual cue (palette, typography, motif) so the user can picture it; bare labels like "minimal" or "corporate" alone are too vague. The three options should feel meaningfully different from each other — not three flavors of the same idea.
How options should shift with topic:
- "Intro to Rust for backend engineers" → rust-orange technical editorial (warm rust/charcoal, mono headings, code-grid layout) · blueprint dev-doc (cyan grid on near-black, monospace, schematic feel) · brutalist terminal (lime-on-black, ASCII rules, no-nonsense)
- "Q2 product roadmap for stakeholders" → calm corporate clean (off-white, single accent, generous whitespace) · confident editorial (large display serif, tight grid, one bold accent) · data-forward dashboard (charts as hero, muted neutrals + status colors)
- "Kindergarten parent night" → playful crayon (paper texture, hand-drawn accents, primary colors) · soft pastel storybook (peach/mint,
Câu hỏi thường gặp
Nó có thay đổi slide hiện có của tôi không?
Không. Nó chỉ viết file cho slide mới.
Tôi có thể không chọn chủ đề không?
Có. Có một tùy chọn thiết kế slide từ đầu.
Nếu tôi có nhiều chủ đề thì sao?
Skill đề xuất những chủ đề phù hợp nhất và cho phép bạn nêu tên chủ đề khác.
Chi tiết
Mô tả gốc của tác giả
Use this skill when the user wants to create, draft, author, or generate new slides / a presentation in this open-slide repo. Triggers on phrases like "make slides about X", "make a deck about X", "create a presentation", "draft slides for", "new slide", "a deck with speaker notes / a script", or when the user asks to add content under `slides/`. Do NOT use for editing the framework itself — only for authoring content inside `slides/<id>/`.
repo: open-slide/open-slide
Độ phổ biến
- Sao GitHub
- 9.6k
- Vị trí xếp hạng
- #12219
- Giấy phép
- MIT
- Cập nhật
- 29/10/2026
Bình luận
- …
Thêm skill từ kho mã này
apply-comments
9.6kGiúp agent của bạn áp dụng các nhận xét bạn để lại trên một slide trong trình soạn open-slide, thực hiện từng chỉnh sửa được yêu cầu và xóa dấu đánh dấu.
create-theme
9.6kGiúp agent của bạn tạo một chủ đề slide dùng lại được, gồm bảng màu, phông chữ và bố cục, kèm file xem trước trực tiếp cho dự án open-slide.
current-slide
9.6kGiúp agent của bạn tìm slide, trang và phần tử nào bạn đang xem trong trình xem open-slide, để 'trang này' luôn trỏ đúng vào trang bạn muốn.
slide-authoring
9.6kCung cấp cho agent của bạn các quy tắc kỹ thuật để viết trang open-slide, gồm kích thước canvas, thang cỡ chữ, màu sắc, hình ảnh, ghi chú và chuyển cảnh.
Skill tương tự
feishu-doc
394kGiúp agent của bạn đọc, tạo và sửa tài liệu đám mây Feishu, gồm văn bản, hình ảnh và bảng, bằng công cụ tài liệu.
feishu-drive
394kCho phép agent của bạn duyệt, sắp xếp và bình luận các file trong một thư mục đám mây Feishu đã được chia sẻ với bot.
feishu-perm
394kGiúp agent của bạn kiểm tra và thay đổi ai có quyền truy cập một file Feishu, chọn quyền nhỏ nhất đáp ứng yêu cầu của bạn.