python-pptx-generator
यह क्या करती है
यह एजेंट अपने आप PowerPoint प्रेज़ेंटेशन (.pptx) बनाने वाली पूरी Python स्क्रिप्ट लिख देता है। आप एक टॉपिक देते हैं और यह उसे असली content और सही structure वाली स्लाइड डेक की स्क्रिप्ट में बदल देता है।
कब इस्तेमाल करें
- ✓जब आपको एक Python स्क्रिप्ट चाहिए जो .pptx फ़ाइल बनाए।
- ✓जब आपको स्लाइड्स का content draft करवाना हो और वह सीधे स्क्रिप्ट में लिखा हुआ चाहिए।
- ✓जब demo या क्लास के लिए जल्दी से presentation बनाने वाला generator चाहिए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-pptx-generator/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“सोलर एनर्जी से घरमालिकों को होने वाले फ़ायदों पर 5 स्लाइड का presentation बनाने के लिए एक Python स्क्रिप्ट बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI पहले टॉपिक और चाहे गए presentation के structure को समझता है। फिर `python-pptx` लाइब्रेरी का इस्तेमाल करके Python कोड लिखता है, जो हर स्लाइड को titles और text के साथ बनाता है, और अंत में फ़ाइल सेव कर देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Python PPTX Generator
Overview
Use this skill when the user wants a ready-to-run Python script that creates a PowerPoint presentation with python-pptx.
It focuses on turning a topic brief into a complete slide deck script with real slide content, sensible structure, and a working save step.
When to Use This Skill
- Use when the user wants a Python script that generates a
.pptxfile automatically - Use when the user needs slide content drafted and encoded directly into
python-pptx - Use when the user wants a quick presentation generator for demos, classes, or internal briefings
How It Works
Step 1: Collect the Deck Brief
Ask for the topic, audience, tone, and target number of slides if the request does not already include them. If constraints are missing, pick conservative defaults and state them in the generated script comments.
Step 2: Plan the Narrative Arc
Outline the deck before writing code:
- Title slide
- Agenda or context
- Core teaching or business points
- Summary or next steps
Keep the slide count realistic for the requested audience and avoid filler slides.
Step 3: Generate the Python Script
Write a complete script that:
- imports
Presentationfrompython-pptx - creates the deck
- selects appropriate built-in layouts
- writes real titles and bullet points
- saves the file with a clear filename
- prints a success message after saving
Step 4: Keep the Output Runnable
The final answer should be a Python code block that can run after installing python-pptx.
Avoid pseudocode, placeholders, or missing imports.
Examples
Example 1: Educational Deck
User: Create a 5-slide presentation on the basics of machine learning for a high school class.
Output: A complete Python script that creates a title slide, overview, core concepts, examples, and recap.
Example 2: Business Briefing
User: Generate a 7-slide deck for sales leadership on Q2 pipeline risks and mitigation options.
Output: A python-pptx script with executive-friendly slide titles, concise bullets, and a final recommendations slide.
Best Practices
- ✅ Use standard
python-pptxlayouts unless the user asks for custom positioning - ✅ Write audience-appropriate bullet points instead of placeholders
- ✅ Save the output file explicitly in the script, for example
output.pptx - ✅ Keep slide titles short and the bullet hierarchy readable
- ❌ Do not return partial snippets that require the user to assemble the rest
- ❌ Do not invent unsupported styling APIs without checking
python-pptxcapabilities
Security & Safety Notes
- Install
python-pptxonly in an environment you control, for example a local virtual environment - If the user will run the script on a shared machine, choose a safe output path and avoid overwriting existing presentations without confirmation
- If the request includes proprietary or sensitive presentation content, keep it out of public examples and sample filenames
Common Pitfalls
Problem: The generated script uses placeholder text instead of real content
Solution: Draft the narrative first, then turn each slide into specific titles and bulletsProblem: The deck uses too many slides for the requested audience
Solution: Compress the outline to the most important 4 to 8 slides unless the user explicitly wants a longer deckProblem: The script forgets to save or print a completion message
Solution: Always end withprs.save(...)and a short success print
Related Skills
@pptx-official- Use when the task is about inspecting or editing existing PowerPoint files@docx-official- Use when the requested output should be a document instead of a slide deck
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल
क्या बनी हुई स्क्रिप्ट सीधे इस्तेमाल हो सकती है?
हाँ, स्क्रिप्ट पूरी होती है और `python-pptx` लाइब्रेरी इंस्टॉल करने के बाद उसे सीधे चलाया जा सकता है।
अगर मैं स्लाइड्स की संख्या न बताऊँ तो?
AI एक उचित डिफ़ॉल्ट संख्या का इस्तेमाल करेगा, आमतौर पर 4 से 8 के बीच, और यह बात जनरेट हुई स्क्रिप्ट के comments में लिख देगा।
क्या मैं कोई खास visual style माँग सकता हूँ?
AI `python-pptx` लाइब्रेरी में मौजूद standard layouts का इस्तेमाल करता है। यह जटिल custom visual styles नहीं बनाता, लेकिन content को अच्छी तरह व्यवस्थित ज़रूर रखता है।
जानकारी
लेखक का मूल विवरण
Generate complete Python scripts that build polished PowerPoint decks with python-pptx and real slide content.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5551
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।