ppt-editing-skill
ما الذي تفعله
تُرشد هذه المهارة إلى تعديل ملف PowerPoint موجود، بما في ذلك ملء قالب بمحتوى جديد. وهي موجهة لمن يحتاجون إلى تحديث العروض دون أن تنكسر تخطيطاتها.
متى تستخدمها
- ✓عندما يكون لديك قالب PowerPoint وتريد ملأه بمحتواك.
- ✓عندما تحتاج إلى إعادة ترتيب الشرائح أو نسخها أو حذفها في عرض موجود.
- ✓عندما تريد تحديث نص عرض تقديمي موجود بأمان.
رابط المهارة
https://github.com/MiniMax-AI/skills/blob/main/plugins/pptx-plugin/skills/ppt-editing-skill/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد استخدام قالب شركتي لإنشاء عرض من 10 شرائح عن نتائج الربع الثالث.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يطّلع الوكيل على تخطيطات القالب ويخطط الشريحة المناسبة لكل قسم. ثم يعدّل ملفات الشرائح بعناية ويعيد تجميعها في ملف PowerPoint صالح.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Editing Presentations
Template-Based Workflow
When using an existing presentation as a template:
Copy and analyze:
cp /path/to/user-provided.pptx template.pptx python -m markitdown template.pptx > template.mdReview
template.mdto see placeholder text and slide structure.Plan slide mapping: For each content section, choose a template slide.
⚠️ USE VARIED LAYOUTS — monotonous presentations are a common failure mode. Don't default to basic title + bullet slides. Actively seek out:
- Multi-column layouts (2-column, 3-column)
- Image + text combinations
- Full-bleed images with text overlay
- Quote or callout slides
- Section dividers
- Stat/number callouts
- Icon grids or icon + text rows
Avoid: Repeating the same text-heavy layout for every slide.
Match content type to layout style (e.g., key points → bullet slide, team info → multi-column, testimonials → quote slide).
Unpack
Build presentation (do this yourself, not with subagents):
- Delete unwanted slides (remove from
<p:sldIdLst>) - Duplicate slides you want to reuse (
add_slide.py) - Reorder slides in
<p:sldIdLst> - Complete all structural changes before step 5
- Delete unwanted slides (remove from
Edit content: Update text in each
slide{N}.xml. Use subagents here if available — slides are separate XML files, so subagents can edit in parallel.Clean
Pack
Output Structure
Copy the user-provided file to template.pptx in cwd. This preserves the original and gives a predictable name for all downstream scripts.
cp /path/to/user-provided.pptx template.pptx
./
├── template.pptx # Copy of user-provided file (never modified)
├── template.md # markitdown extraction
├── unpacked/ # Editable XML tree
└── edited.pptx # Final repacked deck
Minimum expected deliverable: edited.pptx.
Scripts
| Script | Purpose |
|---|---|
unpack.py |
Extract and pretty-print PPTX |
add_slide.py |
Duplicate slide or create from layout |
clean.py |
Remove orphaned files |
pack.py |
Repack with validation |
Removes slides not in <p:sldIdLst>, unreferenced media, orphaned rels.
Always write to /tmp/ first, then copy to the final path. Python's zipfile module uses seek internally, which fails on some volume mounts (e.g. Docker bind mounts). Writing to a local temp path avoids this.
Validates, repairs, condenses XML, re-encodes smart quotes.
Slide Operations
Slide order is in ppt/presentation.xml → <p:sldIdLst>.
Reorder: Rearrange <p:sldId> elements.
Delete: Remove <p:sldId>, then run clean.py.
Add: Use add_slide.py. Never manually copy slide files—the script handles notes references, Content_Types.xml, and relationship IDs that manual copying misses.
Editing Content
Subagents: If available, use them here (after completing step 4). Each slide is a separate XML file, so subagents can edit in parallel. In your prompt to subagents, include:
- The slide file path(s) to edit
- "Use the Edit tool for all changes"
- The formatting rules and common pitfalls below
For each slide:
- Read the slide's XML
- Identify ALL placeholder content—text, images, charts, icons, captions
- Replace each placeholder with final content
Use the Edit tool, not sed or Python scripts. The Edit tool forces specificity about what to replace and where, yielding better reliability.
Formatting Rules
- Bold all headers, subheadings, and inline labels: Use
b="1"on<a:rPr>. This includes:- Slide titles
- Section headers within a slide
- Inline labels like (e.g.: "Status:", "Description:") at the start of a line
- Never use unicode bullets (•): Use proper list formatting with
<a:buChar>or<a:buAutoNum> - Bullet consistency: Let bullets inherit from the layout. Only specify
<a:buChar>or<a:buNone>.
Common Pitfalls
Template Adaptation
When source content has fewer items than the template:
- Remove excess elements entirely (images, shapes, text boxes), don't just clear text
- Check for orphaned visuals after clearing text content
- Run content QA with
markitdownto catch mismatched counts
When replacing text with different length content:
- Shorter replacements: Usually safe
- Longer replacements: May overflow or wrap unexpectedly
- Verify w
الأسئلة الشائعة
هل ستحافظ على تخطيطات قالبي؟
تعمل المهارة على تخطيطات القالب الموجودة وتعدّل النص داخلها بعناية.
هل تستخدم تخطيطات شرائح متنوعة؟
نعم. وهي تحذّر من تكرار التخطيط نفسه كثير النص في كل شريحة.
هل تنظف الملفات غير المستخدمة؟
نعم. تتضمن المهارة حذف الأصول اليتيمة بعد التعديلات.
التفاصيل
الوصف الأصلي من المؤلف
Edit existing PowerPoint files or templates with XML-safe workflows. Use for template-based deck updates: analyze layouts, map content to slides, duplicate/reorder/delete slides safely, edit slide XML in parallel, clean orphaned assets, and repack validated PPTX output.
repo: MiniMax-AI/skills
الشعبية
- نجوم GitHub
- 14k
- الترتيب
- #11283
- الترخيص
- MIT
- آخر تحديث
- 18/4/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
design-style-skill
14kيختار لوكيلك نمطًا بصريًا واحدًا ومتسقًا للشرائح، من الحاد والمضغوط إلى الناعم والمستدير أو الفسيح، مع زوايا ومسافات متناسقة.
ppt-orchestra-skill
14kيساعد وكيلك على تخطيط عرض PowerPoint كامل قبل بنائه، بتصنيف كل شريحة في نوع صفحة معياري والتحقق من التنوع وجودة النص.
slide-making-skill
14kيساعد وكيلك على كتابة شرائح PowerPoint منفردة بلغة JavaScript باستخدام PptxGenJS، ويشمل التخطيط والنص والصور والمخططات والخطوط لملفات .pptx أصلية.
android-native-dev
14kيمنح وكيلك القدرة على بناء تطبيقات Android بلغة Kotlin مع Compose وMaterial Design 3، ويشمل إعداد المشروع وإمكانية الوصول وإصلاح أخطاء البناء.
مهارات مشابهة
feishu-doc
394kيساعد وكيلك على قراءة مستندات Feishu السحابية وإنشائها وتعديلها، بما فيها النصوص والصور والجداول، باستخدام أداة المستندات.
feishu-drive
394kيتيح لوكيلك تصفح الملفات في مجلد سحابي على Feishu شاركته مع البوت، وتنظيمها، والتعليق عليها.
feishu-perm
394kيساعد وكيلك على معرفة من يستطيع الوصول إلى ملف Feishu وتغيير ذلك، مع اختيار أدنى صلاحية تلبي طلبك.