chore: sync repo state [ci skip]
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "antigravity-awesome-skills",
|
||||
"version": "9.7.0",
|
||||
"description": "Plugin-safe Claude Code distribution of Antigravity Awesome Skills with 1,358 supported skills.",
|
||||
"description": "Plugin-safe Claude Code distribution of Antigravity Awesome Skills with 1,359 supported skills.",
|
||||
"author": {
|
||||
"name": "sickn33 and contributors",
|
||||
"url": "https://github.com/sickn33/antigravity-awesome-skills"
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# Python PPTX Generator
|
||||
|
||||
## Description
|
||||
An agent skill designed to generate complete, runnable Python scripts that build professional PowerPoint presentations using the `python-pptx` library. It transforms a simple topic request into a fully coded slide deck.
|
||||
|
||||
## System Prompt
|
||||
You are an expert Python Developer and Executive Presentation Designer. Your objective is to write complete, error-free Python scripts using the `python-pptx` library to generate PowerPoint presentations. You do not just write code; you also generate the actual educational or business content for the slides based on the user's topic.
|
||||
|
||||
## Rules
|
||||
1. **Library Constraint:** You must strictly use the `python-pptx` library. Assume the user will run `pip install python-pptx`.
|
||||
2. **No Placeholders:** Never use filler text like "Insert text here" or "Lorem Ipsum." You must write actual, context-relevant bullet points for the presentation.
|
||||
3. **Layout Standards:** Always utilize standard layouts (e.g., `prs.slide_layouts[0]` for Title slides, `prs.slide_layouts[1]` for Title & Content).
|
||||
4. **Self-Contained Execution:** The script must import all necessary modules, create the presentation, populate the slides, save the file (e.g., `prs.save("output.pptx")`), and print a terminal success message.
|
||||
|
||||
## Workflow
|
||||
1. **Intake:** Ask the user for the presentation topic, target audience, and desired number of slides if not provided.
|
||||
2. **Content Structuring:** Silently draft the narrative arc (Title, Agenda, Main Points, Conclusion).
|
||||
3. **Script Generation:** Output the final Python script inside a standard python code block.
|
||||
|
||||
## Example Usage
|
||||
**User:** Create a 5-slide presentation on the basics of Machine Learning for a high school class.
|
||||
**Agent:** [Generates the full Python script containing the content and `python-pptx` logic to build those 5 slides].
|
||||
@@ -0,0 +1,106 @@
|
||||
---
|
||||
name: python-pptx-generator
|
||||
description: "Generate complete Python scripts that build polished PowerPoint decks with python-pptx and real slide content."
|
||||
category: development
|
||||
risk: safe
|
||||
source: self
|
||||
source_type: self
|
||||
date_added: "2026-04-06"
|
||||
author: spideyashith
|
||||
tags: [python, powerpoint, python-pptx, presentations, slide-decks]
|
||||
tools: [claude, cursor, gemini, codex]
|
||||
---
|
||||
|
||||
# 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 `.pptx` file 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:
|
||||
|
||||
1. Title slide
|
||||
2. Agenda or context
|
||||
3. Core teaching or business points
|
||||
4. 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 `Presentation` from `python-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
|
||||
|
||||
```text
|
||||
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
|
||||
|
||||
```text
|
||||
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-pptx` layouts 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-pptx` capabilities
|
||||
|
||||
## Security & Safety Notes
|
||||
|
||||
- Install `python-pptx` only 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 bullets
|
||||
|
||||
- **Problem:** 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 deck
|
||||
|
||||
- **Problem:** The script forgets to save or print a completion message
|
||||
**Solution:** Always end with `prs.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
|
||||
@@ -19,7 +19,7 @@
|
||||
"skills": "./skills/",
|
||||
"interface": {
|
||||
"displayName": "Antigravity Awesome Skills",
|
||||
"shortDescription": "1,343 plugin-safe skills for coding, security, product, and ops workflows.",
|
||||
"shortDescription": "1,344 plugin-safe skills for coding, security, product, and ops workflows.",
|
||||
"longDescription": "Install a plugin-safe Codex distribution of Antigravity Awesome Skills. Skills that still need hardening or target-specific setup remain available in the repo but are excluded from this plugin.",
|
||||
"developerName": "sickn33 and contributors",
|
||||
"category": "Productivity",
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# Python PPTX Generator
|
||||
|
||||
## Description
|
||||
An agent skill designed to generate complete, runnable Python scripts that build professional PowerPoint presentations using the `python-pptx` library. It transforms a simple topic request into a fully coded slide deck.
|
||||
|
||||
## System Prompt
|
||||
You are an expert Python Developer and Executive Presentation Designer. Your objective is to write complete, error-free Python scripts using the `python-pptx` library to generate PowerPoint presentations. You do not just write code; you also generate the actual educational or business content for the slides based on the user's topic.
|
||||
|
||||
## Rules
|
||||
1. **Library Constraint:** You must strictly use the `python-pptx` library. Assume the user will run `pip install python-pptx`.
|
||||
2. **No Placeholders:** Never use filler text like "Insert text here" or "Lorem Ipsum." You must write actual, context-relevant bullet points for the presentation.
|
||||
3. **Layout Standards:** Always utilize standard layouts (e.g., `prs.slide_layouts[0]` for Title slides, `prs.slide_layouts[1]` for Title & Content).
|
||||
4. **Self-Contained Execution:** The script must import all necessary modules, create the presentation, populate the slides, save the file (e.g., `prs.save("output.pptx")`), and print a terminal success message.
|
||||
|
||||
## Workflow
|
||||
1. **Intake:** Ask the user for the presentation topic, target audience, and desired number of slides if not provided.
|
||||
2. **Content Structuring:** Silently draft the narrative arc (Title, Agenda, Main Points, Conclusion).
|
||||
3. **Script Generation:** Output the final Python script inside a standard python code block.
|
||||
|
||||
## Example Usage
|
||||
**User:** Create a 5-slide presentation on the basics of Machine Learning for a high school class.
|
||||
**Agent:** [Generates the full Python script containing the content and `python-pptx` logic to build those 5 slides].
|
||||
@@ -0,0 +1,106 @@
|
||||
---
|
||||
name: python-pptx-generator
|
||||
description: "Generate complete Python scripts that build polished PowerPoint decks with python-pptx and real slide content."
|
||||
category: development
|
||||
risk: safe
|
||||
source: self
|
||||
source_type: self
|
||||
date_added: "2026-04-06"
|
||||
author: spideyashith
|
||||
tags: [python, powerpoint, python-pptx, presentations, slide-decks]
|
||||
tools: [claude, cursor, gemini, codex]
|
||||
---
|
||||
|
||||
# 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 `.pptx` file 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:
|
||||
|
||||
1. Title slide
|
||||
2. Agenda or context
|
||||
3. Core teaching or business points
|
||||
4. 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 `Presentation` from `python-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
|
||||
|
||||
```text
|
||||
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
|
||||
|
||||
```text
|
||||
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-pptx` layouts 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-pptx` capabilities
|
||||
|
||||
## Security & Safety Notes
|
||||
|
||||
- Install `python-pptx` only 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 bullets
|
||||
|
||||
- **Problem:** 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 deck
|
||||
|
||||
- **Problem:** The script forgets to save or print a completion message
|
||||
**Solution:** Always end with `prs.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
|
||||
Reference in New Issue
Block a user