name: ppt-produce-bycodex description: Create and iterate enterprise application software solution PPTs as full-page PNG slides and optional PPTX decks. Use when the user wants to start, design, generate, redraw, repair, batch-produce, or package a business/consulting/enterprise software solution presentation, especially with imagegen/gpt-image-2, PPT PNG pages, contact sheets, PPTX assembly, or 413/too-large fallback handling.
Use this skill to run a disciplined enterprise-solution PPT production workflow: clarify project context, create a storyline and page plan, generate full-page PNG slides with imagegen/gpt-image-2, review quality, and assemble PPTX only when useful.
For the complete reusable playbook, read references/ppt-production-guide.md when planning or executing a real deck. Keep this SKILL.md as the quick operating procedure.
Before creating files or generating slides, confirm these fields. If any are missing and cannot be inferred from the current workspace, ask the user for them first.
v1, v2, or v3If the user gives a project root, keep all new artifacts under <project-root>/workspace/. Do not create root-level output/, outputs/, tmp/, or scripts/ folders.
Use this layout unless the project already has a compatible convention:
workspace/deliverables/ for final outputsworkspace/assets/ for reusable source assets and copied referencesworkspace/runs/ for generation batches, staging outputs, backups, and contact sheetsworkspace/tmp/ for temporary prompts, OCR, unpacked PPTX checks, and scratch scriptsworkspace/scripts/ for reusable generation and verification scriptsReport full absolute paths for every created or modified file.
references/ppt-production-guide.md for detailed guardrails.assets/titlebar-template/enterprise-solution-titlebar-4k.png; ask whether the user wants a different title style.For a new PPT drawing task, confirm the main title-bar style as part of the first sample round.
assets/titlebar-template/enterprise-solution-titlebar-4k.png.references/titlebar-template.md.When generating or redrawing PPT PNG pages:
imagegen skill at /Users/javastarboy/.codex/skills/.system/imagegen/SKILL.md.gpt-image-2 unless the user specifies another image model.OPENAI_API_KEY and OPENAI_BASE_URL from ~/.zshrc, then call /models before expensive batches.2048x1152 high for normal 16:9 slides.3840x2160 high for complex architecture, dense diagrams, or key customer-facing pages.7w4.net有更好的技能外掛。
If a model returns unexpectedly small images below 2K without user permission, stop batch generation and warn that the provider/model route may be degraded.
Treat these as the same failure family: 413, Payload Too Large, Request Entity Too Large, response too large, upstream_status: HTTP 413, CC Switch local proxy failed, or oversized Codex /responses requests.
Use this retry policy:
workspace/ if tools still work, or return a compact handoff in the final response if file writing is unavailable.The handoff prompt must include only: project path, current task, failed page(s), last error family, successful output paths, pending output paths, and the next recommended action. Do not embed large images, base64, long prompts, or bulk file contents.
For local fixes such as removing page numbers, repairing text, or changing a small region:
gpt-image-2 image edit based on the source image.workspace/runs/<task>/ or workspace/tmp/<task>/; overwrite final PNG only after review.For title-style repairs, use a cropped title-header reference instead of a whole slide reference, to avoid reference-slide content leaking into the target page.
Separate visible slide text from design instructions.
Use this prompt shape:
STRICT VISIBLE TEXT ONLY:
customer-visible short phrases only.
DESIGN BRIEF - DO NOT RENDER AS TEXT:
fragmented design instructions.
LAYOUT BRIEF - DO NOT RENDER AS TEXT:
layout and hierarchy.
VISUAL STYLE - DO NOT RENDER AS TEXT:
color, texture, title style.
CONTENT EMPHASIS - DO NOT RENDER AS TEXT:
business meaning to emphasize.
FORBIDDEN VISIBLE TEXT:
describe categories of forbidden text; avoid repeating long forbidden phrases.
Never let the slide show prompt field names, task wording, internal discussion, review notes, or "this page should..." language.
Default to a premium enterprise/internet style:
Avoid cyber neon, heavy dark backgrounds, strong glow, cheap 3D stacks, one-note blue/purple gradients, dense grid backgrounds, oversized titles, and template-like layouts.
PPTX is a packaging artifact. It should contain only one full-slide PNG per page.
Do not rebuild PPTX after every small PNG change. For ongoing page edits, generate PNGs and contact sheets first, then ask whether to build PPTX.
When building PPTX, verify:
Use scripts/check_png_assets.py <png-dir> to inspect PNG dimensions, mode, and alpha. This is a quick check only; still visually inspect contact sheets and key pages.
https://github.com/javastarboy/open-skills
這個PPT生成工具質量不錯,工作流程設計得很專業,從需求溝通到最終交付都有明確的步驟指導。文件寫得詳細清楚,視覺風格統一規範,錯誤處理考慮周全。主要缺點是缺少一些關鍵的參考素材檔案,可能影響實際使用效果。對於需要製作企業級方案PPT的使用者來說,是一個值得嘗試的工具,但入手時可能需要先確認相關素材是否完備。