slide-making-skill
O que ela faz
Esta skill orienta a criação de slides individuais do PowerPoint com a biblioteca PptxGenJS. Ela é para desenvolvedores que geram slides por código e precisam de tamanhos, fontes e estilos corretos.
Quando usar
- ✓Quando você escrever ou corrigir um arquivo de slide que cria uma página do PowerPoint com código.
- ✓Quando precisar adicionar texto, imagens ou gráficos a um slide feito com o PptxGenJS.
- ✓Quando quiser que o resultado seja um arquivo .pptx nativo que abra no PowerPoint.
Link da skill
https://github.com/MiniMax-AI/skills/blob/main/plugins/pptx-plugin/skills/slide-making-skill/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Quero um slide com um título, dois tópicos e um gráfico de barras, feito com o PptxGenJS como arquivo do PowerPoint.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill lista as regras do PptxGenJS para dimensões, posições, fontes e cores. O agente segue essas regras para escrever um arquivo de slide que exporta para um formato padrão do PowerPoint.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Quais fontes ela recomenda?
Sugere Microsoft YaHei para textos em chinês e Arial para textos em inglês, com algumas alternativas seguras.
O texto do corpo deve ser em negrito?
Não. A skill diz que o texto do corpo e as legendas devem ficar com peso normal, reservando o negrito para os títulos.
Ela consegue criar gráficos?
Sim. A skill cobre as opções de gráfico e tabela do PptxGenJS.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 14 mil
- Posição no ranking
- #11285
- Licença
- MIT
- Atualizada em
- 18/04/2026
Comentários
- …
Mais skills deste repositório
design-style-skill
14 milAjuda seu agente a escolher um estilo visual consistente para os slides, do nítido e compacto ao suave, arredondado ou arejado, com cantos e espaçamentos combinando.
ppt-editing-skill
14 milAjuda seu agente a editar com segurança um arquivo ou modelo existente do PowerPoint, alterando textos, reordenando ou removendo slides e reempacotando uma apresentação válida.
ppt-orchestra-skill
14 milAjuda seu agente a planejar uma apresentação completa do PowerPoint antes de construí-la, classificando cada slide em um tipo de página padrão e verificando a variedade e a qualidade do texto.
android-native-dev
14 milAjuda seu agente a criar apps Android em Kotlin com Compose e Material Design 3, incluindo configuração do projeto, acessibilidade e correção de erros de build.
Skills parecidas
feishu-doc
394 milAjuda seu agente a ler, criar e editar documentos na nuvem do Feishu, incluindo textos, imagens e tabelas, usando a ferramenta de documentos.
feishu-drive
394 milPermite que seu agente navegue, organize e comente arquivos de uma pasta na nuvem do Feishu que foi compartilhada com o bot.
feishu-perm
394 milAjuda seu agente a verificar e alterar quem pode acessar um arquivo do Feishu, escolhendo a menor permissão que atende ao seu pedido.