---
name: php186-skill-37611
description: "把营销提案 / 案例复盘 / 品牌方案的内容，装配成咨询风（agency 风）的多页 PPT。 输入：品牌名 / logo / 配色（可选，缺省用内置主题）+ 提案故事线、数据、图片素材。 输出：/slides/ 下每页一个 960×540 的 HTML 幻灯片 + 渲染好的 dist/deck.pdf 和 dist/png/ 逐页 PNG。11 种页型（封面、公司介绍、时间线、章节页、概念图、流程图、 数据分析、双栏策略、效果结果、排期矩阵、报价表）各有固定生成菜谱，结构稳定不跑偏； 品牌层（theme.json）可整体换肤。适用边界：适合多页营销提案 / 案例 / 复盘类 deck； 只做一页零散幻灯片或非营销文档属于大材小用；渲染需本机装有 Chrome。 Use when the user wants a marketing proposal deck, campaign case-study deck, brand pitch, or says \"做个提案PPT\" / \"营销案例deck\" / \"案例复盘\" / \"品牌方案\" / \"make a pitch"
---

# 咨询风商业提案 PPT 工厂

## zixun-ppt-gongchang — 咨询风商业提案 PPT 工厂

 

This skill builds agency-style marketing decks as **HTML slides** (960×540, 16:9) that render to **PDF + PNG** with headless Chrome. The visual language is a classic consulting/agency proposal style: header bar + slash mark, gradient pills, dark boxes, photo-wall covers, formal tables.

 

**Core idea:** every slide is one of a small set of **page types**. Each page type has a **fixed generation recipe** in ` references/pages/<type>.md ` — a structure contract + an HTML template + the rules for filling it. You (the agent) act as the *orchestrator*: map the user's content onto page types, then run each page through its recipe. The brand (logo, colors, fonts) is a swappable layer in ` theme.json ` — change it once, re-skin the whole deck.

 

## When to use

 

The user wants to produce a multi-page marketing **proposal / case-study / campaign** deck. If they just want one generic slide or a non-marketing document, this is overkill — say so and suggest a lighter tool.

 

## Page-type catalog (the taxonomy)

 

| Page type | Recipe | Fixity | Use it for |
| --- | --- | --- | --- |
| Cover / Closing | ` cover.md ` | 🔒 fixed | Title page + thank-you page (shared photo-wall template) |
| Company intro | ` company-intro.md ` | 🔒 fixed | Who we are + capability/tool logo walls |
| Timeline | ` timeline.md ` | 🔶 semi | Year-by-year history / roadmap (N columns) |
| Section divider | ` section-divider.md ` | 🔒 fixed | Case/chapter opener (big title + product image) |
| Concept diagram | ` concept-diagram.md ` | 🌀 flexible | Two-entity mechanism (A ↔ B data/flow loop) |
| Process flow | ` process-flow.md ` | 🔶 semi | Horizontal step pipeline + callouts + footnotes |
| Data analysis | ` data-analysis.md ` | 🔒 fixed | Header + title + 2 charts + conclusion |
| Two-column | ` two-column.md ` | 🔶 semi | Strategy/method page; 2 pill sections + widget library (table / circles / matching-diagram / phone mockups / formula) |
| Results | ` results.md ` | 🔒 fixed | Effectiveness: metric labels + highlighted numbers |
| Schedule matrix | ` schedule-matrix.md ` | 🔒 fixed | Project timeline as row-labels × phase-columns grid |
| Quotation table | ` quotation-table.md ` | 🔒 fixed | Formal cost/quotation table |

 

🔒 fixed = fill the template, no freelancing. 🔶 semi = fixed skeleton + a small choice of content widgets. 🌀 flexible = fixed component kit + layout rules, you compose the diagram.

 

A typical full deck order: **Cover → Company intro → Timeline → Concept diagram → Process flow → Section divider → Data analysis → Two-column (strategy) → Two-column (method) → Results → Schedule matrix → Quotation → Closing.** Drop/duplicate page types to fit the actual content.

 

## Workflow (follow in order)

 

1. **Read the design system once.** Read ` references/design-system.md ` so you reuse the shared components (header bar, pill, photo-wall, tables, boxes) and theme variables instead of inventing styles.
2. **Gather the brief.** Brand (name, logo, colors), the campaign story, the data, any real photos/logos. Ask only for what's missing. If the user has no assets, the templates degrade gracefully to clean placeholders.
3. **Configure the theme.** Copy ` theme.json ` into the project and edit brand/colors/ fonts/logo. (Keep the bundled defaults if the user has no brand requirements.)
4. **Outline the deck.** Produce an ordered list mapping each piece of content → a page type from the catalog. Confirm the outline with the user before building.
5. **Build each slide.** For every slide, open its ` references/pages/<type>.md `, follow the recipe, and write ` <project>/slides/NN-<type>.html ` (NN = 2-digit order). Use the exact file scaffold the recipe shows (links ` ../assets/... `, slide wrapped in ` <!--SLIDE-->…<!--/SLIDE--> `).
6. **Render.** Run the build (see below). Then **read the PNGs** in ` dist/png/ ` and QA each page: nothing overflows 960×540, hierarchy matches the recipe, colors on-theme. Fix and re-render until clean.

 

## Build / render

 

```
python3 <skill_dir>/assets/build.py <project_dir> --png
```

 

` <skill_dir> ` = the directory this skill is installed in (the folder containing this SKILL.md). The script is self-contained — no dependencies beyond Python 3 stdlib.

 

This copies ` assets/ ` into the project, generates ` assets/_theme.css ` from ` theme.json `, assembles ` <project>/deck.html `, and renders ` <project>/dist/deck.pdf ` + ` <project>/dist/png/NN.png `. Requires Google Chrome (override path with ` $CHROME `). Drop ` --png ` for PDF only; add ` --no-pdf ` for PNG only.

 

See ` references/workflow.md ` for the project layout, the ` deck.json ` content manifest convention, supplying real images, and re-skinning for a new brand.

 

## Hard rules

 

- The canvas is **exactly 960×540 px**. Everything lives inside one ` .slide `. Never let content overflow — QA the PNGs.
- **Reuse components** from ` assets/components.css `; only add page-local ` <style> ` for unique positioning. Pull every color from theme variables (` var(--ink) `, ` var(--accent) `, …) so re-skinning works.
- Match the **recipe's structure and hierarchy**. Fixed pages are fill-in-the-blank.
- One slide per file in ` slides/ `, named ` NN-<type>.html `, in display order.

 

## Templates

 

Every recipe in ` references/pages/ ` embeds its complete, verified HTML template inline — copy the scaffold from the recipe, fill the slots, and stay faithful to its class names and structure.
