CommunityEscrita e Ediçãogithub.com

minimax-ai/pptx-generator

Gere, edite e leia apresentações do PowerPoint. Crie do zero com PptxGenJS (capa, sumário, conteúdo, divisores de seção, slides de resumo), edite PPTX existentes via fluxos XML ou extraia texto com markitdown. Gatilhos: PPT, PPTX, PowerPoint, apresentação, slide, deck, slides.

O que é pptx-generator?

O **minimax-ai/pptx-generator** é uma skill especializada para agentes de IA (como Claude Code, Cursor, Codex) que permite gerar, editar e ler apresentações do PowerPoint de forma programática. Ela é extremamente útil para desenvolvedores e equipes que precisam automatizar a criação de slides, seja para relatórios, pitches de vendas, apresentações técnicas ou materiais educacionais. A skill suporta múltiplos fluxos de trabalho: criação de slides do zero utilizando a biblioteca PptxGenJS, edição de arquivos PPTX existentes através de manipulação XML (descompactando, modificando e recompactando o arquivo), e extração de texto de apresentações usando a ferramenta markitdown. Os principais gatilhos de ativação são palavras-chave como PPT, PPTX, PowerPoint, apresentação, slide, deck e slides, facilitando sua invocação natural durante uma conversa. Com essa skill, o agente pode estruturar apresentações completas com capa, sumário, slides de conteúdo, divisores de seção e slides de resumo, tudo em um formato pronto para uso profissional.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/minimax-ai/skills/tree/main/skills/pptx-generator

Installed? Explore more Escrita e Edição skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que pptx-generator faz?

Gere, edite e leia apresentações do PowerPoint. Crie do zero com PptxGenJS (capa, sumário, conteúdo, divisores de seção, slides de resumo), edite PPTX existentes via fluxos XML ou extraia texto com markitdown. Gatilhos: PPT, PPTX, PowerPoint, apresentação, slide, deck, slides.

Como usar

Criar uma nova apresentação do zero

Para criar uma apresentação do zero, use a biblioteca PptxGenJS. O fluxo padrão é:

  1. Defina a estrutura da apresentação (slides, layout, conteúdo)
  2. Use funções específicas para cada tipo de slide (capa, sumário, conteúdo, etc.)
  3. Exporte o arquivo .pptx gerado

Exemplo básico:

const pptxgen = require('pptxgenjs');

let pres = new pptxgen();
pres.layout = 'LAYOUT_WIDE';

// Slide de capa
let slide = pres.addSlide();
slide.addText('Título da Apresentação', { x: 1, y: 1, fontSize: 36, color: '363636' });
slide.addText('Subtítulo', { x: 1, y: 2, fontSize: 18, color: '767171' });

pres.writeFile({ fileName: 'apresentacao.pptx' });

Editar um PPTX existente via XML

Para editar um arquivo .pptx existente:

  1. Descompacte o arquivo PPTX (na verdade é um ZIP com XMLs)
  2. Modifique os arquivos XML relevantes (como slide1.xml, slide2.xml)
  3. Recompacte tudo em um novo arquivo .pptx

Exemplo de fluxo:

# Descompactar
unzip apresentacao.pptx -d ./temp_pptx
# Editar (exemplo com sed, mas pode ser feito com Node.js/xml2js)
sed -i 's/texto_antigo/novo_texto/g' ./temp_pptx/ppt/slides/slide1.xml
# Recompactar
cd ./temp_pptx && zip -r ../apresentacao_editada.pptx ./*

Extrair texto de uma apresentação

Use a ferramenta markitdown (ou bibliotecas npm como mammoth para DOCX, mas para PPTX pode-se usar pptx2md ou simplesmente descompactar e ler os XMLs):

pip install markitdown
markitdown apresentacao.pptx > texto_extraido.md

Ou programaticamente com Node.js:

const fs = require('fs');
const { parseString } = require('xml2js');

// Exemplo: ler texto de slide1.xml
const xml = fs.readFileSync('./temp_pptx/ppt/slides/slide1.xml', 'utf-8');
parseString(xml, (err, result) => {
  // Extrair texto dos elementos <a:t>
});

Gatilhos (Triggers)

A skill pode ser invocada quando você menciona:

  • PPT
  • PPTX
  • PowerPoint
  • apresentação (presentation)
  • slide
  • deck
  • slides

Tipos de slide suportados

TipoDescrição
Capa (Cover)Slide inicial com título e opções de subtítulo
Sumário (TOC)Índice com lista de seções
Conteúdo (Content)Slides principais com texto, listas, imagens, tabelas
Divisor de seçãoSlide de transição entre seções
Resumo (Summary)Slide final com conclusões ou próximos passos

Notas

  • A skill não depende de APIs externas; tudo é processado localmente.
  • Para edição avançada de XML, considere usar xml2js ou fast-xml-parser.
  • O PptxGenJS suporta muitos layouts e estilos; consulte a documentação oficial para detalhes.

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

minimax-ai/android-native-dev

Android native application development and UI design guide. Covers Material Design 3, Kotlin/Compose development, project configuration, accessibility, and build troubleshooting. Read this before Android native application development.

minimax-ai/flutter-dev

Flutter cross-platform development guide covering widget patterns, Riverpod/Bloc state management, GoRouter navigation, performance optimization, and platform-specific implementations. Includes const optimization, responsive layouts, testing strategies, and DevTools profiling. Use when: building Flutter apps, implementing state management (Riverpod/Bloc), setting up GoRouter navigation, creating custom widgets, optimizing performance, writing widget tests, cross-platform development.

minimax-ai/frontend-dev

Full-stack frontend development combining premium UI design, cinematic animations, AI-generated media assets, persuasive copywriting, and visual art. Builds complete, visually striking web pages with real media, advanced motion, and compelling copy. Use when: building landing pages, marketing sites, product pages, dashboards, generating media assets (image/video/audio/music), writing conversion copy, creating generative art, or implementing cinematic scroll animations.

minimax-ai/fullstack-dev

Full-stack backend architecture and frontend-backend integration guide. TRIGGER when: building a full-stack app, creating REST API with frontend, scaffolding backend service, building todo app, building CRUD app, building real-time app, building chat app, Express + React, Next.js API, Node.js backend, Python backend, Go backend, designing service layers, implementing error handling, managing config/auth, setting up API clients, implementing auth flows, handling file uploads, adding real-time features (SSE/WebSocket), hardening for production. DO NOT TRIGGER when: pure frontend UI work, pure CSS/styling, database schema only.

minimax-ai/gif-sticker-maker

Convert photos (people, pets, objects, logos) into 4 animated GIF stickers with captions. Use when: user wants to create cartoon stickers, GIF expressions, emoji packs, animated avatars, or convert photos to Funko Pop / Pop Mart blind box style animations. Triggers: sticker, GIF, cartoon, emoji, expression pack, avatar animation.

minimax-ai/ios-application-dev

iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files. Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.

minimax-ai/minimax-docx

Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill/edit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say "write a report", "draft a proposal", "make a contract", "fill in this form", "reformat to match this template", or any task whose final output is a .docx file. Even if the user doesn't mention "docx" explicitly, if the task implies a printable/formal document, use this skill.

minimax-ai/minimax-pdf

Use this skill when visual quality and design identity matter for a PDF. CREATE (generate from scratch): "make a PDF", "generate a report", "write a proposal", "create a resume", "beautiful PDF", "professional document", "cover page", "polished PDF", "client-ready document". FILL (complete form fields): "fill in the form", "fill out this PDF", "complete the form fields", "write values into PDF", "what fields does this PDF have". REFORMAT (apply design to an existing doc): "reformat this document", "apply our style", "convert this Markdown/text to PDF", "make this doc look good", "re-style this PDF". This skill uses a token-based design system: color, typography, and spacing are derived from the document type and flow through every page. The output is print-ready. Prefer this skill when appearance matters, not just when any PDF output is needed.

minimax-ai/minimax-xlsx

Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, read, validate, or format any Excel spreadsheet, financial model, pivot table, or tabular data file. Covers: creating new xlsx from scratch, reading and analyzing existing files, editing existing xlsx with zero format loss, formula recalculation and validation, and applying professional financial formatting standards. Triggers on 'spreadsheet', 'Excel', '.xlsx', '.csv', 'pivot table', 'financial model', 'formula', or any request to produce tabular data in Excel format.

minimax-ai/mmx-cli

Use mmx to generate text, images, video, speech, and music via the MiniMax AI platform. Use when the user wants to create media content, chat with MiniMax models, perform web search, or manage MiniMax API resources from the terminal.

minimax-ai/pr-review

Review pull requests for the MiniMax Skills repository. Use when reviewing PRs, validating new skill submissions, or checking existing skills for compliance. Run the validation script first for hard checks, then apply quality guidelines for content review. Triggers: PR review, pull request, validate skill, check skill.

minimax-ai/react-native-dev

React Native and Expo development guide covering components, styling, animations, navigation, state management, forms, networking, performance optimization, testing, native capabilities, and engineering (project structure, deployment, SDK upgrades, CI/CD). Use when: building React Native or Expo apps, implementing animations or native UI, managing state, fetching data, writing tests, optimizing performance, deploying to App Store/Play Store, setting up CI/CD, upgrading Expo SDK, or configuring Tailwind/NativeWind.

minimax-ai/shader-dev

Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.

minimax-ai/vision-analysis

Analyze, describe, and extract information from images using the MiniMax vision MCP tool. Use when: user shares an image file path or URL (any message containing .jpg, .jpeg, .png, .gif, .webp, .bmp, or .svg file extension) or uses any of these words/phrases near an image: "analyze", "analyse", "describe", "explain", "understand", "look at", "review", "extract text", "OCR", "what is in", "what's in", "read this image", "see this image", "tell me about", "explain this", "interpret this", in connection with an image, screenshot, diagram, chart, mockup, wireframe, or photo. Also triggers for: UI mockup review, wireframe analysis, design critique, data extraction from charts, object detection, person/animal/activity identification. Triggers: any message with an image file extension (jpg, jpeg, png, gif, webp, bmp, svg), or any request to analyze/describ/understand/review/extract text from an image, screenshot, diagram, chart, photo, mockup, or wireframe.

Habilidades Relacionadas