slide-making-skill
하는 일
이 스킬은 PptxGenJS 라이브러리로 PowerPoint 슬라이드 한 장을 만드는 작업을 안내합니다. 코드로 슬라이드를 생성하며 올바른 크기, 글꼴, 스타일이 필요한 개발자를 위한 스킬입니다.
사용하는 경우
- ✓PptxGenJS로 PowerPoint 페이지를 만드는 슬라이드 파일을 작성하거나 고칠 때.
- ✓PptxGenJS로 만든 슬라이드에 텍스트, 이미지, 차트를 추가해야 할 때.
- ✓결과물이 PowerPoint에서 열리는 네이티브 .pptx 파일이어야 하는 경우.
스킬 링크
https://github.com/MiniMax-AI/skills/blob/main/plugins/pptx-plugin/skills/slide-making-skill/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제목, 글머리 기호 두 개, 막대 차트가 있는 슬라이드를 PptxGenJS로 만들어 PowerPoint 파일로 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 크기, 위치, 글꼴, 색상에 대한 PptxGenJS 규칙을 정리합니다. 에이전트는 이 규칙을 따라 표준 PowerPoint 형식으로 내보내는 슬라이드 파일을 작성합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
어떤 글꼴을 추천하나요?
중국어 텍스트에는 Microsoft YaHei를, 영어에는 Arial을 추천하고 몇 가지 안전한 대체 글꼴도 제시합니다.
본문 텍스트를 굵게 해야 하나요?
아니요. 본문과 캡션은 보통 굵기를 유지하고, 굵은 글씨는 제목에만 쓰라고 안내합니다.
차트도 만들 수 있나요?
네. 스킬은 PptxGenJS의 차트와 표 옵션을 다룹니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 14k
- 순위
- #11285
- 라이선스
- MIT
- 업데이트
- 2026. 4. 18.
댓글
- …
이 저장소의 다른 스킬
design-style-skill
14k에이전트가 날카롭고 간결한 스타일부터 부드럽고 둥근 스타일까지 슬라이드 시각 스타일을 하나로 정해 모서리와 여백을 맞추도록 돕습니다.
ppt-editing-skill
14k에이전트가 기존 PowerPoint 파일이나 템플릿의 텍스트를 바꾸고, 슬라이드 순서를 옮기거나 지우고, 올바른 파일로 다시 묶어 안전하게 편집하도록 돕습니다.
ppt-orchestra-skill
14k에이전트가 PowerPoint 덱 전체를 만들기 전에 계획하도록 돕습니다. 각 슬라이드를 표준 페이지 유형으로 나누고 구성의 다양성과 텍스트 품질을 점검합니다.
android-native-dev
14k에이전트가 Kotlin, Compose, Material Design 3로 Android 앱을 만들도록 돕습니다. 프로젝트 설정, 접근성, 빌드 수정까지 다룹니다.
비슷한 스킬
feishu-doc
394k에이전트가 문서 도구를 사용해 텍스트, 이미지, 표를 포함한 Feishu 클라우드 문서를 읽고, 만들고, 편집하도록 돕습니다.
feishu-drive
394k에이전트가 봇과 공유된 Feishu 클라우드 폴더의 파일을 찾아보고, 정리하고, 댓글을 달도록 돕습니다.
feishu-perm
394k에이전트가 요청을 충족하는 가장 작은 권한을 골라, Feishu 파일에 누가 접근할 수 있는지 확인하고 바꾸도록 돕습니다.