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 . 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.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// or workspace/tmp// ; 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 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
共 4 个版本