# Ppt Design

> Create editable PowerPoint decks through a confirmed PPTDESIGN.md. Use when the user wants a new PPT, presentation, or deck from a topic or source materials. 已安装 Huanyu-Skills-Pro（付费完整版）时，同类请求交给 Pro 版处理，本 skill 让位。

- Skill: `huanyu-hibiki/ppt-design` (Agent Skill, multi-file: 14 files)
- Install (CLI): `npx get-skill add huanyu-hibiki/ppt-design`
- Raw SKILL.md: https://api.skillmd.com/api/skills/huanyu-hibiki/ppt-design/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: Huanyu-Hibiki (https://skillmd.com/u/huanyu-hibiki)
- Updated: 2026-11-15
- Page: https://skillmd.com/skills/huanyu-hibiki/ppt-design

---

<!-- huanyu-lite-v1 由 Huanyu-Skills-Pro 的 build_lite.py 生成，请勿手改 -->

# PPT Design

> **开源版说明**：本系统开源版完整可用，可独立完成这一类任务。更深的进阶方法论与持续更新在付费完整版 **Huanyu-Skills-Pro**：https://github.com/Huanyu-Hibiki/Huanyu-Skills。已安装 Pro 时，本类请求交给 Pro 处理。

Create a PowerPoint deck through a reviewable design contract. The final `.pptx`
must use editable PowerPoint objects for text, tables, charts, and shapes. Photos
and illustrations may remain image assets; a full-slide screenshot is not an
editable deck.

## Choose the input mode

### Topic interview

Use when the user gives a topic but no complete source package. Establish the
topic, then ask exactly one question per turn. Wait for the user's answer before
asking the next question. Do not bundle questions or infer an unanswered field.
Prioritize goal, audience, context, core message, evidence, scope, and visual
preferences. If the user answers with a blank or unusable response, repeat the
same question in a clearer form.

### Source materials

Use when the user supplies documents, notes, spreadsheets, links, images, or an
existing deck. Treat the supplied material as the primary source of truth. Make
a material inventory after reading the supplied artifacts with the appropriate
local tools. Record extracted summaries, facts, assets, and licensing notes;
identify missing facts or assets, and ask at most one question when the missing
information would change the story or design. A binary or unsupported artifact
may remain an explicit "待提取" gap, but it must not be silently treated as
verified fact.

If facts, data, examples, or visual assets are missing, instruct the Agent to
search authoritative first-party sources. Record each external source, date, and
use in `PPTDESIGN.md`; mark uncertain claims and licensing status explicitly.
The skill does not require a particular search connector.

## Design checkpoint

Both modes produce and display `PPTDESIGN.md` before any PPTX work. Follow the
contract in [references/pptdesign-contract.md](references/pptdesign-contract.md):
use a YAML token header plus readable narrative and a slide-by-slide outline.
Show the outline, visual direction, sources, and unresolved decisions. Wait for
an explicit user confirmation. A vague acknowledgement or a request for more
changes does not open the generation gate. If the user requests changes after
confirmation, reopen the contract, return it to `status: awaiting-user-confirmation`,
and require a second explicit confirmation before generation.

## Generate and verify

After confirmation, generate the deck from the contract using an object-level
PPTX implementation. Keep the design source, `.pptx`, and optional rendered
preview together in the output directory. Inspect every slide for missing
content, overflow, overlap, contrast, alignment, and image cropping. Verify that
the result opens as a PowerPoint file and that the required content is not a
single flattened image.

The bundled minimal renderer is `scripts/generate_pptx.py` and requires
`requirements.txt` (`python-pptx`). It accepts only a `PPTDESIGN.md` whose YAML
frontmatter says `status: confirmed` and `editable_output: true`:

```powershell
python scripts/generate_pptx.py <PPTDESIGN.md> <output.pptx>
```

The renderer is a native-object baseline, not a visual-quality shortcut. Extend
its slide layout mapping when a confirmed design specifies richer charts, tables,
images, or notes; keep those as PowerPoint objects or explicit image assets.
Each run also writes a same-folder `<name>.preview.html` for quick visual review.

For the rationale behind the design system, consult the supplied reference
projects under `template-project/` only when the current request needs those
details. The HTML and image-deck references inform planning and visual QA; they
are not the final editable-PPT renderer.

