pptx-official
यह क्या करती है
यह स्किल PowerPoint फ़ाइलों को शुरू से अंत तक संभालती है। इसमें नए डेक, टेम्पलेट भरना, स्लाइड पढ़ना और डेक बदलना शामिल है। यह प्रेज़ेंटेशन बनाने या अपडेट करने वाले लोगों के लिए है।
कब इस्तेमाल करें
- ✓जब आपको नया डेक चाहिए, जैसे पिच या ट्रेनिंग प्रेज़ेंटेशन।
- ✓जब आपके पास PowerPoint टेम्पलेट है और आप उसे मूल्यों से भरना चाहते हैं।
- ✓जब आप डेक को PDF या इमेज में बदलना चाहते हैं।
Skill का लिंक
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/pptx-official/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपने PowerPoint टेम्पलेट को इस तिमाही के बिक्री आँकड़ों से भरकर PDF के रूप में निर्यात करना चाहता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट रास्ता चुनता है: Python या JavaScript लाइब्रेरी से बनाना, टेम्पलेट के प्लेसहोल्डर भरना, फ़ाइल का ढाँचा बदलना, या टेक्स्ट पढ़ना। वह स्लाइड्स को रेंडर करके उनका दिखावट भी जाँच सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
PPTX Skill
An Apache-2.0 toolkit for producing, editing, and reading Microsoft PowerPoint
(.pptx) files. Written from scratch against the public
ECMA-376 / ISO/IEC 29500 (PresentationML)
specification and built on permissively-licensed tooling (python-pptx MIT,
pptxgenjs MIT, lxml BSD-3-Clause, Pillow MIT-CMU, optional external
binaries soffice MPL 2.0 and pdftoppm GPL) so it can be reused in
commercial projects without restriction.
Decision matrix
| Situation | Path | Read first |
|---|---|---|
| Build a deck from a prompt or dataset — no source file to start from | Author with python-pptx (structured / repeatable) or PptxGenJS (design-heavy, JS) |
create.md |
You have a .pptx template to fill in — keep its master, layouts, look |
Placeholder replacement via python-pptx |
edit.md → Template fill |
| Deep structural edits — reorder slides, splice XML, add unusual objects | Explode → edit XML parts → assemble | edit.md → Raw XML workflow |
Only need the text / speaker notes / structure out of a .pptx |
Extraction pipeline | read.md |
| Turn a deck into PDF or PNG images (visual QA, publishing) | scripts/render_pdf.py / scripts/render_slides.py via LibreOffice |
see QA below |
| Grid of slide thumbnails for previewing a template | scripts/contact_sheet.py (Pillow) |
read.md → Thumbnails |
If the task mixes several of these, do them in this order: read → plan slide-by-slide → edit/create → validate → visual QA.
One-time environment setup
Bundled runtime: when the
MIMO_PYTHONenvironment variable is set, skipuv/pip installs — run every Python command below withuv runreplaced by"$MIMO_PYTHON"(python-pptx/Pillow/lxml preinstalled; pip console scripts unavailable, use"$MIMO_PYTHON" -m <module>). A bundled LibreOffice is exposed asMIMO_SOFFICE(picked up automatically bysoffice_bridge.py/render_pdf.py), and slide rasterisation automatically falls back to pypdfium2 in that interpreter when Poppler (pdftoppm) is absent. For the PptxGenJS authoring path, bundled Node.js is exposed asMIMO_NODE, with pptxgenjs/react/react-dom/sharp/react-icons/mathjax-full preinstalled inMIMO_NODE_MODULES— run scripts asNODE_PATH="$MIMO_NODE_MODULES" "$MIMO_NODE" <script.js>instead ofnpm install.
Prerequisites
If uv or bun are not yet installed:
# Install uv (Python package/project manager)
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# Install bun (TypeScript runtime, replaces Node.js for this workflow)
# macOS / Linux
curl -fsSL https://bun.sh/install | bash
# Windows: powershell -c "irm bun.sh/install.ps1|iex"
Only if the user explicitly refuses uv / bun, substitute pip (in a venv you manage yourself) for uv, and npm/pnpm + npx tsx for bun — everything else in this skill stays the same.
Python (uv)
Python dependencies are managed by uv. Do not use pip directly.
# Initialize project (if no pyproject.toml exists)
uv init -p 3.12
# Add dependencies
uv add python-pptx lxml Pillow
uv add defusedxml # safe XML parsing (recommended for manual XML edits)
Rules:
- Never use
pip— alwaysuv addfor packages. - Never run
python scripts/...directly — alwaysuv run scripts/.... - Don't manually manage environments with
python -m venvorsource .venv/bin/activate.
TypeScript (bun)
For PptxGenJS creation, use bun (project-local, not global installs):
# Initialize (if no package.json exists)
bun init -y
# Add dependencies
bun add pptxgenjs # core PPTX creation library
bun add react react-dom sharp # rasterization (icons + formulas)
bun add react-icons # icon library (FA, MD, etc.)
bun add mathjax-full # LaTeX formula rendering
# Type definitions (including Bun runtime types)
bun add -d @types/bun @types/react @types/react-dom
Create a tsconfig.json if one doesn't exist:
{
"compilerOptions": {
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"noEmit": true,
"jsx": "react-jsx",
"strict":
अक्सर पूछे जाने वाले सवाल
क्या यह मेरे टेम्पलेट का लुक रखती है?
हाँ। टेम्पलेट भरने में प्लेसहोल्डर इस्तेमाल होते हैं, इसलिए मास्टर और लेआउट वैसे ही रहते हैं।
क्या यह मुझे स्लाइड्स का दिखावट दिखा सकती है?
हाँ। विज़ुअल जाँच के लिए यह डेक को PDF या इमेज में बदल सकती है।
क्या इसके लिए अतिरिक्त सॉफ़्टवेयर चाहिए?
कुछ रेंडरिंग के लिए वैकल्पिक टूल जैसे LibreOffice इस्तेमाल होते हैं, अगर वे इंस्टॉल हों।
जानकारी
लेखक का मूल विवरण
Use this skill whenever a Microsoft PowerPoint (.pptx) file is being produced, opened, transformed, or read. That includes: authoring slide decks, pitch decks, executive readouts, training material, or any presentation deliverable; extracting text or structure from an existing .pptx; filling a .pptx template with values; converting a deck to PDF or images; splitting or merging decks; inspecting slides, layouts, masters, tables, images, charts, speaker notes, or comments. Trigger on words like 'deck', 'slides', 'presentation', 'pitch deck', 'keynote' (when a .pptx is expected as output), or any
repo: XiaomiMiMo/MiMo-Code
लोकप्रियता
- GitHub स्टार
- 14k
- रैंकिंग में स्थान
- #11336
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
effect
14kआपके एजेंट को Effect TypeScript फ़्रेमवर्क के सवालों के जवाब देने में मदद करती है, याददाश्त पर भरोसा करने के बजाय उसका सोर्स कोड और दस्तावेज़ जाँचकर।
arxiv
14kआपके एजेंट को arXiv पर शोधपत्र खोजने, पढ़ने, उद्धृत करने और उन पर नज़र रखने में मदद करती है, जिसमें सार, BibTeX उद्धरण, PDF डाउनलोड और उद्धरण लिंक शामिल हैं।
claude-code
14kआपके एजेंट को कोडिंग का काम Claude Code कमांड-लाइन टूल को सौंपने में मदद करती है, एक बार चलने वाले रन, इंटरैक्टिव सेशन या पृष्ठभूमि जॉब के रूप में।
codex
14kआपके एजेंट को बिना चैट विंडो के OpenAI Codex कमांड-लाइन टूल चलाने में मदद करती है, कोडिंग काम, स्क्रिप्ट और स्वचालित पाइपलाइन के लिए।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।