pptx-penfick
/pptx-penfick
Generate PowerPoint decks from a structured JSON outline (page-by-page types, titles, bullets). Use when the user asks to create, build, or export a PPT/PPTX/ 演示文稿/幻灯片/deck/presentation. CLI: pptx-penfick (alias pptskill). Produces local .pptx plus structural QA. Does not invent logos or real product photos.
Assessment and security
- Files in this package
- 37
- Scripts
- 29
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 20.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 29 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: src/pptskill/__init__.py, src/pptskill/assets.py, src/pptskill/brand_extract.py, src/pptskill/charts.py, src/pptskill/cli.py, src/pptskill/content_check.py, src/pptskill/contrast.py, src/pptskill/export_png.py
What it does and when to use it
Generate PowerPoint decks from a structured JSON outline (page-by-page types, titles, bullets). Use when the user asks to create, build, or export a PPT/PPTX/ 演示文稿/幻灯片/deck/presentation. CLI: pptx-penfick (alias pptskill). Produces local .pptx plus structural QA. Does not invent logos or real product photos.
Original author description
Generate PowerPoint decks from a structured JSON outline (page-by-page types, titles, bullets). Use when the user asks to create, build, or export a PPT/PPTX/ 演示文稿/幻灯片/deck/presentation. CLI: pptx-penfick (alias pptskill). Produces local .pptx plus structural QA. Does not invent logos or real product photos.
How it works
- Iron laws (follow every deck job)
- Workflow
- CLI reference
- Out of scope
SKILL.md preview
--- name: pptx-penfick description: > Generate PowerPoint decks from a structured JSON outline (page-by-page types, titles, bullets). Use when the user asks to create, build, or export a PPT/PPTX/ 演示文稿/幻灯片/deck/presentation. CLI: pptx-penfick (alias pptskill). Produces local .pptx plus structural QA. Does not invent logos or real product photos. --- # pptx-penfick Deterministic PPT renderer: **JSON outline → `.pptx` + QA**. Agent owns research and outline content; CLI owns layout, CJK fonts, and validity. > CLI command: **`pptx-penfick`** (alias `pptskill` if installed that way). Requires the CLI package installed (see skill README). ## Iron laws (follow every deck job) 1. **Output only under the current project/workspace** (`cwd` or the project the user named). Never `%USERPROFILE%` / Desktop unless the user asks. 2. **User materials first** — if facts/structure/numbers are provided, do **not** web-search; fill gaps by asking one question or marking 示意. 3. **Never copy facts/numbers/segments/people from example outlines** into another topic. **Do not open `examples/` during generation jobs** when you already know the schema. 4. **Before render**: `pptx-penfick validate` then `pptx-penfick content-check` (use `--expect-pages` when the user asked for N pages; `--allow` only if the topic truly includes a deny term). 5. **Deliver the `.pptx`**: say `PPT 已生成` + absolute path + one-line summary; call `present_files` (or attach) with the `.pptx` first if the host has it. Never end on outline/QA only. 6. If you cannot inspect PNGs, still run `qa --visual` and say **「仅结构/几何 QA,未做像素级目检」** in the reply. ## Workflow 1. **Clarify** topic, page count, audience, language, theme (发布会→dark-keynote;汇报→light-corporate;课件→education-blue;路演→pitch-green). 2. **Output dir** under the project: `<project>/<slug>/` (outline, assets, qa, pptx). 3. **Research policy**: materials first (Iron laws). Unverified numbers → 示意. 4. **Draft outline JSON** — one thesis per slide; prefer `chart`/`image_text`/`compare`/`kpi`; every slide `notes`. 5. **Assets** (if `image_text`): local files → `pptx-penfick assets import …` → `assets check`. 6. **Validate + content-check**: ``` pptx-penfick validate outline.json pptx-penfick content-check outline.json --expect-pages 15 ``` 7. **Render**: `pptx-penfick render outline.json -o <path>.pptx` (optional `--ensure-contrast`). 8. **QA**: `pptx-penfick qa out.pptx --visual --json qa-report.json` then `export-png` if needed; `update-slide` to fix. 9. **Deliver** per Iron law 5. ### Slide types (summary) `cover` · `agenda` · `section` · `title_body` · `two_col` · `timeline` · `data_cards` · `chart` · `image_text` · `compare` · `kpi` · `quote` · `closing` Themes: `dark-keynote` · `light-corporate` · `education-blue` · `pitch-green` · `minimal-mono` · `finance-navy` · `warm-editorial` Custom theme JSON / per-slide `theme` / `theme_tokens` / logo extract / `theme fix` — see CLI: `pptx-penfick --help`, `pptx-penfick themes`. ## CLI reference ``` pptx-penfick validate <outline.json> pptx-penfick content-check <outline.json> [--expect-pages N] [--allow terms] pptx-penfick render <outline.json> -o out.pptx [--theme …] [--ensure-contrast] pptx-penfick qa <out.pptx> [--visual] [--json report.json] pptx-penfick export-png <out.pptx> --out-dir qa/ pptx-penfick update-slide <outline.json> --index N --patch patch.json pptx-penfick assets check|import … pptx-penfick theme extract|fix … pptx-penfick themes ``` Exit codes: `0` ok · `2` schema · `3` render/export · `4` QA / content-check failed. MCP: `pptskill-mcp` / `python -m pptskill.mcp_server`. ## Out of scope - CLI image download/generation (agent may fetch then `assets import`) - Vision auto-fix loop - In-place edit of existing `.pptx`
Files in this package (37)
- README.md 2 KB
- SKILL.md 4 KB
- pyproject.toml 1 KB
- uv.lock 70 KB
- examples/brand_theme.json 1 KB
- examples/mixed_deck.json 4 KB
- examples/nvidia_outline.json 4 KB
- examples/assets/sample.jpg 147 KB
- src/pptskill/__init__.py 1 KB
- src/pptskill/assets.py 2 KB
- src/pptskill/brand_extract.py 5 KB
- src/pptskill/charts.py 3 KB
- src/pptskill/cli.py 12 KB
- src/pptskill/content_check.py 4 KB
- src/pptskill/contrast.py 4 KB
- src/pptskill/export_png.py 4 KB
- src/pptskill/fonts.py 1 KB
- src/pptskill/images.py 2 KB
- src/pptskill/mcp_server.py 6 KB
- src/pptskill/qa.py 3 KB
- src/pptskill/render.py 2 KB
- src/pptskill/schema.py 7 KB
- src/pptskill/theme.py 9 KB
- src/pptskill/update.py 2 KB
- src/pptskill/visual_qa.py 2 KB
- src/pptskill/layouts/__init__.py 13 KB
- src/pptskill/layouts/base.py 3 KB
- tests/test_brand_extract.py 3 KB
- tests/test_charts.py 2 KB
- tests/test_content_check.py 2 KB
- tests/test_extra_layouts.py 1 KB
- tests/test_images.py 2 KB
- tests/test_r3.py 3 KB
- tests/test_r6.py 2 KB
- tests/test_render_smoke.py 3 KB
- tests/test_schema.py 3 KB
- tests/test_themes.py 2 KB
Versions
The database has no other skills named pptx-penfick.
Database snapshot: 13.11.2026 · package version 1ad3ad559e4c (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100deck-pptx
Build an editable PowerPoint (.pptx) presentation from a topic or an outline. Use it when the user asks for a deck, slides or a presentation and wants a .pptx file they can open and edit. - 95gorden-ppt-skill
用 21 套内置中文 PPT 模板(或用户自带的 .pptx 模板)生成与编辑 PowerPoint 演示文稿:只替换文字、不破坏原排版/配色/字号,内置按文本框尺寸的出框检测与同级标题字号一致校验;也支持完全原创的简洁版式。当用户要"做 / 生成 / 制作 / 编辑一份 PPT / 演示文稿 / 幻灯片 / .pptx",或需要工作汇报、年终与季度总结、述职竞聘、项目复盘、开题答辩、商务提案、教学课件、数据可视化等成品 PPTX 时使用。Use when the user wants to create or edit a PowerPoint /… - 100powerpoint
Create professional PowerPoint presentations. Use when asked to "create a PowerPoint", "make a presentation", "build slides", or generate pptx files. - 100pptx
Read, create, or edit PowerPoint .pptx decks — build slides from an outline, extract slide text/speaker notes, edit shapes/tables/charts, replace images, or export to PDF/images. Use whenever a .pptx (or .ppt) file is an input or output, or the user mentions a deck, slides, or a presentation. - 98ppt
Create and export PPTX decks using the local HTML/JS PPT framework in `D:\SKILL\project\ppt`. Use this when you need to generate slides from a topic/outline, edit slide content via `projects/*.js`, preview as HTML, or export a `.pptx` without relying on an existing template. - 100pptx
Create, read, edit, or combine PowerPoint (.pptx) decks, including layouts, notes, comments, and templates. Use when PowerPoint is an input or deliverable.