slide-making-skill
Fungsinya
Skill ini memandu pembuatan slide PowerPoint tunggal dengan pustaka PptxGenJS. Skill ini ditujukan untuk pengembang yang membuat slide lewat kode dan membutuhkan ukuran, font, dan gaya yang benar.
Kapan dipakai
- โSaat Anda menulis atau memperbaiki file slide yang membuat halaman PowerPoint dengan kode.
- โSaat Anda perlu menambahkan teks, gambar, atau bagan ke slide yang dibuat dengan PptxGenJS.
- โSaat Anda ingin keluarannya berupa file .pptx asli yang bisa dibuka di PowerPoint.
Link skill
https://github.com/MiniMax-AI/skills/blob/main/plugins/pptx-plugin/skills/slide-making-skill/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin sebuah slide dengan judul, dua poin, dan bagan batang, dibuat dengan PptxGenJS sebagai file PowerPoint.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mendaftar aturan PptxGenJS untuk dimensi, posisi, font, dan warna. Agent mengikuti aturan tersebut untuk menulis file slide yang diekspor ke format PowerPoint standar.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
PptxGenJS Slide Making Skill
This skill teaches how to generate native .pptx slides using PptxGenJS (JavaScript).
PptxGenJS Reference
Read pptxgenjs.md for the complete PptxGenJS API reference, including:
- Setup & basic structure
- Text & formatting
- Lists & bullets
- Shapes & shadows
- Images & icons
- Slide backgrounds
- Tables & charts
Font Rules
Font Family Standards
| Language | Default | Alternatives |
|---|---|---|
| Chinese | Microsoft YaHei (ๅพฎ่ฝฏ้ ้ป) | โ |
| English | Arial | Georgia, Calibri, Cambria, Trebuchet MS |
fontFace: "Microsoft YaHei" // Chinese text
fontFace: "Arial" // English text (or approved alternative)
Use system-safe fonts for cross-platform compatibility. Header/body can use different fonts (e.g., Georgia + Calibri).
No Bold for Body Text
Plain body text and caption/legend text must NOT use bold.
- Body paragraphs, descriptions โ normal weight
- Captions, legends, footnotes โ normal weight
- Reserve bold for titles and headings only
// โ
Correct
slide.addText("Main Title", { bold: true, fontSize: 36, fontFace: "Arial" });
slide.addText("Body text here.", { bold: false, fontSize: 14, fontFace: "Arial" });
// โ Wrong
slide.addText("Body text here.", { bold: true, fontSize: 14 });
Color Palette Rules (MANDATORY)
Strict Palette Adherence
Use ONLY the provided color palette. Do NOT create or modify colors.
- All colors must come from the user-provided palette
- Do NOT use colors outside the palette
- Do NOT modify palette colors (brightness, saturation, mixing)
- Only exception: Add transparency using the
transparencyproperty (0-100)
// โ
Correct: Using palette colors
slide.addShape(pres.shapes.RECTANGLE, { fill: { color: theme.primary } });
slide.addText("Title", { color: theme.accent });
// โ Wrong: Colors outside palette
slide.addShape(pres.shapes.RECTANGLE, { fill: { color: "1a1a2e" } });
No Gradients
Gradients are prohibited. Use solid colors only.
// โ
Correct: Solid colors
slide.background = { color: theme.bg };
// โ
Correct: Solid + transparency for overlay
slide.addShape(pres.shapes.RECTANGLE, { fill: { color: theme.accent, transparency: 50 } });
No Animations
Animations and transitions are prohibited. All slides must be static.
Page Number Badge (REQUIRED)
All slides except Cover Page MUST include a page number badge in the bottom-right corner.
- Position: x: 9.3", y: 5.1"
- Show current number only (e.g.
3or03), NOT "3/12" - Use palette colors, keep subtle
Circle Badge (Default)
slide.addShape(pres.shapes.OVAL, {
x: 9.3, y: 5.1, w: 0.4, h: 0.4,
fill: { color: theme.accent }
});
slide.addText("3", {
x: 9.3, y: 5.1, w: 0.4, h: 0.4,
fontSize: 12, fontFace: "Arial",
color: "FFFFFF", bold: true,
align: "center", valign: "middle"
});
Pill Badge
slide.addShape(pres.shapes.ROUNDED_RECTANGLE, {
x: 9.1, y: 5.15, w: 0.6, h: 0.35,
fill: { color: theme.accent },
rectRadius: 0.15
});
slide.addText("03", {
x: 9.1, y: 5.15, w: 0.6, h: 0.35,
fontSize: 11, fontFace: "Arial",
color: "FFFFFF", bold: true,
align: "center", valign: "middle"
});
Theme Object Contract (MANDATORY)
The compile script passes a theme object with these exact keys:
| Key | Purpose | Example |
|---|---|---|
theme.primary |
Darkest color, titles | "22223b" |
theme.secondary |
Dark accent, body text | "4a4e69" |
theme.accent |
Mid-tone accent | "9a8c98" |
theme.light |
Light accent | "c9ada7" |
theme.bg |
Background color | "f2e9e4" |
NEVER use other key names like background, text, muted, darkest, lightest.
Subagent Output Format
Each subagent outputs a complete, runnable JS file:
// slide-01.js
const pptxgen = require("pptxgenjs");
const slideConfig = {
type: 'cover',
index: 1,
title: 'Presentation Title'
};
// โ ๏ธ MUST be synchronous (not async)
function createSlide(pres, theme) {
const slide = pres.addSlide();
slide.background = { color: theme.bg };
slide.addText(slideConfig.title, {
x: 0.5, y: 2, w: 9, h: 1.2,
fontSize: 48, fontFace: "Arial", // English text uses Arial
color: theme.primary, bold: true, align: "center"
});
return slide;
}
// Standalone preview - use slide-specif
Pertanyaan umum
Font apa yang direkomendasikan?
Skill ini menyarankan Microsoft YaHei untuk teks Mandarin dan Arial untuk teks Inggris, dengan beberapa alternatif yang aman.
Apakah teks isi harus tebal?
Tidak. Skill ini menyatakan bahwa teks isi dan keterangan tetap berbobot normal, dan huruf tebal disediakan untuk judul.
Bisakah skill ini membuat bagan?
Bisa. Skill ini mencakup opsi bagan dan tabel PptxGenJS.
Detail
Deskripsi asli dari pembuat
Implement single-slide PowerPoint pages with PptxGenJS. Use when writing or fixing slide JS files: dimensions, positioning, text/image/chart APIs, styling rules, and export expectations for native .pptx output.
repo: MiniMax-AI/skills
Popularitas
- Bintang GitHub
- 14k
- Peringkat
- #11285
- Lisensi
- MIT
- Diperbarui
- 18/4/2026
Komentar
- โฆ
Skill lain dari repositori ini
design-style-skill
14kMembantu agent Anda memilih satu gaya visual yang konsisten untuk slide, dari yang tajam dan padat hingga yang lembut, membulat atau lapang, dengan sudut dan spasi yang selaras.
ppt-editing-skill
14kMembantu agent Anda mengedit file atau templat PowerPoint yang sudah ada dengan aman, dengan mengubah teks, mengatur ulang atau menghapus slide, dan mengemas ulang presentasi yang valid.
ppt-orchestra-skill
14kMembantu agent Anda merencanakan seluruh presentasi PowerPoint sebelum dibuat, dengan mengelompokkan setiap slide ke dalam jenis halaman standar serta memeriksa variasi dan kualitas teks.
android-native-dev
14kMembantu agent Anda membangun aplikasi Android dengan Kotlin, Compose dan Material Design 3, termasuk penyiapan proyek, aksesibilitas, dan perbaikan build.
Skill serupa
feishu-doc
394kMembantu agent Anda membaca, membuat, dan mengedit dokumen cloud Feishu, termasuk teks, gambar, dan tabel, dengan memakai alat dokumen.
feishu-drive
394kMemungkinkan agent Anda menelusuri, mengatur, dan memberi komentar pada file di folder cloud Feishu yang sudah dibagikan kepada bot.
feishu-perm
394kMembantu agent Anda memeriksa dan mengubah siapa yang dapat mengakses file Feishu, dengan memilih izin terkecil yang memenuhi permintaan Anda.