pptx-generator
ما الذي تفعله
تتعامل هذه المهارة مع عروض PowerPoint من البداية إلى النهاية. تغطي قراءة العروض وتحرير القوالب وإنشاء شرائح جديدة بنظام تصميم مدمج. وهي موجهة لمن يُعدّون العروض التقديمية.
متى تستخدمها
- ✓عندما تريد عرضًا تقديميًا جديدًا يُبنى من الصفر.
- ✓عندما يكون لديك قالب PowerPoint وتحتاج إلى تحديثه.
- ✓عندما تحتاج إلى نص من عرض تقديمي موجود.
رابط المهارة
https://github.com/MiniMax-AI/skills/blob/main/skills/pptx-generator/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد عرضًا تقديميًا من 10 شرائح عن خارطة طريق منتجنا، فيه غلاف وجدول أعمال وملخص.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل العرض الموجود أو يبني عرضًا جديدًا وفق أنواع شرائحه وقواعد تصميمه. تُنفَّذ تعديلات القوالب بخطوات XML آمنة، والقراءة تستخدم أداة لاستخراج النص.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
PPTX Generator & Editor
Overview
This skill handles all PowerPoint tasks: reading/analyzing existing presentations, editing template-based decks via XML manipulation, and creating presentations from scratch using PptxGenJS. It includes a complete design system (color palettes, fonts, style recipes) and detailed guidance for every slide type.
Quick Reference
| Task | Approach |
|---|---|
| Read/analyze content | python -m markitdown presentation.pptx |
| Edit or create from template | See Editing Presentations |
| Create from scratch | See Creating from Scratch below |
| Item | Value |
|---|---|
| Dimensions | 10" x 5.625" (LAYOUT_16x9) |
| Colors | 6-char hex without # (e.g., "FF0000") |
| English font | Arial (default), or approved alternatives |
| Chinese font | Microsoft YaHei |
| Page badge position | x: 9.3", y: 5.1" |
| Theme keys | primary, secondary, accent, light, bg |
| Shapes | RECTANGLE, OVAL, LINE, ROUNDED_RECTANGLE |
| Charts | BAR, LINE, PIE, DOUGHNUT, SCATTER, BUBBLE, RADAR |
Reference Files
| File | Contents |
|---|---|
| slide-types.md | 5 slide page types (Cover, TOC, Section Divider, Content, Summary) + additional layout patterns |
| design-system.md | Color palettes, font reference, style recipes (Sharp/Soft/Rounded/Pill), typography & spacing |
| editing.md | Template-based editing workflow, XML manipulation, formatting rules, common pitfalls |
| pitfalls.md | QA process, common mistakes, critical PptxGenJS pitfalls |
| pptxgenjs.md | Complete PptxGenJS API reference |
Reading Content
# Text extraction
python -m markitdown presentation.pptx
Creating from Scratch — Workflow
Use when no template or reference presentation is available.
Step 1: Research & Requirements
Search to understand user requirements — topic, audience, purpose, tone, content depth.
Step 2: Select Color Palette & Fonts
Use the Color Palette Reference to select a palette matching the topic and audience. Use the Font Reference to choose a font pairing.
Step 3: Select Design Style
Use the Style Recipes to choose a visual style (Sharp, Soft, Rounded, or Pill) matching the presentation tone.
Step 4: Plan Slide Outline
Classify every slide as exactly one of the 5 page types. Plan the content and layout for each slide. Ensure visual variety — do NOT repeat the same layout across slides.
Step 5: Generate Slide JS Files
Create one JS file per slide in slides/ directory. Each file must export a synchronous createSlide(pres, theme) function. Follow the Slide Output Format and the type-specific guidance in slide-types.md. Generate up to 5 slides concurrently using subagents if available.
Tell each subagent:
- File naming:
slides/slide-01.js,slides/slide-02.js, etc. - Images go in:
slides/imgs/ - Final PPTX goes in:
slides/output/ - Dimensions: 10" x 5.625" (LAYOUT_16x9)
- Fonts: Chinese = Microsoft YaHei, English = Arial (or approved alternative)
- Colors: 6-char hex without # (e.g.
"FF0000") - Must use the theme object contract (see Theme Object Contract)
- Must follow the PptxGenJS API reference
Step 6: Compile into Final PPTX
Create slides/compile.js to combine all slide modules:
// slides/compile.js
const pptxgen = require('pptxgenjs');
const pres = new pptxgen();
pres.layout = 'LAYOUT_16x9';
const theme = {
primary: "22223b", // dark color for backgrounds/text
secondary: "4a4e69", // secondary accent
accent: "9a8c98", // highlight color
light: "c9ada7", // light accent
bg: "f2e9e4" // background color
};
for (let i = 1; i <= 12; i++) { // adjust count as needed
const num = String(i).padStart(2, '0');
const slideModule = require(`./slide-${num}.js`);
slideModule.createSlide(pres, theme);
}
pres.writeFile({ fileName: './output/presentation.pptx' });
Run with: cd slides && node compile.js
Step 7: QA (Requir
الأسئلة الشائعة
ما أنواع الشرائح التي تغطيها؟
تغطي الغلاف وفهرس المحتويات وفاصل القسم والمحتوى والملخص.
كيف تقرأ العرض؟
تستخدم أداة markitdown لاستخراج نص العرض التقديمي.
هل تتضمن نظام تصميم؟
نعم. تتضمن لوحات ألوان وخطوطًا ووصفات أنماط لشرائح متسقة.
التفاصيل
الوصف الأصلي من المؤلف
Generate, edit, and read PowerPoint presentations. Create from scratch with PptxGenJS (cover, TOC, content, section divider, summary slides), edit existing PPTX via XML workflows, or extract text with markitdown. Triggers: PPT, PPTX, PowerPoint, presentation, slide, deck, slides.
repo: MiniMax-AI/skills
الشعبية
- نجوم GitHub
- 14k
- الترتيب
- #11298
- الترخيص
- MIT
- آخر تحديث
- 18/4/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
design-style-skill
14kيختار لوكيلك نمطًا بصريًا واحدًا ومتسقًا للشرائح، من الحاد والمضغوط إلى الناعم والمستدير أو الفسيح، مع زوايا ومسافات متناسقة.
ppt-editing-skill
14kيعلّم وكيلك تعديل ملف PowerPoint موجود أو قالب بأمان، بتغيير النص وإعادة ترتيب الشرائح أو حذفها وإعادة تجميع عرض صالح.
ppt-orchestra-skill
14kيساعد وكيلك على تخطيط عرض PowerPoint كامل قبل بنائه، بتصنيف كل شريحة في نوع صفحة معياري والتحقق من التنوع وجودة النص.
slide-making-skill
14kيساعد وكيلك على كتابة شرائح PowerPoint منفردة بلغة JavaScript باستخدام PptxGenJS، ويشمل التخطيط والنص والصور والمخططات والخطوط لملفات .pptx أصلية.
مهارات مشابهة
feishu-doc
394kيساعد وكيلك على قراءة مستندات Feishu السحابية وإنشائها وتعديلها، بما فيها النصوص والصور والجداول، باستخدام أداة المستندات.
feishu-drive
394kيتيح لوكيلك تصفح الملفات في مجلد سحابي على Feishu شاركته مع البوت، وتنظيمها، والتعليق عليها.
feishu-perm
394kيساعد وكيلك على معرفة من يستطيع الوصول إلى ملف Feishu وتغيير ذلك، مع اختيار أدنى صلاحية تلبي طلبك.