image-svg-pptx-pro
Skill8 starsChanged 5 months agoMITView on GitHub
Convert PPT screenshots, academic images, UI mockups, and report pages into a high-fidelity SVG intermediate, then reconstruct a mixed editable PowerPoint file with SVG/PNG fallbacks and optional VBA helpers.
In this repository60 other files it gives its agents.
- animejsSkill
- sketch-animation-videoSkill
- sound-fx-for-videoSkill
- content_series_infographicSkill
- tech-article-seriesSkill
- agent-team-harnessSkill
- ai-agent-collaboration-standardSkill
- ci-cd-workflow-specSkill
- config-as-code-specSkill
- execution-ownership-migrationSkill
- feature-lane-release-workflowSkill
- generation-upgrade-acceptanceSkill
- gitops-canonical-resource-deliverySkill
- harness-workflowSkill
- infrastructure-as-code-specSkill
- issue-pr-traceability-standardSkill
- multi-environment-delivery-and-releaseSkill
- project-development-standardSkill
- store-and-startup-homepage-specSkill
- zero-trust-overlay-deliverySkill
- it-infra-continuous-pngSkill
- autoglm-websearchSkill
- blogwatcherSkill
- Browser AutomationSkill
- docxSkill
- find-skillsSkill
- image-cogSkill
- image-resizerSkill
- pdfSkill
- pptxSkill
- Self-Improving Agent (With Self-Reflection)Skill
- skill-security-checkSkill
- skill-vetterSkill
- video-translatorSkill
- wan-image-video-gen-editSkill
- xlsxSkill
- backup-disaster-recovery-and-data-migrationSkill
- capacity-cost-and-resource-lifecycleSkill
- github-actions-operational-dispatchSkill
- incident-response-and-change-managementSkill
- network-dns-tls-edge-managementSkill
- observability-slo-and-alertingSkill
- secrets-identity-and-access-governanceSkill
- service-catalog-and-runbook-standardSkill
- system-db-three-role-securitySkill
- unified-observability-architectureSkill
- vault-eso-tls-certificate-governanceSkill
- ai-tech-news-videoSkill
- ai-ti-wo-shuo-explainerSkill
- it-infra-evolution-videoSkill
- it-infra-evolution-video-v2Skill
- product-intro-videoSkill
- swimlane-videoSkill
- video-understandingSkill
- ai-news-md-digestSkill
- article-to-image-seriesSkill
- content-pdf-with-imagesSkill
- evolutionary-social-copy-packSkill
- image-series-to-videoSkill
- research-to-slide-deckSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 12 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill when the user wants to turn a raster image, PPT screenshot, academic figure, UI screen, poster, report page, or AI-generated …
- Distinctive: line 19
Always produce, when possible:
- Distinctive: line 34
Never redraw a complex logo/icon if it will visibly degrade.
- Distinctive: line 35
Never stretch text horizontally to match a screenshot.
- Very specific: line 40
When the user does not specify a mode, use balanced.
- Distinctive: line 46
Use when the user explicitly wants more editable elements.
- Distinctive: line 49
Use when fidelity is more important than editing.
- Distinctive: line 61
If the input is a phone photo of a screen, deskew/crop it first if needed.
- Very specific: line 65
Use visual reasoning to decompose the normalized image into semantic layers.
- Very specific: line 78
Do not invent unreadable text.
- Distinctive: line 102
Prefer plan-based PPTX generation, because it preserves semantics better than arbitrary SVG parsing.
- Distinctive: line 108
If the plan is unavailable but an SVG exists, use the SVG parser fallback:
- Very specific: line 116
Create qa_report.md using references/quality_checklist.md.
- Very specific: line 128
If the visual mismatch is obvious, update layout_plan.json and regenerate.
- Distinctive: line 132
When the user gives an image and asks for conversion, proceed without asking follow-up unless required files are missing.
- Very specific: line 136
If exact text is unreadable, do not hallucinate it.
- Distinctive: line 138
If SVG-to-PPTX direct conversion loses filters, masks, gradients, or paths, keep those regions as cropped assets and overlay editable …
- Distinctive: line 140
If the user needs a fully editable corporate deck, tell them which elements remain image-based and why.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Image → SVG → Editable PPTX Pro Skill
Use this skill when the user wants to turn a raster image, PPT screenshot, academic figure, UI screen, poster, report page, or AI-generated PPT image into a PowerPoint file that is as editable as possible while preserving visual fidelity.
The core route is:
source image → normalized image → semantic layout plan → high-fidelity SVG → editable PPTX reconstruction → QA comparison → correction pass
This skill is intentionally not a naive OCR-to-PPT workflow. It uses SVG as the stable intermediate representation because SVG can encode precise geometry, typography, image crops, vector primitives, and fallbacks before converting to Office shapes.
Output targets
Always produce, when possible:
reconstructed.pptx— main deliverable; editable PowerPoint.reconstruction.svg— high-fidelity intermediate source.layout_plan.json— editable semantic layout plan.assets/— cropped image/logo/icon/screenshot regions.qa_report.md— visual and editability assessment.- Optional
macros/insert_svg_fallback.bas— VBA helper for inserting SVG or fallback objects.
Operating principle
Prioritize final usefulness, not theoretical editability.
- Convert text, headings, cards, boxes, dividers, simple charts, arrows, bullets, tables, and simple icons into editable PowerPoint elements.
- Preserve complex photos, dense screenshots, logos, decorative illustrations, complex icons, gradients, and complicated path art as cropped image assets or SVG fallback groups.
- Never redraw a complex logo/icon if it will visibly degrade. Crop it from the source image and position it precisely.
- Never stretch text horizontally to match a screenshot. Use font size, letter spacing approximation, box width, and line breaks instead.
- For Chinese slides, prefer legibility and correct text over forced font matching.
Quality modes
When the user does not specify a mode, use balanced.
balanced
Best default. Core text and structure editable; complex visual regions preserved as cropped assets.
max_editable
Use when the user explicitly wants more editable elements. Vectorize more lines, charts, and simple icons. Still keep complex logos/photos as assets.
visual_locked
Use when fidelity is more important than editing. Put a full-slide image/SVG fallback underneath or as grouped locked visual, then overlay editable text and key elements.
Workflow
1. Normalize the source
Run:
python scripts/preprocess_image.py input.png --out work/normalized.png --meta work/source_meta.jsonIf the input is a phone photo of a screen, deskew/crop it first if needed. Keep the original file unchanged.
2. Build layout_plan.json
Use visual reasoning to decompose the normalized image into semantic layers. Follow references/layout_plan_schema.md.
The plan must include:
- canvas width and height in pixels.
- slide aspect ratio.
- background color or background image.
- text elements with exact text, x/y/w/h, font size, weight, color, alignment, line breaks.
- vector elements: rectangles, rounded rectangles, lines, arrows, circles, charts, tables.
- asset crop regions: photos, logos, screenshots, complex icons, decorative art.
- z-order.
- editability intent:
editable,asset, orfallback.
Do not invent unreadable text. Mark uncertain text as needs_review: true.
3. Crop assets
Run:
python scripts/crop_assets.py work/normalized.png work/layout_plan.json --out work/assetsComplex image regions referenced in the plan must point to these cropped files.
4. Generate SVG
Run:
python scripts/plan_to_svg.py work/layout_plan.json --assets work/assets --out work/reconstruction.svgThe SVG is the canonical visual intermediate. Inspect or render it before generating PPTX.
5. Convert SVG/plan into editable PPTX
Prefer plan-based PPTX generation, because it preserves semantics better than arbitrary SVG parsing.
python scripts/plan_to_pptx.py work/layout_plan.json --assets work/assets --out work/reconstructed.pptxIf the plan is unavailable but an SVG exists, use the SVG parser fallback:
python scripts/svg_to_pptx_editable.py work/reconstruction.svg --out work/reconstructed.pptx6. QA and correction pass
Create qa_report.md using references/quality_checklist.md.
Check:
- title hierarchy and position.
- text correctness, especially Chinese characters and numbers.
- margins and card alignment.
- colors and background balance.
- line thickness and rounded corner radius.
- whether logos/icons degraded.
- whether generated PPTX is actually editable for the main elements.
If the visual mismatch is obvious, update layout_plan.json and regenerate. Do not present the first broken result as final.
Recommended user-facing command
When the user gives an image and asks for conversion, proceed without asking follow-up unless required files are missing. Say briefly what files were produced and link the PPTX/ZIP.
Failure handling
If exact text is unreadable, do not hallucinate it. Use cropped image fallback for the region and flag it in qa_report.md.
If SVG-to-PPTX direct conversion loses filters, masks, gradients, or paths, keep those regions as cropped assets and overlay editable text/shapes.
If the user needs a fully editable corporate deck, tell them which elements remain image-based and why.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

