infographic-powerpoint-deck
npx skills add https://github.com/autobyteus/autobyteus-skills --skill infographic-powerpoint-deck
Agent 安装分布
Skill 文档
Infographic PowerPoint Deck
Quick start (default: images-only deck, style-pack architecture)
- Pick one style pack folder (required) from
references/style-pack-catalog.md.- If user does not specify style, default to
editorial-light.
- If user does not specify style, default to
- Compose the style block bundle:
- Run
scripts/compose_style_pack_blocks.py --pack-id <id>(or manually read the style-pack files). - This yields a consistent block set: profile + motif + consistency + scene bias.
- Run
- Draft a slide list (8â20 slides): title, quote(s), key points, scene ID.
- Scene IDs come from
references/scene-catalog.md. - If you need fast defaults, reuse presets from
references/scene-preset-library.md. - If you already have a reasoning artifact (recommended): convert
slide_extraction.mdrows into slides. - If
slide_extraction.mdalready includesRecommended style pack ID/Scene ID/Layout hint, use those fields directly.
- Scene IDs come from
- For each slide, fill
references/prompt_template.md:- Paste the composed style block bundle.
- Paste exact required text (verbatim).
- Add slide-specific scene layer details and icons.
- Generate each slide as one 16:9 image.
- In the slide prompt text, explicitly include a ratio lock sentence (e.g.,
ç»å¸æ¯ä¾ç¡¬çº¦æï¼16:9 横çï¼å®½å±ï¼ï¼ç¦æ¢æ¹å¾ã). - In the tool call, explicitly set ratio config when supported (e.g.,
generation_configwithaspect_ratio: "16:9").
- In the slide prompt text, explicitly include a ratio lock sentence (e.g.,
- QA readability + text accuracy; regenerate only failed slides.
- If any slide is not 16:9 or has text defects, regenerate the image directly.
- Do not crop, pad, resize, or post-process generated images unless the user explicitly asks.
- Assemble images-only PPTX with
scripts/build_images_only_pptx.py.
Outputs to produce in the userâs workspace:
slides_plan.md(slide-by-slide content + visuals)prompts.md(the exact prompts used for each slide)slides/slide01.png ...(final 16:9 images)deck_images_only.pptx(concatenated images)
Recommended upstream artifact (thinking before slides)
For higher-quality decks, start from a logically structured article + extraction table:
- Use the
deep-research-articleskill to producearticle.mdandslide_extraction.md. - Prefer the deep-research handoff-contract columns (style pack ID, scene ID, layout hint, text budget) so each row maps directly to one slide prompt.
- If the extraction table is legacy/simple format, normalize it using
references/deep_research_handoff_mapping.mdbefore prompt writing.
Prompt stack (minimal vs full)
- Minimal stack (recommended for most decks):
references/style-pack-catalog.md(choose pack ID)references/style-pack-system.md(load order + composition rules)references/style-packs/<pack-id>/(pack-local blocks)references/typography_spacing_lock.mdreferences/text_fidelity_block.mdreferences/negative_prompt_block.md
- Full stack (use when you want maximum narrative + visual control):
- Minimal stack +
references/storyboard_library.mdreferences/shot_mood_library.mdreferences/scene-catalog.mdreferences/scene_library.mdreferences/layout_library.mdreferences/chinese_quote_compression.md(when quotes are long)
Style-pack system (modular and scalable)
Use folderized style packs so each style is self-contained:
- Each style pack lives in
references/style-packs/<pack-id>/. - Each pack has its own
manifest.tomland block files that define the look. - Packs can inherit from
base-coreto reuse shared constraints. - Prompts are composed as: base-core + chosen pack + slide-specific content.
- This avoids cross-file mismatch and makes new style creation deterministic.
Note: despite the Bible-themed examples, this workflow works for any topic. Swap scenes/props in references/scene_library.md to match your domain (product, research, training, etc.).
Slide prompt recipe (copy/paste template)
Read references/prompt_template.md and fill it per slide. Keep it extremely explicit:
- Put all required on-slide text under a âå¿ é¡»åºç°æåï¼éååç¡®ï¼â section.
- For visuals, describe scene layers (far/mid/foreground), plus 3â8 concrete objects.
- Specify what must be subtle/low-contrast so text stays readable.
If you need inspiration for âæ´æç»é¢æâçåºæ¯ç´ æä¸éå
ጼ, read references/scene_library.md.
If you need stable scene IDs + tags for selection/filtering, read references/scene-catalog.md.
If you need copy-ready visual scene blocks, read references/scene-preset-library.md.
If you need fast, reliable infographic compositions, read references/layout_library.md.
If you need âé头è¯è¨/æ¶é´å¤©æ°/å
å½±æ
绪â presets, read references/shot_mood_library.md.
If you need style modularity, read references/style-pack-system.md and use scripts/compose_style_pack_blocks.py.
If you want fewer typos and more readability, paste these into every slide prompt: references/typography_spacing_lock.md, references/text_fidelity_block.md, references/negative_prompt_block.md.
If you want âååé䏿 ·âçè§çèå¥ï¼read references/storyboard_library.md.
If you have long verse blocks, read references/chinese_quote_compression.md and split quotes across slides (do not paraphrase).
Quality bar (and how to iterate)
For each slide:
- Readability first: text never overlaps busy imagery; use a dedicated text panel.
- No hallucinated text: forbid extra words/logos/watermarks.
- Chinese accuracy: if any characters are wrong, regenerate that slide with:
- shorter quote blocks,
- âéååç¡®ï¼ä¸å¾æ¹åï¼ä¸å¾å¢å æ ç¹/ç©ºæ ¼â,
- simpler backgrounds.
- Engagement: add background scenes + textures + icon clusters, but keep them low-contrast.
Common failure fixes:
- Tool call fails/intermittent errors: retry after a short wait; keep prompt stable; reduce scene complexity only if repeats.
- Text too small: reduce bullet count; split into two slides; demand â大åå·ãèéè¡è·â.
- Too busy: force âèæ¯ä½å¯¹æ¯ãä» å³ä¾§ç»é¢ã左侧纯å颿¿â.
- Deck too dark: switch to
editorial-lightorairy-relaxed, disable vignette, force daylight scene IDs, and add brightness override. - Ratio mismatch: regenerate that slide with stricter 16:9 constraint in prompt; do not crop or otherwise post-process.
- Ensure both prompt text and tool-call config specify 16:9 in the same retry.
Operating mode (be patient; avoid âprobe imagesâ)
- Image generation can be slow. Prefer generating the real slides directly.
- Avoid generating test/probe images (e.g. blank backgrounds) unless the user explicitly asks for diagnostics.
- If an image call fails intermittently, retry the same slide prompt after a brief pause; do not change multiple variables at once.
- Default delivery mode is raw outputs: keep generated images as-is and assemble the PPT directly from them.
Tooling constraints (important)
Some image tools only allow writing output images to specific directories (often ~/Downloads or a workspace path). When blocked:
- Generate images into an allowed directory (e.g.
~/Downloads/<deck_id>/). - Copy images into the project/workspace output folder.
Bundled scripts
scripts/compose_style_pack_blocks.py
- Compose inherited style-pack blocks into one paste-ready bundle.
- Use before prompt writing to prevent style mismatch.
Run:
python3 scripts/compose_style_pack_blocks.py --pack-id editorial-light
scripts/create_style_pack.py
- Scaffold a new style pack folder with manifest + block templates.
- Use when existing packs are not enough and you need fast extension.
Run:
python3 scripts/create_style_pack.py --pack-id warm-minimal --display-name "Warm Minimal" --keywords "温æ,平衡" --scene-tags "warm,clean"
scripts/build_images_only_pptx.py
- Assemble an images-only PPTX by concatenating
slide*.pngfull-screen in filename order. - Use when the user wants âPPT = concatenated imagesâ, with no PPT text boxes.
Dependencies (install if missing):
python3 -m pip install python-pptx
Run:
python3 scripts/build_images_only_pptx.py --images-dir /path/to/slides --out /path/to/deck.pptx
References
- Read
references/prompt_template.mdwhen you need a high-detail prompt skeleton that produces the ârich background infographicâ style reliably. - Read
references/style-pack-system.mdfor composition rules and how to add new style packs. - Read
references/style-pack-catalog.mdfor intent-to-style routing and pack selection. - Read
references/style-packs/for self-contained style definitions. - Read
references/style_profile_library.mdfor legacy style aliases (backward compatibility). - Read
references/deep_research_handoff_mapping.mdto normalize upstreamslide_extraction.mdfields fromdeep-research-article. - Read
references/scene-catalog.mdfor reusable scene IDs and tags. - Read
references/scene-preset-library.mdfor ready-to-paste scene visual blocks. - Read
references/scene-entry-template.mdwhen adding new scene IDs to the catalog. - Read
references/scene_library.mdto quickly add âåºæ¯å/çµå½±æâ elements (locations + props) without making the slide messy. - Read
references/layout_library.mdto choose a layout that matches your text density (so slides stay readable). - Read
references/shot_mood_library.mdfor cinematic shot + lighting + time-of-day presets. - Read
references/motif_pack.mdto make the whole deck feel like a single cohesive series. - Read
references/deck_consistency_block.mdto lock margins/light direction/texture/icon style across the whole deck. - Read
references/typography_spacing_lock.mdto prevent tiny text and keep spacing consistent. - Read
references/text_fidelity_block.mdto reduce Chinese typos and forbid any extra words. - Read
references/negative_prompt_block.mdto avoid common generator artifacts (watermarks/English/UI). - Read
references/storyboard_library.mdto give the whole deck a narrative arc. - Read
references/chinese_quote_compression.mdto split long quotes without paraphrasing (keeps fonts large).