Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

docs: streamline READMEs and move detailed content to docs/

hugohe3f30cc2f47dd7
diff --git a/README.md b/README.md
index 7e52ab2a..a85629e6 100644
--- a/README.md
+++ b/README.md
@@ -7,135 +7,44 @@
English | [中文](./README_CN.md)
-Drop in a PDF, DOCX, URL, or Markdown file — AI generates **natively editable PowerPoint presentations with real shapes**, not images. Every text box, chart, and graphic is a real PowerPoint object you can click and edit. Supports PPT 16:9, social media cards, marketing posters, and 10+ other formats.
+Drop in a PDF, DOCX, URL, or Markdown — get back a **natively editable PowerPoint** with real shapes, real text boxes, and real charts. Not images. Click anything and edit it.
-> 🔥 **NEW: Native Editable PPTX** — Generated presentations now contain **real PowerPoint shapes** (DrawingML) by default — text, charts, and graphics are directly editable in PowerPoint without any extra steps. No more "Convert to Shape"!
->
-> 💡 **Architecture Update**: The project uses a Skill-based architecture:
-> 1. **Lower Token Consumption & Model Dependency**: Significantly reduced token consumption. Now, even non-Opus models can generate decent results.
-> 2. **High Extensibility**: The `skills` folder is organized according to the Agent Skills standard, with each subdirectory being a fully self-contained Skill. It can be natively invoked by dropping it into the skills directory of compatible AI clients (e.g., `.claude/skills/` or `~/.claude/skills/` for Claude Code; global skills directory referenced via `.agent/workflows/` for Antigravity; `.github/skills/` or `~/.copilot/skills/` for GitHub Copilot).
-> 3. **Stable Fallback**:Although the previous multi-platform architecture consumes more tokens, it has been more extensively tested. If you experience instability with the current version, you can always fall back to the last release of the old architecture: [v1.3.0](https://github.com/hugohe3/ppt-master/tree/v1.3.0).
+**What makes it different:**
-> **Online Examples**: [GitHub Pages Preview](https://hugohe3.github.io/ppt-master/) — See actual generated results
+- Every element is a real PowerPoint object (DrawingML) — no "Convert to Shape" needed
+- Works with Claude Code, Cursor, VS Code Copilot, and other AI editors
+- 10+ output formats: PPT 16:9, social media cards, marketing posters, and more
+- Low cost — as little as **$0.08 per presentation** with VS Code Copilot; even non-Opus models produce decent results
-> 🎨 **Design Philosophy — AI as Your Designer, Not Your Finisher**
->
-> The generated PPTX is a **design draft**, not a finished product. Think of it like an architect's rendering: the AI handles visual design, layout, and content structure — delivering a high-quality starting point. For truly polished results, **expect to do your own finishing work** in PowerPoint: swapping shapes, refining charts, adjusting colors, replacing placeholder graphics with native objects. The goal is to eliminate 90% of the blank-page work, not to replace human judgment in the final mile. Don't expect one AI pass to do everything — that's not how good presentations are made.
->
-> **A tool's ceiling is your ceiling.** PPT Master amplifies the skills you already have — if you have a strong sense of design and content, it helps you execute faster. If you don't know what a great presentation looks like, the tool won't know either. The output quality is ultimately a reflection of your own taste and judgment.
+**[See live examples](https://hugohe3.github.io/ppt-master/)** · [`examples/`](./examples/) — 15 projects, 229 pages
----
-
-## 🎴 Featured Examples
-
-> **Example Library**: [`examples/`](./examples/) · **15 projects** · **229 pages**
-
-| Category | Project | Pages | Features |
-| -------- | ------- | :---: | -------- |
-| 🏢 **Consulting Style** | [Attachment in Psychotherapy](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E5%BF%83%E7%90%86%E6%B2%BB%E7%96%97%E4%B8%AD%E7%9A%84%E4%BE%9D%E6%81%8B) | 32 | Top consulting style, largest scale example |
-| | [Building Effective AI Agents](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E6%9E%84%E5%BB%BA%E6%9C%89%E6%95%88AI%E4%BB%A3%E7%90%86_Anthropic) | 15 | Anthropic engineering blog, AI Agent architecture |
-| | [Chongqing Regional Report](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E9%87%8D%E5%BA%86%E5%B8%82%E5%8C%BA%E5%9F%9F%E6%8A%A5%E5%91%8A_ppt169_20251213) | 20 | Regional fiscal analysis |
-| | [Ganzi Prefecture Economic Analysis](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E7%94%98%E5%AD%9C%E5%B7%9E%E7%BB%8F%E6%B5%8E%E8%B4%A2%E6%94%BF%E5%88%86%E6%9E%90) | 17 | Government fiscal analysis, Tibetan cultural elements |
-| 🎨 **General Flexible** | [Debug Six-Step Method](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%80%9A%E7%94%A8%E7%81%B5%E6%B4%BB%2B%E4%BB%A3%E7%A0%81_debug%E5%85%AD%E6%AD%A5%E6%B3%95) | 10 | Dark tech style |
-| | [Chongqing University Thesis Format](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%80%9A%E7%94%A8%E7%81%B5%E6%B4%BB%2B%E5%AD%A6%E6%9C%AF_%E9%87%8D%E5%BA%86%E5%A4%A7%E5%AD%A6%E8%AE%BA%E6%96%87%E6%A0%BC%E5%BC%8F%E6%A0%87%E5%87%86) | 11 | Academic standards guide |
-| ✨ **Creative Style** | [I Ching Qian Hexagram Study](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E6%98%93%E7%90%86%E9%A3%8E_%E5%9C%B0%E5%B1%B1%E8%B0%A6%E5%8D%A6%E6%B7%B1%E5%BA%A6%E7%A0%94%E7%A9%B6) | 20 | I Ching aesthetics, Yin-Yang design |
-| | [Diamond Sutra Chapter 1 Study](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E7%A6%85%E6%84%8F%E9%A3%8E_%E9%87%91%E5%88%9A%E7%BB%8F%E7%AC%AC%E4%B8%80%E5%93%81%E7%A0%94%E7%A9%B6) | 15 | Zen academic, ink wash whitespace |
-| | [Git Introduction Guide](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E5%83%8F%E7%B4%A0%E9%A3%8E_git_introduction) | 10 | Pixel retro game style |
-
-📖 [View Complete Examples Documentation](./examples/README.md)
+| | Project | Pages | Style |
+|---|---------|:-----:|-------|
+| 🏢 | [Attachment in Psychotherapy](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E5%BF%83%E7%90%86%E6%B2%BB%E7%96%97%E4%B8%AD%E7%9A%84%E4%BE%9D%E6%81%8B) | 32 | Top consulting |
+| 🎨 | [Debug Six-Step Method](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%80%9A%E7%94%A8%E7%81%B5%E6%B4%BB%2B%E4%BB%A3%E7%A0%81_debug%E5%85%AD%E6%AD%A5%E6%B3%95) | 10 | Dark tech |
+| ✨ | [I Ching Hexagram Study](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E6%98%93%E7%90%86%E9%A3%8E_%E5%9C%B0%E5%B1%B1%E8%B0%A6%E5%8D%A6%E6%B7%B1%E5%BA%A6%E7%A0%94%E7%A9%B6) | 20 | I Ching aesthetics |
---
-## 🏗️ System Architecture
-
-```
-User Input (PDF/DOCX/URL/Markdown)
- ↓
-[Source Content Conversion] → pdf_to_md.py / doc_to_md.py / web_to_md.py
- ↓
-[Create Project] → project_manager.py init <project_name> --format <format>
- ↓
-[Template Option] A) Use existing template B) No template
- ↓
-[Need New Template?] → Use /create-template workflow separately
- ↓
-[Strategist] - Eight Confirmations & Design Specifications
- ↓
-[Image_Generator] (When AI generation is selected)
- ↓
-[Executor] - Two-Phase Generation
- ├── Visual Construction Phase: Generate all SVG pages → svg_output/
- └── Logic Construction Phase: Generate complete speaker notes → notes/total.md
- ↓
-[Post-processing] → total_md_split.py (split notes) → finalize_svg.py → svg_to_pptx.py
- ↓
-Output: Two files are generated automatically:
- ├── presentation.pptx ← Native shapes (DrawingML) — recommended for editing & delivery
- └── presentation_svg.pptx ← SVG reference version — pixel-perfect visual reference; use
- "Convert to Shape" in PowerPoint to unlock individual elements
-```
-
-### 📚 Documentation Navigation
-
-| Document | Description |
-|----------|-------------|
-| 🧭 [AGENTS.md](./AGENTS.md) | Repository-level entry overview for general AI agents |
-| 📖 [SKILL.md](./skills/ppt-master/SKILL.md) | Canonical `ppt-master` workflow and rules |
-| 📐 [Canvas Formats](./skills/ppt-master/references/canvas-formats.md) | PPT, Xiaohongshu (RED), WeChat Moments, and 10+ formats |
-| 🖼️ [Image Embedding Guide](./skills/ppt-master/references/svg-image-embedding.md) | SVG image embedding best practices |
-| 📊 [Chart Template Library](./skills/ppt-master/templates/charts/) | Standardized chart templates |
-| 🔧 [Role Definitions](./skills/ppt-master/references/) | Role definitions and technical references |
-| 🛠️ [Toolset](./skills/ppt-master/scripts/README.md) | Script index and high-frequency commands |
-| ↳ [Conversion Docs](./skills/ppt-master/scripts/docs/conversion.md) | PDF / DOCX / web conversion tools |
-| ↳ [Project Docs](./skills/ppt-master/scripts/docs/project.md) | Project init, validation, and indexing |
-| ↳ [SVG Pipeline Docs](./skills/ppt-master/scripts/docs/svg-pipeline.md) | Finalize, validate, notes, and PPTX export |
-| ↳ [Image Docs](./skills/ppt-master/scripts/docs/image.md) | Image generation and image analysis tools |
-| ↳ [Troubleshooting Docs](./skills/ppt-master/scripts/docs/troubleshooting.md) | Validation, preview, export, and dependency issues |
-| 💼 [Examples Index](./examples/README.md) | 15 projects, 229 SVG pages of examples |
-
----
-
-## 🚀 Quick Start
-
-### 1. Configure Environment
-
-#### Python Environment (Required)
-
-This project requires **Python 3.8+** for running PDF conversion, SVG post-processing, PPTX export, and other tools.
-
-| Platform | Recommended Installation |
-|----------|-------------------------|
-| **macOS** | Use [Homebrew](https://brew.sh/): `brew install python` |
-| **Windows** | Download installer from [Python Official Website](https://www.python.org/downloads/) |
-| **Linux** | Use package manager: `sudo apt install python3 python3-pip` (Ubuntu/Debian) |
-
-> 💡 **Verify Installation**: Run `python3 --version` to confirm version ≥ 3.8
+## Quick Start
-#### Node.js Environment (Optional)
+### 1. Install
-If you need to use the `web_to_md.cjs` tool (for converting web pages from WeChat and other high-security sites), install Node.js.
+**Required:** Python 3.8+ · **Optional:** [Node.js](https://nodejs.org/) 18+ (for WeChat page conversion) · [Pandoc](https://pandoc.org/) (for DOCX/EPUB conversion)
-| Platform | Recommended Installation |
-|----------|-------------------------|
-| **macOS** | Use [Homebrew](https://brew.sh/): `brew install node` |
-| **Windows** | Download LTS version from [Node.js Official Website](https://nodejs.org/) |
-| **Linux** | Use [NodeSource](https://github.com/nodesource/distributions): `curl -fsSL https://deb.nodesource.com/setup_lts.x \| sudo -E bash - && sudo apt-get install -y nodejs` |
-
-> 💡 **Verify Installation**: Run `node --version` to confirm version ≥ 18
-
-#### Pandoc (Optional)
-
-If you need to use the `doc_to_md.py` tool (for converting DOCX, EPUB, LaTeX, and other document formats to Markdown), install [Pandoc](https://pandoc.org/).
-
-| Platform | Recommended Installation |
-|----------|-------------------------|
-| **macOS** | Use [Homebrew](https://brew.sh/): `brew install pandoc` |
-| **Windows** | Download installer from [Pandoc Official Website](https://pandoc.org/installing.html) |
-| **Linux** | Use package manager: `sudo apt install pandoc` (Ubuntu/Debian) |
+```bash
+# macOS
+brew install python
+brew install node # optional — for WeChat page conversion
+brew install pandoc # optional — for DOCX/EPUB conversion
-> 💡 **Verify Installation**: Run `pandoc --version` to confirm it is installed
+# Ubuntu/Debian
+sudo apt install python3 python3-pip
+sudo apt install nodejs npm # optional
+sudo apt install pandoc # optional
-### 2. Clone Repository and Install Dependencies
+# Windows — download from python.org, nodejs.org, pandoc.org
+```
```bash
git clone https://github.com/hugohe3/ppt-master.git
@@ -143,349 +52,92 @@ cd ppt-master
pip install -r requirements.txt
```
-> If you encounter permission issues, use `pip install --user -r requirements.txt` or install in a virtual environment.
-
-### 2.1 Daily Update (Recommended)
-
-If you only want to pull the latest code and sync Python dependencies, run:
-
-```bash
-python3 skills/ppt-master/scripts/update_repo.py
-```
-
-This command will:
-
-- Run `git pull --ff-only`
-- Run `pip install -r requirements.txt` only when `requirements.txt` changed
-- Keep local ignored files such as `.env`
-
-Notes:
-
-- The script stops when tracked local changes are present, so local edits do not get mixed into the update flow
-- System dependencies such as `Node.js` and `Pandoc` still need to be installed manually
-- If you want to skip Python dependency sync, use `python3 skills/ppt-master/scripts/update_repo.py --skip-pip`
-
-### 3. Open AI Editor
+To update later: `python3 skills/ppt-master/scripts/update_repo.py`
-Recommended AI editors:
+### 2. Pick an AI Editor
-| Tool | Rating | Description |
-| --------------------------------------------------- | :----: | ----------------------------------------------------------------------------- |
-| **[Claude Code](https://claude.ai/)** | ⭐⭐⭐ | **Highly Recommended**! Anthropic official CLI, native Opus support, largest context window |
-| Codebuddy IDE | ⭐⭐ | Great Chinese AI IDE, good support for local models like Kimi 2.5 and MiniMax 2.7 |
-| [Cursor](https://cursor.sh/) | ⭐⭐ | Mainstream AI editor, great experience but relatively expensive |
-| [VS Code + Copilot](https://code.visualstudio.com/) | ⭐⭐ | Microsoft official solution, cost-effective, but limited context window (200k, 35% reserved for output) |
-| [Antigravity](https://antigravity.dev/) | ⭐ | Free but very limited quota and unstable. Alternative only. |
+| Tool | Rating | Notes |
+|------|:------:|-------|
+| **[Claude Code](https://claude.ai/)** | ⭐⭐⭐ | Best results — native Opus, largest context |
+| [Cursor](https://cursor.sh/) / [VS Code + Copilot](https://code.visualstudio.com/) | ⭐⭐ | Good alternatives |
+| Codebuddy IDE | ⭐⭐ | Best for Chinese models (Kimi 2.5, MiniMax 2.7) |
-### 4. Start Creating
+### 3. Create
-Open the AI chat panel in your editor and describe what content you want to create:
+Open the AI chat panel and describe what you want:
```
-User: I have a Q3 quarterly report that needs to be made into a PPT
-
-AI: Sure. First we'll confirm whether to use a template; after that Strategist will
- continue with the eight confirmations and generate the design spec.
- [Template Option] [Recommended] B) No template
- [Strategist] 1. Canvas format: [Recommended] PPT 16:9
- [Strategist] 2. Page count: [Recommended] 8-10 pages
- ...
-```
-
-> 💡 **Model Recommendation**: Claude Opus works best, but most mainstream models today (like Kimi 2.5 and MiniMax 2.7, tested via Codebuddy IDE) can also generate decent results with only minor gaps in layout details. Due to the instability of Opus on some IDEs (like Antigravity), trying other stable AI clients is recommended.
-
-> 📝 **Post-Export Editing**: The default exported PPTX (`.pptx`) contains **native PowerPoint shapes** — text, graphics, and colors are directly editable, no extra steps needed. A second SVG reference file (`_svg.pptx`) is also generated; for that version, select the content in PowerPoint and use **"Convert to Shape"** to edit. Requires **Office 2016** or later.
-
-> 💡 **AI Lost Context?** Ask the AI to read `skills/ppt-master/SKILL.md` first; use `AGENTS.md` as the repository-level entry overview.
-
-### 5. AI Image Generation (Optional)
-
-The `image_gen.py` tool supports multiple providers, but the recommended set is intentionally kept small.
-
-- Core recommended: `gemini`, `openai`, `qwen`, `zhipu`, `volcengine`
-- Extended: `stability`, `bfl` (FLUX), `ideogram`
-- Experimental: `siliconflow`, `fal`, `replicate`
-
-To inspect the current support tiers in the CLI:
+You: I have a Q3 quarterly report that needs to be made into a PPT
-```bash
-python3 skills/ppt-master/scripts/image_gen.py --list-backends
+AI: Sure. Let's confirm the design spec:
+ [Template] B) No template
+ [Format] PPT 16:9
+ [Pages] 8-10 pages
+ ...
```
-Image generation accepts configuration from either of these sources:
-
-1. Current process environment variables
-2. Project-root `.env` file as a fallback
+The AI handles everything — content analysis, visual design, SVG generation, and PPTX export.
-Precedence:
-- Current process environment wins
-- `.env` only fills values that are not already present
+> **Output:** The `.pptx` file contains native shapes — directly editable. A second `_svg.pptx` reference file is also generated (use "Convert to Shape" in PowerPoint to edit). Requires Office 2016+.
-One rule is mandatory:
-- `IMAGE_BACKEND` must be set explicitly
+> **AI lost context?** Ask it to read `skills/ppt-master/SKILL.md`.
-The tool does **not** guess a provider from API keys, and it does **not** default to Gemini.
-
-#### Option A: Configure `.env`
+### 4. AI Image Generation (Optional)
```bash
-cp .env.example .env
+cp .env.example .env # then edit with your API key
```
-Edit the `.env` file with your configuration:
-
```env
-IMAGE_BACKEND=gemini
+IMAGE_BACKEND=gemini # required — must be set explicitly
GEMINI_API_KEY=your-api-key
GEMINI_MODEL=gemini-3.1-flash-image-preview
```
-> `.env` is already in `.gitignore` and will not be committed to the repository, so your keys stay safe.
-
-#### Option B: Use current process environment variables
-
-```bash
-export IMAGE_BACKEND=gemini
-export GEMINI_API_KEY=your-api-key
-export GEMINI_MODEL=gemini-3.1-flash-image-preview
-python3 skills/ppt-master/scripts/image_gen.py "abstract tech background"
-```
-
-This is useful for CI, containers, secret managers, and one-off local runs.
-
-Important:
-- The script reads the current process environment, not your shell startup files in the abstract
-- If a tool launches a non-interactive shell and your `~/.bashrc` or `~/.zshrc` is not sourced, those exports may not be visible
-- In that situation, `.env` is usually the more stable local choice
-
-> 💡 **Provider-specific config**: Put credentials and overrides in provider namespaces such as `GEMINI_API_KEY`, `GEMINI_MODEL`, `GEMINI_BASE_URL`, `OPENAI_API_KEY`, `QWEN_MODEL`, `ZHIPU_MODEL`, `VOLCENGINE_API_KEY`, and `REPLICATE_API_TOKEN`.
-
-> 💡 **No global image credentials**: `IMAGE_API_KEY`, `IMAGE_MODEL`, and `IMAGE_BASE_URL` are intentionally not supported. Use provider-specific variables only.
-
-> 💡 **Multi-provider setup**: You can keep multiple providers in one `.env` or environment, but `IMAGE_BACKEND` must explicitly select the active one.
-
-Example:
-
-```env
-IMAGE_BACKEND=zhipu
-
-GEMINI_API_KEY=your-gemini-key
-GEMINI_MODEL=gemini-3.1-flash-image-preview
-
-ZHIPU_API_KEY=your-zhipu-key
-ZHIPU_MODEL=glm-image
-```
-
-Switch providers by changing `IMAGE_BACKEND` only.
+Supported backends: `gemini` · `openai` · `qwen` · `zhipu` · `volcengine` · `stability` · `bfl` · `ideogram` · `siliconflow` · `fal` · `replicate`
-> 💡 **Recommendation**: Prefer the core backends unless you have a clear reason to use an extended or experimental provider.
+Run `python3 skills/ppt-master/scripts/image_gen.py --list-backends` to see tiers. Environment variables override `.env`. Use provider-specific keys (`GEMINI_API_KEY`, `OPENAI_API_KEY`, etc.) — global `IMAGE_API_KEY` is not supported.
-> 💡 **AI Image Generation Tip**: For AI-generated images, we recommend generating them in [Gemini](https://gemini.google.com/) and selecting **Download full size** for higher resolution. Gemini images have a star watermark in the bottom right corner, which can be removed using [gemini-watermark-remover](https://github.com/journey-ad/gemini-watermark-remover) or this project's `skills/ppt-master/scripts/gemini_watermark_remover.py`.
+> **Tip:** For best quality, generate images in [Gemini](https://gemini.google.com/) and select **Download full size**. Remove the watermark with `scripts/gemini_watermark_remover.py`.
---
-## 📁 Project Structure
-
-```text
-ppt-master/
-├── skills/
-│ └── ppt-master/ # Main skill source
-│ ├── SKILL.md # Main entry: workflow definition
-│ ├── workflows/ # Workflow entry files
-│ ├── references/ # Role definitions and specs
-│ ├── scripts/ # Tool scripts
-│ └── templates/ # Layouts, charts, icons
-├── examples/ # Example projects
-├── projects/ # User project workspace
-├── AGENTS.md # General AI agent entry
-└── CLAUDE.md # Dedicated Claude Code CLI entry
-```
-
----
+## Documentation
-## 🛠️ Common Commands
-
-```bash
-# Initialize project
-python3 skills/ppt-master/scripts/project_manager.py init <project_name> --format ppt169
-
-# Archive source materials into the project folder
-python3 skills/ppt-master/scripts/project_manager.py import-sources <project_path> <source_file_or_url...>
-
-# Note: files outside the workspace are copied by default; files already in the workspace are moved into sources/
-
-# PDF to Markdown
-python3 skills/ppt-master/scripts/pdf_to_md.py <PDF_file>
-
-# DOCX / Office documents to Markdown (requires pandoc)
-python3 skills/ppt-master/scripts/doc_to_md.py <DOCX_file>
-
-# Post-processing (run in order)
-python3 skills/ppt-master/scripts/total_md_split.py <project_path>
-python3 skills/ppt-master/scripts/finalize_svg.py <project_path>
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> -s final
-# Default: generates two files — native shapes (.pptx) + SVG reference (_svg.pptx)
-# Use --only native to skip SVG reference version
-# Use --only legacy to only generate SVG image version
-# Default transition: fade (0.5s). Disable with: -t none
-```
-
-> 📖 For script docs, start with [Tools Usage Guide](./skills/ppt-master/scripts/README.md), then jump to [Conversion](./skills/ppt-master/scripts/docs/conversion.md), [Project](./skills/ppt-master/scripts/docs/project.md), [SVG Pipeline](./skills/ppt-master/scripts/docs/svg-pipeline.md), [Image](./skills/ppt-master/scripts/docs/image.md), or [Troubleshooting](./skills/ppt-master/scripts/docs/troubleshooting.md)
-
----
-
-## 🎨 Create Custom Template
-
-Want to turn a PPT you love into a reusable template for PPT Master? Here's how:
-
-**Step 1 — Prepare Reference Material**
-
-The simplest path is still to prepare screenshots of the key page types from your reference PPT — cover page, table of contents, chapter divider, content page, and closing page. Save them as images in a single folder with clear, descriptive filenames (e.g., `cover.png`, `toc.png`, `chapter.png`, `content.png`, `closing.png`).
-
-If you already have the original `.pptx` template file, you can also provide it as a reference source. PPT Master can extract reusable background images, logos, theme colors, and font metadata from the PPTX first, then use those assets during template reconstruction. This is an internal preprocessing step — the visible `/create-template` workflow does not change.
-
-**Step 2 — Let AI Create the Template**
-
-Use an AI coding agent (Claude Code, Codex, etc.) and ask it to use the **PPT Master `/create-template` workflow** to convert your reference material into a template. In your prompt, provide:
-
-- The template's English name and Chinese name
-- The intended use case (e.g., government reports, premium consulting, product launches)
-- The desired visual effects and color palette to apply when this template is used
-- Whether to enable AI image generation
-
-**Step 3 — Wait for the Result**
-
-The AI agent will handle the rest — analyzing your screenshots, building the layout definitions, and registering the template so it appears as a selectable option in the PPT Master workflow.
-
-> 💡 **Tip**: The more specific you are about the style and use case, the better the generated template will match your expectations.
-
----
-
-## ❓ FAQ
-
-<details>
-<summary><b>Q: Can I edit the generated presentations?</b></summary>
-
-Yes! The default export (`.pptx`) produces **native PowerPoint shapes** — all text, graphics, and colors are directly editable in PowerPoint without any conversion. An SVG reference version (`_svg.pptx`) is also generated; for that file, select the content and use **"Convert to Shape"** to unlock editing. Requires **Office 2016** or later.
-
-</details>
-
-<details>
-<summary><b>Q: What's the difference between the three Executors?</b></summary>
-
-- **Executor_General**: General scenarios, flexible layout
-- **Executor_Consultant**: General consulting, data visualization
-- **Executor_Consultant_Top**: Top consulting (MBB level), 5 core techniques
-
-</details>
-
-<details>
-<summary><b>Q: Isn't using Claude too expensive?</b></summary>
-
-It depends on how you use it. If you're using a direct API or subscription quota, a single presentation may cost around **$5** — but compared to spending 1–2 days building a presentation manually, this is a reasonable trade-off.
-
-There are much cheaper options. **VS Code Copilot** at $10/month gives you 300 standard requests, which converts to roughly **100 premium (Opus-level) requests**. By default PPT Master has 2 confirmation rounds (template selection + eight confirmations), but if you specify "no template" upfront, it reduces to just **1 confirmation round — only 2 messages** (AI asks, you confirm). That means each presentation costs about **6 Opus requests** or **2 Sonnet requests**. At the $0.04 USD/request overage rate:
-
-| Model | Requests per PPT | Overage Cost |
-|-------|:-----------------:|:------------:|
-| Opus | ~6 | ~$0.24 USD |
-| Sonnet | ~2 | ~$0.08 USD |
-
-For a complete presentation, **$0.08–$0.24 USD** is not expensive at all.
-
-</details>
-
-<details>
-<summary><b>Q: Are the charts in the generated PPTX editable?</b></summary>
-
-Charts are rendered as **custom-designed SVG graphics** converted to native PowerPoint shapes — not Excel-driven chart objects. This gives them a polished, high-fidelity appearance that often looks better than default PowerPoint charts. However, the underlying data is not editable via PowerPoint's chart editor. If you need a live, data-driven chart (e.g., one you can update by editing a spreadsheet), you will need to manually replace it with a native PowerPoint chart after export.
-
-</details>
-
-> 📖 For more questions, see [SKILL.md](./skills/ppt-master/SKILL.md) and [AGENTS.md](./AGENTS.md)
-
----
-
-## 🔧 Technical Design
-
-**The pipeline: AI generates SVG → post-processing converts to DrawingML (PPTX).**
-
-The full flow breaks into three stages:
-
-**Stage 1 — Content Understanding & Design Planning**
-Source documents (PDF/DOCX/URL/Markdown) are converted to structured text. The Strategist role analyzes the content, plans the slide structure, and confirms the visual style, producing a complete design specification.
-
-**Stage 2 — AI Visual Generation**
-The Executor role generates each slide as an SVG file. The output of this stage is a **design draft**, not a finished product.
-
-**Stage 3 — Engineering Conversion**
-Post-processing scripts convert SVG to DrawingML. Every shape becomes a real native PowerPoint object — clickable, editable, recolorable — not an embedded image.
-
----
-
-**Why SVG?**
-
-SVG sits at the center of this pipeline. The choice was made by elimination.
-
-**Direct DrawingML generation** seems most direct — skip the intermediate format, have AI output PowerPoint's underlying XML. But DrawingML is extremely verbose; a simple rounded rectangle requires dozens of lines of nested XML. AI has far less training data for it than SVG, output is unreliable, and debugging is nearly impossible by eye.
-
-**HTML/CSS** is one of the formats AI knows best. But HTML and PowerPoint have fundamentally different world views. HTML describes a *document* — headings, paragraphs, lists — where element positions are determined by content flow. PowerPoint describes a *canvas* — every element is an independent, absolutely positioned object with no flow and no context. This isn't just a layout calculation problem; it's a structural mismatch. Even if you solved the browser layout engine problem (what Chromium does in millions of lines of code), an HTML `<table>` still has no natural mapping to a set of independent shapes on a slide.
-
-**WMF/EMF** (Windows Metafile) is Microsoft's own native vector graphics format and shares direct ancestry with DrawingML — the conversion loss would be minimal. But AI has essentially no training data for it, so this path is dead on arrival. Notably, even Microsoft's own format loses to SVG here.
-
-**SVG as embedded images** is the simplest path — render each slide as an image and embed it. But this destroys editability entirely: shapes become pixels, text cannot be selected, colors cannot be changed. No different from a screenshot.
-
-SVG wins because it shares the same world view as DrawingML: both are absolute-coordinate 2D vector graphics formats built around the same concepts:
-
-| SVG | DrawingML |
-|---|---|
-| `<path d="...">` | `<a:custGeom>` |
-| `<rect rx="...">` | `<a:prstGeom prst="roundRect">` |
-| `<circle>` / `<ellipse>` | `<a:prstGeom prst="ellipse">` |
-| `transform="translate/scale/rotate"` | `<a:xfrm>` |
-| `linearGradient` / `radialGradient` | `<a:gradFill>` |
-| `fill-opacity` / `stroke-opacity` | `<a:alpha>` |
-
-The conversion is a translation between two dialects of the same idea — not a format mismatch.
-
-SVG is also the only format that simultaneously satisfies every role in the pipeline: **AI can reliably generate it, humans can preview and debug it in any browser, and scripts can precisely convert it** — all before a single line of DrawingML is written.
+| | Document | Description |
+|---|----------|-------------|
+| 📖 | [SKILL.md](./skills/ppt-master/SKILL.md) | Core workflow and rules |
+| 📐 | [Canvas Formats](./skills/ppt-master/references/canvas-formats.md) | PPT 16:9, Xiaohongshu, WeChat, and 10+ formats |
+| 🛠️ | [Scripts & Tools](./skills/ppt-master/scripts/README.md) | All scripts and commands |
+| 💼 | [Examples](./examples/README.md) | 15 projects, 229 pages |
+| 🏗️ | [Technical Design](./docs/technical-design.md) | Architecture, design philosophy, why SVG |
+| ❓ | [FAQ](./docs/faq.md) | Cost, editing, custom templates |
---
-## 🤝 Contributing
-
-Contributions are welcome!
+## Contributing
-1. Fork this repository
-2. Create your branch (`git checkout -b feature/AmazingFeature`)
-3. Commit your changes (`git commit -m 'Add AmazingFeature'`)
-4. Push to the branch (`git push origin feature/AmazingFeature`)
-5. Open a Pull Request
+1. Fork → branch → commit → PR
-**Contribution Areas**: 🎨 Design templates · 📊 Chart components · 📝 Documentation · 🐛 Bug reports · 💡 Feature suggestions
-
----
+**Areas:** 🎨 Templates · 📊 Charts · 📝 Docs · 🐛 Bugs · 💡 Ideas
-## 📄 License
+## License
-This project is licensed under the [MIT License](LICENSE).
+[MIT](LICENSE)
-## 🙏 Acknowledgments
+## Acknowledgments
-- [SVG Repo](https://www.svgrepo.com/) - Open source icon library
-- [Robin Williams](https://en.wikipedia.org/wiki/Robin_Williams_(author)) - CRAP design principles
-- McKinsey, Boston Consulting, Bain - Design inspiration
+[SVG Repo](https://www.svgrepo.com/) · [Robin Williams](https://en.wikipedia.org/wiki/Robin_Williams_(author)) (CRAP principles) · McKinsey, BCG, Bain
-## 📮 Contact
+## Contact
-- **Issue**: [GitHub Issues](https://github.com/hugohe3/ppt-master/issues)
-- **GitHub**: [@hugohe3](https://github.com/hugohe3)
+[GitHub Issues](https://github.com/hugohe3/ppt-master/issues) · [@hugohe3](https://github.com/hugohe3)
---
-## 🌟 Star History
+## Star History
-If this project helps you, please give it a ⭐ Star!
+If this project helps you, please give it a ⭐!
<a href="https://star-history.com/#hugohe3/ppt-master&Date">
<picture>
@@ -497,9 +149,9 @@ If this project helps you, please give it a ⭐ Star!
---
-## ☕ Sponsor
+## Sponsor
-If this project saves you time, consider buying me a coffee to keep the tokens burning!
+If this project saves you time, consider buying me a coffee!
**Alipay / 支付宝**
diff --git a/README_CN.md b/README_CN.md
index 7fb1e7fa..1957cbcb 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -7,134 +7,44 @@
[English](./README.md) | 中文
-丢进一份 PDF、DOCX、网址或 Markdown,AI 自动生成**原生可编辑的 PowerPoint 演示文稿**——不是图片,每个文本框、图表、图形都是真正的 PowerPoint 对象,点击即可编辑。支持 PPT 16:9、小红书、朋友圈等 10+ 种格式。
+丢进一份 PDF、DOCX、网址或 Markdown,拿回一份**原生可编辑的 PowerPoint**——真正的形状、真正的文本框、真正的图表,不是图片。点击任何元素即可编辑。
-> 🔥 **重磅更新:原生可编辑 PPTX** — 生成的演示文稿现在默认包含**真正的 PowerPoint 原生形状**(DrawingML),文字、图表、图形均可在 PowerPoint 中直接编辑,无需任何额外操作。告别"转换为形状"!
->
-> 💡 **架构更新**:目前项目使用 Skill-based 架构:
-> 1. **大幅减少 Token 消耗与模型依赖**:现在即使不使用 Opus 模型,其他模型也能生成质量尚可的结果。
-> 2. **更强的系统扩展性**:整个 `skills` 文件夹按 Agent Skills 标准组织,每个子目录都是一个完全自包含的 Skill。您可以将其直接放入支持该标准的 AI 客户端的 skills 目录中作为本地技能原生调用(例如:Claude Code 的 `.claude/skills/` 或 `~/.claude/skills/`;Antigravity 置于全局 skills 目录后经由 `.agent/workflows/` 引用;GitHub Copilot 的 `.github/skills/` 或 `~/.copilot/skills/`)。
-> 3. **稳定版降级选择**:旧版多平台适配架构虽然 Token 消耗较多,但经受了更长时间的检验。如果您在使用当前新版本时遇到不稳定情况,可以随时尝试退回至老架构的最终版本:[v1.3.0](https://github.com/hugohe3/ppt-master/tree/v1.3.0)。
+**核心特点:**
-> **在线示例**:[GitHub Pages 在线预览](https://hugohe3.github.io/ppt-master/) — 查看实际生成效果
+- 每个元素都是真正的 PowerPoint 对象(DrawingML)——无需"转换为形状"
+- 支持 Claude Code、Cursor、VS Code Copilot 等主流 AI 编辑器
+- 10+ 种输出格式:PPT 16:9、小红书、朋友圈、营销海报等
+- 低成本——VS Code Copilot 下最低 **$0.08/份**;非 Opus 模型也能生成不错的结果
-> 🎨 **设计哲学 —— AI 是你的设计师,不是完工师**
->
-> 生成的 PPTX 是一份**设计稿**,而非成品。把它理解成建筑师的效果图:AI 负责视觉设计、排版布局和内容结构,交付给你一个高质量的起点。要想获得真正精良的成品,**需要你自己在 PowerPoint 里做精装修**:换掉形状、细化图表、调整配色、把占位图形替换成原生对象。这个工具的目标是消除 90% 的从零开始的工作量,而不是替代人在最后一公里的判断。不要指望 AI 一遍搞定所有——好的演示文稿从来不是这样做出来的。
->
-> **工具的上限是你的上限。** PPT Master 放大的是你已有的能力——你有设计感和内容判断力,它帮你快速落地;你不知道一个好的演示文稿应该长什么样,它也没法替你知道。输出的质量,归根结底是你自身品味与判断力的映射。
+**[在线预览](https://hugohe3.github.io/ppt-master/)** · [`examples/`](./examples/) — 15 个项目,229 页
----
-
-## 🎴 精选示例
-
-> **示例库**: [`examples/`](./examples/) · **15 个项目** · **229 页**
-
-| 类别 | 项目 | 页数 | 特色 |
-| --------------- | ---- | :--: | ---- |
-| 🏢 **咨询风格** | [心理治疗中的依恋](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E5%BF%83%E7%90%86%E6%B2%BB%E7%96%97%E4%B8%AD%E7%9A%84%E4%BE%9D%E6%81%8B) | 32 | 顶级咨询风格,最大规模示例 |
-| | [构建有效AI代理](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E6%9E%84%E5%BB%BA%E6%9C%89%E6%95%88AI%E4%BB%A3%E7%90%86_Anthropic) | 15 | Anthropic 工程博客,AI Agent 架构 |
-| | [重庆市区域报告](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E9%87%8D%E5%BA%86%E5%B8%82%E5%8C%BA%E5%9F%9F%E6%8A%A5%E5%91%8A_ppt169_20251213) | 20 | 区域财政分析,企业预警通数据 |
-| | [甘孜州经济财政分析](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E7%94%98%E5%AD%9C%E5%B7%9E%E7%BB%8F%E6%B5%8E%E8%B4%A2%E6%94%BF%E5%88%86%E6%9E%90) | 17 | 政务财政分析,藏区文化元素 |
-| 🎨 **通用灵活** | [Debug 六步法](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%80%9A%E7%94%A8%E7%81%B5%E6%B4%BB%2B%E4%BB%A3%E7%A0%81_debug%E5%85%AD%E6%AD%A5%E6%B3%95) | 10 | 深色科技风格 |
-| | [重庆大学论文格式](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%80%9A%E7%94%A8%E7%81%B5%E6%B4%BB%2B%E5%AD%A6%E6%9C%AF_%E9%87%8D%E5%BA%86%E5%A4%A7%E5%AD%A6%E8%AE%BA%E6%96%87%E6%A0%BC%E5%BC%8F%E6%A0%87%E5%87%86) | 11 | 学术规范指南 |
-| ✨ **创意风格** | [地山谦卦深度研究](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E6%98%93%E7%90%86%E9%A3%8E_%E5%9C%B0%E5%B1%B1%E8%B0%A6%E5%8D%A6%E6%B7%B1%E5%BA%A6%E7%A0%94%E7%A9%B6) | 20 | 易经本体美学,阴阳爻变设计 |
-| | [金刚经第一品研究](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E7%A6%85%E6%84%8F%E9%A3%8E_%E9%87%91%E5%88%9A%E7%BB%8F%E7%AC%AC%E4%B8%80%E5%93%81%E7%A0%94%E7%A9%B6) | 15 | 禅意学术,水墨留白 |
-| | [Git 入门指南](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E5%83%8F%E7%B4%A0%E9%A3%8E_git_introduction) | 10 | 像素复古游戏风 |
-
-📖 [查看完整示例文档](./examples/README.md)
+| | 项目 | 页数 | 风格 |
+|---|------|:----:|------|
+| 🏢 | [心理治疗中的依恋](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%A1%B6%E7%BA%A7%E5%92%A8%E8%AF%A2%E9%A3%8E_%E5%BF%83%E7%90%86%E6%B2%BB%E7%96%97%E4%B8%AD%E7%9A%84%E4%BE%9D%E6%81%8B) | 32 | 顶级咨询 |
+| 🎨 | [Debug 六步法](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E9%80%9A%E7%94%A8%E7%81%B5%E6%B4%BB%2B%E4%BB%A3%E7%A0%81_debug%E5%85%AD%E6%AD%A5%E6%B3%95) | 10 | 深色科技 |
+| ✨ | [地山谦卦深度研究](https://hugohe3.github.io/ppt-master/viewer.html?project=ppt169_%E6%98%93%E7%90%86%E9%A3%8E_%E5%9C%B0%E5%B1%B1%E8%B0%A6%E5%8D%A6%E6%B7%B1%E5%BA%A6%E7%A0%94%E7%A9%B6) | 20 | 易经美学 |
---
-## 🏗️ 系统架构
-
-```
-用户输入 (PDF/DOCX/URL/Markdown)
- ↓
-[源内容转换] → pdf_to_md.py / doc_to_md.py / web_to_md.py
- ↓
-[创建项目] → project_manager.py init <项目名> --format <格式>
- ↓
-[模板选项] A) 使用已有模板 B) 不使用模板
- ↓
-[需要新模板?] → 使用 /create-template 工作流单独创建
- ↓
-[Strategist] 策略师 - 八项确认与设计规范
- ↓
-[Image_Generator] 图片生成师(当选择 AI 生成时)
- ↓
-[Executor] 执行师 - 分阶段生成
- ├── 视觉构建阶段:连续生成所有 SVG 页面 → svg_output/
- └── 逻辑构建阶段:生成完整讲稿 → notes/total.md
- ↓
-[后处理] → total_md_split.py(拆分讲稿)→ finalize_svg.py → svg_to_pptx.py
- ↓
-输出: 自动生成两个文件:
- ├── presentation.pptx ← 原生形状版(DrawingML)— 推荐用于编辑与交付
- └── presentation_svg.pptx ← SVG 参考版 — 像素级视觉参考;在 PowerPoint 中选中内容
- 后使用"转换为形状"可解锁单独元素的编辑
-```
-
-### 📚 文档导航
-
-| 文档 | 说明 |
-|------|------|
-| 🧭 [AGENTS.md](./AGENTS.md) | 仓库级入口概览(适用于通用 AI 代理) |
-| 📖 [SKILL.md](./skills/ppt-master/SKILL.md) | `ppt-master` 核心流程与规则源 |
-| 📐 [画布格式](./skills/ppt-master/references/canvas-formats.md) | PPT、小红书、朋友圈等 10+ 种格式 |
-| 🖼️ [图片嵌入指南](./skills/ppt-master/references/svg-image-embedding.md) | SVG 图片嵌入最佳实践 |
-| 📊 [图表模板库](./skills/ppt-master/templates/charts/) | 13 种标准化图表模板 |
-| 🛠️ [工具集](./skills/ppt-master/scripts/README.md) | 脚本索引与高频命令 |
-| ↳ [转换文档](./skills/ppt-master/scripts/docs/conversion.md) | PDF / DOCX / 网页转 Markdown |
-| ↳ [项目文档](./skills/ppt-master/scripts/docs/project.md) | 项目初始化、校验与索引 |
-| ↳ [SVG 流水线文档](./skills/ppt-master/scripts/docs/svg-pipeline.md) | 后处理、校验、备注与 PPTX 导出 |
-| ↳ [图片文档](./skills/ppt-master/scripts/docs/image.md) | 图片生成与图片分析工具 |
-| ↳ [排障文档](./skills/ppt-master/scripts/docs/troubleshooting.md) | 校验、预览、导出与依赖问题 |
-| 💼 [示例索引](./examples/README.md) | 15 个项目、229 页 SVG 示例 |
-
----
-
-## 🚀 快速开始
-
-### 1. 配置环境
-
-#### Python 环境(必需)
-
-本项目需要 **Python 3.8+**,用于运行 PDF 转换、SVG 后处理、PPTX 导出等工具。
-
-| 平台 | 推荐安装方式 |
-|------|------------|
-| **macOS** | 使用 [Homebrew](https://brew.sh/):`brew install python` |
-| **Windows** | 从 [Python 官网](https://www.python.org/downloads/) 下载安装包 |
-| **Linux** | 使用系统包管理器:`sudo apt install python3 python3-pip`(Ubuntu/Debian) |
-
-> 💡 **验证安装**:运行 `python3 --version` 确认版本 ≥ 3.8
+## 快速开始
-#### Node.js 环境(可选)
+### 1. 安装
-如需使用 `web_to_md.cjs` 工具(用于微信公众号等高防站点的网页转换),需安装 Node.js。
+**必需:** Python 3.8+ · **可选:** [Node.js](https://nodejs.org/) 18+(微信公众号转换)· [Pandoc](https://pandoc.org/)(DOCX/EPUB 转换)
-| 平台 | 推荐安装方式 |
-|------|------------|
-| **macOS** | 使用 [Homebrew](https://brew.sh/):`brew install node` |
-| **Windows** | 从 [Node.js 官网](https://nodejs.org/) 下载 LTS 版本安装包 |
-| **Linux** | 使用 [NodeSource](https://github.com/nodesource/distributions):`curl -fsSL https://deb.nodesource.com/setup_lts.x \| sudo -E bash - && sudo apt-get install -y nodejs` |
-
-> 💡 **验证安装**:运行 `node --version` 确认版本 ≥ 18
-
-#### Pandoc(可选)
-
-如需使用 `doc_to_md.py` 工具(用于将 DOCX、EPUB、LaTeX 等文档格式转换为 Markdown),需安装 [Pandoc](https://pandoc.org/)。
-
-| 平台 | 推荐安装方式 |
-|------|------------|
-| **macOS** | 使用 [Homebrew](https://brew.sh/):`brew install pandoc` |
-| **Windows** | 从 [Pandoc 官网](https://pandoc.org/installing.html) 下载安装包 |
-| **Linux** | 使用系统包管理器:`sudo apt install pandoc`(Ubuntu/Debian) |
+```bash
+# macOS
+brew install python
+brew install node # 可选——用于微信公众号等网页转换
+brew install pandoc # 可选——用于 DOCX/EPUB 转换
-> 💡 **验证安装**:运行 `pandoc --version` 确认已安装
+# Ubuntu/Debian
+sudo apt install python3 python3-pip
+sudo apt install nodejs npm # 可选
+sudo apt install pandoc # 可选
-### 2. 克隆仓库并安装依赖
+# Windows — 从 python.org、nodejs.org、pandoc.org 下载安装
+```
```bash
git clone https://github.com/hugohe3/ppt-master.git
@@ -142,346 +52,92 @@ cd ppt-master
pip install -r requirements.txt
```
-> 如遇权限问题,可使用 `pip install --user -r requirements.txt` 或在虚拟环境中安装。
-
-### 2.1 日常更新(推荐)
-
-如果只是拉最新代码并同步 Python 依赖,直接运行:
-
-```bash
-python3 skills/ppt-master/scripts/update_repo.py
-```
-
-这个命令会:
-
-- 执行 `git pull --ff-only`
-- 仅在 `requirements.txt` 发生变化时执行 `pip install -r requirements.txt`
-- 保留 `.env` 这类本地忽略文件
-
-注意:
-
-- 如果仓库里有未提交的已跟踪改动,脚本会停止,避免把本地修改和更新流程混在一起
-- `Node.js`、`Pandoc` 这类系统依赖仍需手动安装
-- 如需跳过 Python 依赖同步,可使用 `python3 skills/ppt-master/scripts/update_repo.py --skip-pip`
-
-### 3. 打开 AI 编辑器
+日常更新:`python3 skills/ppt-master/scripts/update_repo.py`
-推荐使用以下 AI 编辑器:
+### 2. 选择 AI 编辑器
-| 工具 | 推荐度 | 说明 |
-| --------------------------------------------------- | :----: | ----------------------------------------------------------------------------- |
-| **[Claude Code](https://claude.ai/)** | ⭐⭐⭐ | **强烈推荐**!Anthropic 官方 CLI,原生 Opus 支持,上下文最充裕 |
-| Codebuddy IDE | ⭐⭐ | 优秀的国产 AI IDE,对 Kimi 2.5、MiniMax 2.7 等国产大模型有较好支持 |
-| [Cursor](https://cursor.sh/) | ⭐⭐ | 主流 AI 编辑器,体验好但价格较高 |
-| [VS Code + Copilot](https://code.visualstudio.com/) | ⭐⭐ | 微软官方方案,性价比高,但上下文窗口受限(200k,预留 35% 给输出) |
-| [Antigravity](https://antigravity.dev/) | ⭐ | 免费但额度极少且不稳定,仅作备选 |
+| 工具 | 推荐度 | 说明 |
+|------|:------:|------|
+| **[Claude Code](https://claude.ai/)** | ⭐⭐⭐ | 效果最佳——原生 Opus,上下文最充裕 |
+| [Cursor](https://cursor.sh/) / [VS Code + Copilot](https://code.visualstudio.com/) | ⭐⭐ | 不错的替代方案 |
+| Codebuddy IDE | ⭐⭐ | 国产模型最佳选择(Kimi 2.5、MiniMax 2.7) |
-### 4. 开始创作
+### 3. 开始创作
-在 AI 编辑器中打开聊天面板,直接描述你想创作的内容:
+打开 AI 聊天面板,描述你想要的内容:
```
-用户:我有一份关于 Q3 季度业绩的报告,需要制作成 PPT
+你:我有一份 Q3 季度业绩报告,需要制作成 PPT
-AI:好的,先确认是否使用模板;确认后我会继续八项确认并生成设计规范。
- [模板选项] [建议] B) 不使用模板;如需使用模板,我会先参考 templates/layouts/layouts_index.json 给出推荐
- [Strategist] 1. 画布格式:[建议] PPT 16:9
- [Strategist] 2. 页数范围:[建议] 8-10 页
+AI:好的,先确认设计规范:
+ [模板] B) 不使用模板
+ [格式] PPT 16:9
+ [页数] 8-10 页
...
```
-> 💡 **模型推荐**:Claude Opus 效果最佳,但大部分主流模型(如 Kimi 2.5、MiniMax 2.7 等,可通过 Codebuddy IDE 使用)目前均能生成不错的内容,仅在细节排版效果上可能存在差距。因目前某些 IDE (如 Antigravity) 的 Opus 极不稳定,请优先使用其他稳定的 AI 客户端进行创作。
+AI 全程处理——内容分析、视觉设计、SVG 生成、PPTX 导出。
-> 📝 **导出后编辑**:默认导出的 PPTX(`.pptx`)包含**原生 PowerPoint 形状**,文字、图形和颜色可直接编辑,无需额外操作。同时还会生成一份 SVG 参考版(`_svg.pptx`),该版本需在 PowerPoint 中选中内容后右键选择 **"转换为形状"** (Convert to Shape) 方可编辑。需要 **Office 2016** 或更高版本。
+> **输出说明:** `.pptx` 文件包含原生形状,可直接编辑。同时生成 `_svg.pptx` 参考版(在 PowerPoint 中使用"转换为形状"编辑)。需要 Office 2016+。
-> 💡 **AI 迷失上下文?** 可提示 AI 优先阅读 `skills/ppt-master/SKILL.md`;如需一个仓库级入口概览,再参考 `AGENTS.md`
+> **AI 迷失上下文?** 让它先读 `skills/ppt-master/SKILL.md`。
-### 5. AI 生图配置(可选)
-
-本项目的 `image_gen.py` 支持多家图片模型提供商,但推荐默认只聚焦少数后端:
-
-- 核心推荐:`gemini`、`openai`、`qwen`、`zhipu`、`volcengine`
-- 扩展支持:`stability`、`bfl`(FLUX)、`ideogram`
-- 实验支持:`siliconflow`、`fal`、`replicate`
-
-可用下面的命令直接查看 CLI 中的后端分级:
-
-```bash
-python3 skills/ppt-master/scripts/image_gen.py --list-backends
-```
-
-图片生成支持两种配置来源:
-
-1. 当前运行进程的环境变量
-2. 项目根目录 `.env` 文件作为补充 fallback
-
-优先级:
-- 当前进程环境变量优先
-- `.env` 只补充那些当前进程里还没有的值
-
-有一条规则是强制的:
-- 必须显式设置 `IMAGE_BACKEND`
-
-工具不会根据 API Key 自动猜后端,也不会在未配置时偷偷默认到 Gemini。
-
-#### 方式 A:配置 `.env`
+### 4. AI 生图配置(可选)
```bash
-cp .env.example .env
+cp .env.example .env # 然后填入你的 API Key
```
-编辑 `.env` 文件,填入你的配置:
-
```env
-IMAGE_BACKEND=gemini
+IMAGE_BACKEND=gemini # 必填——必须显式指定
GEMINI_API_KEY=your-api-key
GEMINI_MODEL=gemini-3.1-flash-image-preview
```
-> `.env` 文件已在 `.gitignore` 中,不会被提交到仓库,无需担心密钥泄露。
-
-#### 方式 B:使用当前进程环境变量
-
-```bash
-export IMAGE_BACKEND=gemini
-export GEMINI_API_KEY=your-api-key
-export GEMINI_MODEL=gemini-3.1-flash-image-preview
-python3 skills/ppt-master/scripts/image_gen.py "abstract tech background"
-```
-
-这种方式适合 CI、容器、密钥管理平台,以及一次性的本地测试。
-
-注意:
-- 脚本读取的是“当前运行进程可见的环境变量”,不是抽象意义上的 shell 配置
-- 如果某个工具启动的是非交互 shell,而你的 `~/.bashrc` 或 `~/.zshrc` 没有被 source,那么里面的 export 可能根本不可见
-- 这种情况下,本地开发通常还是 `.env` 更稳定
-
-> 💡 **提供商命名空间**:请把密钥和模型覆盖写在各家自己的变量里,例如 `GEMINI_API_KEY`、`GEMINI_MODEL`、`GEMINI_BASE_URL`、`OPENAI_API_KEY`、`QWEN_MODEL`、`ZHIPU_MODEL`、`VOLCENGINE_API_KEY`、`REPLICATE_API_TOKEN`。
-
-> 💡 **不支持全局图片密钥变量**:`IMAGE_API_KEY`、`IMAGE_MODEL`、`IMAGE_BASE_URL` 已明确废弃,请只使用 provider 自己的变量。
-
-> 💡 **多提供商共存**:同一个 `.env` 或同一组环境变量里可以保留多家配置,但必须用 `IMAGE_BACKEND` 明确指定当前启用的是哪一家。
-
-示例:
-
-```env
-IMAGE_BACKEND=zhipu
-
-GEMINI_API_KEY=your-gemini-key
-GEMINI_MODEL=gemini-3.1-flash-image-preview
-
-ZHIPU_API_KEY=your-zhipu-key
-ZHIPU_MODEL=glm-image
-```
-
-切换提供商时,只改 `IMAGE_BACKEND` 即可。
-
-> 💡 **推荐原则**:没有特殊诉求时,优先使用“核心推荐”里的后端。
-
-> 💡 **AI 生成图片建议**:如需 AI 生成配图,建议在 [Gemini](https://gemini.google.com/) 中生成后选择 **Download full size** 下载,分辨率比 Antigravity 直接生成的更高。Gemini 生成的图片右下角会有星星水印,可使用 [gemini-watermark-remover](https://github.com/journey-ad/gemini-watermark-remover) 或本项目的 `skills/ppt-master/scripts/gemini_watermark_remover.py` 去除。
-
----
-
-## 📁 项目结构
-
-```text
-ppt-master/
-├── skills/
-│ └── ppt-master/ # 规范源(完全自包含的单一 Skill 源)
-│ ├── SKILL.md # 主入口:工作流定义与执行边界
-│ ├── workflows/ # 工作流引擎脚本与独立任务
-│ ├── references/ # AI 角色定义 + 技术文档规范
-│ ├── scripts/ # 工具脚本集成
-│ └── templates/ # 模板库(布局 + 图表 + 图标)
-├── examples/ # 示例项目(包含多种生成案例)
-├── projects/ # 用户项目默认工作区
-├── AGENTS.md # 通用 AI 代理入口概览
-└── CLAUDE.md # Claude Code CLI 专属入口概览
-```
-
----
-
-## 🛠️ 常用命令
-
-```bash
-# 初始化项目
-python3 skills/ppt-master/scripts/project_manager.py init <项目名> --format ppt169
+支持的后端:`gemini` · `openai` · `qwen` · `zhipu` · `volcengine` · `stability` · `bfl` · `ideogram` · `siliconflow` · `fal` · `replicate`
-# 将源材料归档到项目目录
-python3 skills/ppt-master/scripts/project_manager.py import-sources <项目路径> <源文件或URL...>
+运行 `python3 skills/ppt-master/scripts/image_gen.py --list-backends` 查看分级。环境变量优先于 `.env`。使用各家独立的 Key(`GEMINI_API_KEY`、`OPENAI_API_KEY` 等)——不支持全局 `IMAGE_API_KEY`。
-# PDF 转 Markdown
-python3 skills/ppt-master/scripts/pdf_to_md.py <PDF文件>
-
-# DOCX / Office 文档转 Markdown(需要 pandoc)
-python3 skills/ppt-master/scripts/doc_to_md.py <DOCX文件>
-
-# 后处理三步(必须按顺序执行)
-python3 skills/ppt-master/scripts/total_md_split.py <项目路径>
-python3 skills/ppt-master/scripts/finalize_svg.py <项目路径>
-python3 skills/ppt-master/scripts/svg_to_pptx.py <项目路径> -s final
-# 默认生成两个文件:原生可编辑形状 (.pptx) + SVG 图片参考版 (_svg.pptx)
-# 仅生成原生版:--only native 仅生成 SVG 图片版:--only legacy
-# 默认自带 fade 切换效果(0.5s),禁用切换:-t none
-
-```
-
-> 📖 脚本文档建议先看 [脚本使用指南](./skills/ppt-master/scripts/README.md),再按主题进入 [转换](./skills/ppt-master/scripts/docs/conversion.md)、[项目](./skills/ppt-master/scripts/docs/project.md)、[SVG 流水线](./skills/ppt-master/scripts/docs/svg-pipeline.md)、[图片](./skills/ppt-master/scripts/docs/image.md)、[排障](./skills/ppt-master/scripts/docs/troubleshooting.md)
+> **建议:** 高质量图片推荐在 [Gemini](https://gemini.google.com/) 中生成并选择 **Download full size**。去水印可用 `scripts/gemini_watermark_remover.py`。
---
-## 🎨 自定义模板制作
-
-想把自己喜欢的 PPT 模板制作成 PPT Master 可调用的模板?按以下步骤操作:
-
-**第一步 — 准备参考材料**
-
-最简单的方式仍然是将参考 PPT 的关键页面类型分别截图保存:欢迎页、目录页、章节页、内容页、结尾页。将截图放到同一个文件夹中,并使用规范的文件名(如 `cover.png`、`toc.png`、`chapter.png`、`content.png`、`closing.png`)。
+## 文档导航
-如果你已经有原始 `.pptx` 模板文件,也可以把它作为参考源一并提供。PPT Master 会先从 PPTX 中提取可复用的背景图、logo、主题色和字体信息,再把这些素材用于模板重建。这个步骤是内部预处理,用户可见的 `/create-template` 工作流不变。
-
-**第二步 — 让 AI 创建模板**
-
-使用 AI 编程代理(Claude Code、Codex 等),要求它使用 **PPT Master 的 `/create-template` 工作流**,将这些参考材料转换成模板。在提示中需要提供:
-
-- 模板的英文名称和中文名称
-- 适用场景(如政府汇报、高端咨询、产品宣讲等)
-- 使用该模板时希望触发的特效和配色风格
-- 是否需要启用 AI 生图
-
-**第三步 — 等待完成**
-
-AI 代理会自动完成后续工作 — 分析截图、构建布局定义、注册模板,使其出现在 PPT Master 工作流的模板选项中。
-
-> 💡 **提示**:对风格和使用场景描述得越具体,生成的模板就越符合你的预期。
+| | 文档 | 说明 |
+|---|------|------|
+| 📖 | [SKILL.md](./skills/ppt-master/SKILL.md) | 核心流程与规则 |
+| 📐 | [画布格式](./skills/ppt-master/references/canvas-formats.md) | PPT 16:9、小红书、朋友圈等 10+ 种格式 |
+| 🛠️ | [脚本与工具](./skills/ppt-master/scripts/README.md) | 所有脚本和命令 |
+| 💼 | [示例](./examples/README.md) | 15 个项目,229 页 |
+| 🏗️ | [技术路线](./docs/zh/technical-design.md) | 架构、设计哲学、为什么选 SVG |
+| ❓ | [常见问题](./docs/zh/faq.md) | 费用、编辑、自定义模板 |
---
-## ❓ 常见问题
-
-<details>
-<summary><b>Q: 生成的 PPT 可以编辑吗?</b></summary>
-
-可以!默认导出的 PPTX(`.pptx`)包含**原生 PowerPoint 形状**,所有文字、图形、颜色均可在 PowerPoint 中直接编辑,无需任何转换操作。同时还会生成一份 SVG 参考版(`_svg.pptx`),该版本需选中内容后右键 **"转换为形状"** (Convert to Shape) 方可编辑。需要 **Office 2016** 或更高版本。
-
-</details>
-
-<details>
-<summary><b>Q: 三种执行师有什么区别?</b></summary>
-
-- **Executor_General**: 通用场景,灵活布局
-- **Executor_Consultant**: 一般咨询,数据可视化
-- **Executor_Consultant_Top**: 顶级咨询(MBB 级),5 大核心技巧
-
-</details>
-
-<details>
-<summary><b>Q: 用 Claude 做 PPT 是不是很贵?</b></summary>
-
-取决于你怎么用。如果直接使用 API 或订阅额度,一份 PPT 大约需要 **$5**——但相比你花一两天手工制作一份 PPT,这个支出是合理的。
-
-更便宜的方案:**VS Code Copilot** 每月 $10 的订阅提供 300 次普通请求,换算成高级请求(Opus 级别)约 **100 次**。PPT Master 默认需要 2 轮交互确认(模板选择 + 八项确认),但如果你预先说明不使用模板,就只需 **1 轮确认——仅 2 段对话**(AI 提问,你确认)。这样每份 PPT 大约消耗 **6 次 Opus 请求**或 **2 次 Sonnet 请求**。按超出额度 $0.04 美元/次计算:
-
-| 模型 | 每份 PPT 请求数 | 超额成本 |
-|------|:---------------:|:--------:|
-| Opus | ~6 | ~$0.24 美元 |
-| Sonnet | ~2 | ~$0.08 美元 |
+## 贡献
-对于一份完整的演示文稿来说,**$0.08–$0.24 美元**并不贵。
+1. Fork → 分支 → 提交 → PR
-</details>
-
-<details>
-<summary><b>Q: 生成的图表可以编辑数据吗?</b></summary>
-
-图表以**自定义设计的 SVG 图形**形式渲染,转换为原生 PowerPoint 形状——而不是 Excel 驱动的图表对象。这使得图表外观精良,视觉效果通常优于 PowerPoint 默认图表样式。但图表的底层数据无法通过 PowerPoint 图表编辑器修改。如果你需要可实时更新数据的图表(例如通过编辑表格来刷新数据),需要在导出后自行将其替换为原生 PowerPoint 图表。
-
-</details>
-
-> 📖 更多问题可先查看 [skills/ppt-master/SKILL.md](./skills/ppt-master/SKILL.md) 与 [AGENTS.md](./AGENTS.md)
-
----
-
-## 🔧 技术路线
-
-**核心流程:AI 生成 SVG → 后处理转换为 DrawingML(PPTX)。**
-
-整个流程分为三个阶段:
-
-**第一阶段:内容理解与设计规划**
-源文档(PDF/DOCX/URL/Markdown)经过转换变为结构化文本,由 Strategist 角色完成内容分析、页面规划和设计风格确认,输出完整的设计规格。
-
-**第二阶段:AI 视觉生成**
-Executor 角色逐页生成演示文稿的视觉内容,输出为 SVG 文件。这个阶段的产物是**设计稿**,而非成品。
-
-**第三阶段:工程化转换**
-后处理脚本将 SVG 转换为 DrawingML,每一个形状都变成真正的 PowerPoint 原生对象——可点击、可编辑、可改色,而不是嵌入的图片。
-
----
-
-**为什么是 SVG?**
-
-SVG 是这套流程的核心枢纽。这个选择是通过逐一排除其他方案得出的。
-
-**直接生成 DrawingML** 看起来最直接——跳过中间格式,AI 直接输出 PowerPoint 的底层 XML。但 DrawingML 极其繁琐,一个简单的圆角矩形就需要数十行嵌套 XML,AI 的训练数据中远少于 SVG,生成质量不稳定,调试几乎无法肉眼完成。
-
-**HTML/CSS** 是 AI 最熟悉的格式之一,但 HTML 和 PowerPoint 有根本不同的世界观。HTML 描述的是**文档**——标题、段落、列表,元素的位置由内容流动决定。PowerPoint 描述的是**画布**——每个元素都是独立的、绝对定位的对象,没有流,没有上下文关系。这不只是排版计算的问题,而是两种完全不同的内容组织方式之间的鸿沟。就算解决了浏览器排版引擎的问题(Chromium 用数百万行代码做这件事),HTML 里的一个 `<table>` 也没法自然地变成 PPT 里的几个独立形状。
-
-**WMF/EMF**(Windows 图元文件)是微软自家的原生矢量图形格式,与 DrawingML 有直接的血缘关系——理论上转换损耗最小。但 AI 对它几乎没有训练数据,这条路死在起点。值得注意的是:连微软自家的格式在这里都输给了 SVG。
-
-**SVG 作为嵌入图片** 是最简单的路线——把整张幻灯片渲染成图片塞进 PPT。但这样完全丧失可编辑性,形状变成像素,文字无法选中,颜色无法修改,和截图没有本质区别。
-
-SVG 胜出,因为它与 DrawingML 拥有相同的世界观:两者都是绝对坐标的二维矢量图形格式,共享同一套概念体系:
-
-| SVG | DrawingML |
-|---|---|
-| `<path d="...">` | `<a:custGeom>` |
-| `<rect rx="...">` | `<a:prstGeom prst="roundRect">` |
-| `<circle>` / `<ellipse>` | `<a:prstGeom prst="ellipse">` |
-| `transform="translate/scale/rotate"` | `<a:xfrm>` |
-| `linearGradient` / `radialGradient` | `<a:gradFill>` |
-| `fill-opacity` / `stroke-opacity` | `<a:alpha>` |
-
-转换不是格式错配,而是两种方言之间的精确翻译。
-
-SVG 也是唯一同时满足流程中所有角色需要的格式:**AI 能可靠地生成它,人能在任意浏览器里直接预览和调试,脚本能精确地转换它**——在生成任何 DrawingML 之前,设计稿就已经完全透明可见。
-
----
-
-## 🤝 贡献指南
-
-欢迎贡献!
-
-1. Fork 本仓库
-2. 创建分支 (`git checkout -b feature/AmazingFeature`)
-3. 提交更改 (`git commit -m 'Add AmazingFeature'`)
-4. 推送分支 (`git push origin feature/AmazingFeature`)
-5. 开启 Pull Request
-
-**贡献方向**:🎨 设计模板 · 📊 图表组件 · 📝 文档完善 · 🐛 Bug 报告 · 💡 功能建议
-
----
+**方向:** 🎨 模板 · 📊 图表 · 📝 文档 · 🐛 Bug · 💡 建议
-## 📄 开源协议
+## 开源协议
-本项目采用 [MIT License](LICENSE) 开源协议。
+[MIT](LICENSE)
-## 🙏 致谢
+## 致谢
-- [SVG Repo](https://www.svgrepo.com/) - 开源图标库
-- [Robin Williams](https://en.wikipedia.org/wiki/Robin_Williams_(author)) - CRAP 设计原则
-- 麦肯锡、波士顿咨询、贝恩 - 设计灵感来源
+[SVG Repo](https://www.svgrepo.com/) · [Robin Williams](https://en.wikipedia.org/wiki/Robin_Williams_(author))(CRAP 设计原则)· 麦肯锡、BCG、贝恩
-## 📮 联系方式
+## 联系
-- **Issue**: [GitHub Issues](https://github.com/hugohe3/ppt-master/issues)
-- **GitHub**: [@hugohe3](https://github.com/hugohe3)
+[GitHub Issues](https://github.com/hugohe3/ppt-master/issues) · [@hugohe3](https://github.com/hugohe3)
---
-## 🌟 Star History
+## Star History
-如果这个项目对你有帮助,请给一个 ⭐ Star 支持一下!
+如果这个项目对你有帮助,请给一个 ⭐!
<a href="https://star-history.com/#hugohe3/ppt-master&Date">
<picture>
@@ -493,9 +149,9 @@ SVG 也是唯一同时满足流程中所有角色需要的格式:**AI 能可
---
-## ☕ 赞助
+## 赞助
-如果这个项目帮你省了时间,欢迎请我喝杯咖啡,支持我继续燃烧 token!
+如果这个项目帮你省了时间,欢迎请我喝杯咖啡!
**支付宝**
diff --git a/docs/faq.md b/docs/faq.md
new file mode 100644
index 00000000..d2c0e183
--- /dev/null
+++ b/docs/faq.md
@@ -0,0 +1,61 @@
+# FAQ
+
+[English](./faq.md) | [中文](./zh/faq.md)
+
+---
+
+## Q: Can I edit the generated presentations?
+
+Yes! The default export (`.pptx`) produces **native PowerPoint shapes** — all text, graphics, and colors are directly editable in PowerPoint without any conversion. An SVG reference version (`_svg.pptx`) is also generated; for that file, select the content and use **"Convert to Shape"** to unlock editing. Requires **Office 2016** or later.
+
+## Q: What's the difference between the three Executors?
+
+- **Executor_General**: General scenarios, flexible layout
+- **Executor_Consultant**: General consulting, data visualization
+- **Executor_Consultant_Top**: Top consulting (MBB level), 5 core techniques
+
+## Q: Isn't using Claude too expensive?
+
+It depends on how you use it. If you're using a direct API or subscription quota, a single presentation may cost around **$5** — but compared to spending 1–2 days building a presentation manually, this is a reasonable trade-off.
+
+There are much cheaper options. **VS Code Copilot** at $10/month gives you 300 standard requests, which converts to roughly **100 premium (Opus-level) requests**. By default PPT Master has 2 confirmation rounds (template selection + eight confirmations), but if you specify "no template" upfront, it reduces to just **1 confirmation round — only 2 messages** (AI asks, you confirm). That means each presentation costs about **6 Opus requests** or **2 Sonnet requests**. At the $0.04 USD/request overage rate:
+
+| Model | Requests per PPT | Overage Cost |
+|-------|:-----------------:|:------------:|
+| Opus | ~6 | ~$0.24 USD |
+| Sonnet | ~2 | ~$0.08 USD |
+
+For a complete presentation, **$0.08–$0.24 USD** is not expensive at all.
+
+## Q: Are the charts in the generated PPTX editable?
+
+Charts are rendered as **custom-designed SVG graphics** converted to native PowerPoint shapes — not Excel-driven chart objects. This gives them a polished, high-fidelity appearance that often looks better than default PowerPoint charts. However, the underlying data is not editable via PowerPoint's chart editor. If you need a live, data-driven chart (e.g., one you can update by editing a spreadsheet), you will need to manually replace it with a native PowerPoint chart after export.
+
+## Q: How do I create a custom template?
+
+Want to turn a PPT you love into a reusable template for PPT Master? Here's how:
+
+**Step 1 — Prepare Reference Material**
+
+The simplest path is still to prepare screenshots of the key page types from your reference PPT — cover page, table of contents, chapter divider, content page, and closing page. Save them as images in a single folder with clear, descriptive filenames (e.g., `cover.png`, `toc.png`, `chapter.png`, `content.png`, `closing.png`).
+
+If you already have the original `.pptx` template file, you can also provide it as a reference source. PPT Master can extract reusable background images, logos, theme colors, and font metadata from the PPTX first, then use those assets during template reconstruction.
+
+**Step 2 — Let AI Create the Template**
+
+Use an AI coding agent (Claude Code, Codex, etc.) and ask it to use the **PPT Master `/create-template` workflow** to convert your reference material into a template. In your prompt, provide:
+
+- The template's English name and Chinese name
+- The intended use case (e.g., government reports, premium consulting, product launches)
+- The desired visual effects and color palette to apply when this template is used
+- Whether to enable AI image generation
+
+**Step 3 — Wait for the Result**
+
+The AI agent will handle the rest — analyzing your screenshots, building the layout definitions, and registering the template so it appears as a selectable option in the PPT Master workflow.
+
+> **Tip**: The more specific you are about the style and use case, the better the generated template will match your expectations.
+
+---
+
+> For more questions, see [SKILL.md](../skills/ppt-master/SKILL.md) and [AGENTS.md](../AGENTS.md)
diff --git a/docs/technical-design.md b/docs/technical-design.md
new file mode 100644
index 00000000..6b83ec48
--- /dev/null
+++ b/docs/technical-design.md
@@ -0,0 +1,88 @@
+# Technical Design
+
+[English](./technical-design.md) | [中文](./zh/technical-design.md)
+
+---
+
+## Design Philosophy — AI as Your Designer, Not Your Finisher
+
+The generated PPTX is a **design draft**, not a finished product. Think of it like an architect's rendering: the AI handles visual design, layout, and content structure — delivering a high-quality starting point. For truly polished results, **expect to do your own finishing work** in PowerPoint: swapping shapes, refining charts, adjusting colors, replacing placeholder graphics with native objects. The goal is to eliminate 90% of the blank-page work, not to replace human judgment in the final mile. Don't expect one AI pass to do everything — that's not how good presentations are made.
+
+**A tool's ceiling is your ceiling.** PPT Master amplifies the skills you already have — if you have a strong sense of design and content, it helps you execute faster. If you don't know what a great presentation looks like, the tool won't know either. The output quality is ultimately a reflection of your own taste and judgment.
+
+---
+
+## System Architecture
+
+```
+User Input (PDF/DOCX/URL/Markdown)
+ ↓
+[Source Content Conversion] → pdf_to_md.py / doc_to_md.py / web_to_md.py
+ ↓
+[Create Project] → project_manager.py init <project_name> --format <format>
+ ↓
+[Template Option] A) Use existing template B) No template
+ ↓
+[Need New Template?] → Use /create-template workflow separately
+ ↓
+[Strategist] - Eight Confirmations & Design Specifications
+ ↓
+[Image_Generator] (When AI generation is selected)
+ ↓
+[Executor] - Two-Phase Generation
+ ├── Visual Construction Phase: Generate all SVG pages → svg_output/
+ └── Logic Construction Phase: Generate complete speaker notes → notes/total.md
+ ↓
+[Post-processing] → total_md_split.py (split notes) → finalize_svg.py → svg_to_pptx.py
+ ↓
+Output: Two files are generated automatically:
+ ├── presentation.pptx ← Native shapes (DrawingML) — recommended for editing & delivery
+ └── presentation_svg.pptx ← SVG reference version — pixel-perfect visual reference; use
+ "Convert to Shape" in PowerPoint to unlock individual elements
+```
+
+---
+
+## Technical Pipeline
+
+**The pipeline: AI generates SVG → post-processing converts to DrawingML (PPTX).**
+
+The full flow breaks into three stages:
+
+**Stage 1 — Content Understanding & Design Planning**
+Source documents (PDF/DOCX/URL/Markdown) are converted to structured text. The Strategist role analyzes the content, plans the slide structure, and confirms the visual style, producing a complete design specification.
+
+**Stage 2 — AI Visual Generation**
+The Executor role generates each slide as an SVG file. The output of this stage is a **design draft**, not a finished product.
+
+**Stage 3 — Engineering Conversion**
+Post-processing scripts convert SVG to DrawingML. Every shape becomes a real native PowerPoint object — clickable, editable, recolorable — not an embedded image.
+
+---
+
+## Why SVG?
+
+SVG sits at the center of this pipeline. The choice was made by elimination.
+
+**Direct DrawingML generation** seems most direct — skip the intermediate format, have AI output PowerPoint's underlying XML. But DrawingML is extremely verbose; a simple rounded rectangle requires dozens of lines of nested XML. AI has far less training data for it than SVG, output is unreliable, and debugging is nearly impossible by eye.
+
+**HTML/CSS** is one of the formats AI knows best. But HTML and PowerPoint have fundamentally different world views. HTML describes a *document* — headings, paragraphs, lists — where element positions are determined by content flow. PowerPoint describes a *canvas* — every element is an independent, absolutely positioned object with no flow and no context. This isn't just a layout calculation problem; it's a structural mismatch. Even if you solved the browser layout engine problem (what Chromium does in millions of lines of code), an HTML `<table>` still has no natural mapping to a set of independent shapes on a slide.
+
+**WMF/EMF** (Windows Metafile) is Microsoft's own native vector graphics format and shares direct ancestry with DrawingML — the conversion loss would be minimal. But AI has essentially no training data for it, so this path is dead on arrival. Notably, even Microsoft's own format loses to SVG here.
+
+**SVG as embedded images** is the simplest path — render each slide as an image and embed it. But this destroys editability entirely: shapes become pixels, text cannot be selected, colors cannot be changed. No different from a screenshot.
+
+SVG wins because it shares the same world view as DrawingML: both are absolute-coordinate 2D vector graphics formats built around the same concepts:
+
+| SVG | DrawingML |
+|---|---|
+| `<path d="...">` | `<a:custGeom>` |
+| `<rect rx="...">` | `<a:prstGeom prst="roundRect">` |
+| `<circle>` / `<ellipse>` | `<a:prstGeom prst="ellipse">` |
+| `transform="translate/scale/rotate"` | `<a:xfrm>` |
+| `linearGradient` / `radialGradient` | `<a:gradFill>` |
+| `fill-opacity` / `stroke-opacity` | `<a:alpha>` |
+
+The conversion is a translation between two dialects of the same idea — not a format mismatch.
+
+SVG is also the only format that simultaneously satisfies every role in the pipeline: **AI can reliably generate it, humans can preview and debug it in any browser, and scripts can precisely convert it** — all before a single line of DrawingML is written.
diff --git a/docs/zh/faq.md b/docs/zh/faq.md
new file mode 100644
index 00000000..ef2ff67a
--- /dev/null
+++ b/docs/zh/faq.md
@@ -0,0 +1,61 @@
+# 常见问题
+
+[English](../faq.md) | [中文](./faq.md)
+
+---
+
+## Q: 生成的 PPT 可以编辑吗?
+
+可以!默认导出的 PPTX(`.pptx`)包含**原生 PowerPoint 形状**,所有文字、图形、颜色均可在 PowerPoint 中直接编辑,无需任何转换操作。同时还会生成一份 SVG 参考版(`_svg.pptx`),该版本需选中内容后右键 **"转换为形状"** (Convert to Shape) 方可编辑。需要 **Office 2016** 或更高版本。
+
+## Q: 三种执行师有什么区别?
+
+- **Executor_General**: 通用场景,灵活布局
+- **Executor_Consultant**: 一般咨询,数据可视化
+- **Executor_Consultant_Top**: 顶级咨询(MBB 级),5 大核心技巧
+
+## Q: 用 Claude 做 PPT 是不是很贵?
+
+取决于你怎么用。如果直接使用 API 或订阅额度,一份 PPT 大约需要 **$5**——但相比你花一两天手工制作一份 PPT,这个支出是合理的。
+
+更便宜的方案:**VS Code Copilot** 每月 $10 的订阅提供 300 次普通请求,换算成高级请求(Opus 级别)约 **100 次**。PPT Master 默认需要 2 轮交互确认(模板选择 + 八项确认),但如果你预先说明不使用模板,就只需 **1 轮确认——仅 2 段对话**(AI 提问,你确认)。这样每份 PPT 大约消耗 **6 次 Opus 请求**或 **2 次 Sonnet 请求**。按超出额度 $0.04 美元/次计算:
+
+| 模型 | 每份 PPT 请求数 | 超额成本 |
+|------|:---------------:|:--------:|
+| Opus | ~6 | ~$0.24 美元 |
+| Sonnet | ~2 | ~$0.08 美元 |
+
+对于一份完整的演示文稿来说,**$0.08–$0.24 美元**并不贵。
+
+## Q: 生成的图表可以编辑数据吗?
+
+图表以**自定义设计的 SVG 图形**形式渲染,转换为原生 PowerPoint 形状——而不是 Excel 驱动的图表对象。这使得图表外观精良,视觉效果通常优于 PowerPoint 默认图表样式。但图表的底层数据无法通过 PowerPoint 图表编辑器修改。如果你需要可实时更新数据的图表(例如通过编辑表格来刷新数据),需要在导出后自行将其替换为原生 PowerPoint 图表。
+
+## Q: 如何制作自定义模板?
+
+想把自己喜欢的 PPT 模板制作成 PPT Master 可调用的模板?按以下步骤操作:
+
+**第一步 — 准备参考材料**
+
+最简单的方式是将参考 PPT 的关键页面类型分别截图保存:欢迎页、目录页、章节页、内容页、结尾页。将截图放到同一个文件夹中,并使用规范的文件名(如 `cover.png`、`toc.png`、`chapter.png`、`content.png`、`closing.png`)。
+
+如果你已经有原始 `.pptx` 模板文件,也可以把它作为参考源一并提供。PPT Master 会先从 PPTX 中提取可复用的背景图、logo、主题色和字体信息,再把这些素材用于模板重建。
+
+**第二步 — 让 AI 创建模板**
+
+使用 AI 编程代理(Claude Code、Codex 等),要求它使用 **PPT Master 的 `/create-template` 工作流**,将这些参考材料转换成模板。在提示中需要提供:
+
+- 模板的英文名称和中文名称
+- 适用场景(如政府汇报、高端咨询、产品宣讲等)
+- 使用该模板时希望触发的特效和配色风格
+- 是否需要启用 AI 生图
+
+**第三步 — 等待完成**
+
+AI 代理会自动完成后续工作 — 分析截图、构建布局定义、注册模板,使其出现在 PPT Master 工作流的模板选项中。
+
+> **提示**:对风格和使用场景描述得越具体,生成的模板就越符合你的预期。
+
+---
+
+> 更多问题可先查看 [skills/ppt-master/SKILL.md](../../skills/ppt-master/SKILL.md) 与 [AGENTS.md](../../AGENTS.md)
diff --git a/docs/zh/technical-design.md b/docs/zh/technical-design.md
new file mode 100644
index 00000000..df08a32d
--- /dev/null
+++ b/docs/zh/technical-design.md
@@ -0,0 +1,88 @@
+# 技术路线
+
+[English](../technical-design.md) | [中文](./technical-design.md)
+
+---
+
+## 设计哲学 —— AI 是你的设计师,不是完工师
+
+生成的 PPTX 是一份**设计稿**,而非成品。把它理解成建筑师的效果图:AI 负责视觉设计、排版布局和内容结构,交付给你一个高质量的起点。要想获得真正精良的成品,**需要你自己在 PowerPoint 里做精装修**:换掉形状、细化图表、调整配色、把占位图形替换成原生对象。这个工具的目标是消除 90% 的从零开始的工作量,而不是替代人在最后一公里的判断。不要指望 AI 一遍搞定所有——好的演示文稿从来不是这样做出来的。
+
+**工具的上限是你的上限。** PPT Master 放大的是你已有的能力——你有设计感和内容判断力,它帮你快速落地;你不知道一个好的演示文稿应该长什么样,它也没法替你知道。输出的质量,归根结底是你自身品味与判断力的映射。
+
+---
+
+## 系统架构
+
+```
+用户输入 (PDF/DOCX/URL/Markdown)
+ ↓
+[源内容转换] → pdf_to_md.py / doc_to_md.py / web_to_md.py
+ ↓
+[创建项目] → project_manager.py init <项目名> --format <格式>
+ ↓
+[模板选项] A) 使用已有模板 B) 不使用模板
+ ↓
+[需要新模板?] → 使用 /create-template 工作流单独创建
+ ↓
+[Strategist] 策略师 - 八项确认与设计规范
+ ↓
+[Image_Generator] 图片生成师(当选择 AI 生成时)
+ ↓
+[Executor] 执行师 - 分阶段生成
+ ├── 视觉构建阶段:连续生成所有 SVG 页面 → svg_output/
+ └── 逻辑构建阶段:生成完整讲稿 → notes/total.md
+ ↓
+[后处理] → total_md_split.py(拆分讲稿)→ finalize_svg.py → svg_to_pptx.py
+ ↓
+输出: 自动生成两个文件:
+ ├── presentation.pptx ← 原生形状版(DrawingML)— 推荐用于编辑与交付
+ └── presentation_svg.pptx ← SVG 参考版 — 像素级视觉参考;在 PowerPoint 中选中内容
+ 后使用"转换为形状"可解锁单独元素的编辑
+```
+
+---
+
+## 技术流程
+
+**核心流程:AI 生成 SVG → 后处理转换为 DrawingML(PPTX)。**
+
+整个流程分为三个阶段:
+
+**第一阶段:内容理解与设计规划**
+源文档(PDF/DOCX/URL/Markdown)经过转换变为结构化文本,由 Strategist 角色完成内容分析、页面规划和设计风格确认,输出完整的设计规格。
+
+**第二阶段:AI 视觉生成**
+Executor 角色逐页生成演示文稿的视觉内容,输出为 SVG 文件。这个阶段的产物是**设计稿**,而非成品。
+
+**第三阶段:工程化转换**
+后处理脚本将 SVG 转换为 DrawingML,每一个形状都变成真正的 PowerPoint 原生对象——可点击、可编辑、可改色,而不是嵌入的图片。
+
+---
+
+## 为什么是 SVG?
+
+SVG 是这套流程的核心枢纽。这个选择是通过逐一排除其他方案得出的。
+
+**直接生成 DrawingML** 看起来最直接——跳过中间格式,AI 直接输出 PowerPoint 的底层 XML。但 DrawingML 极其繁琐,一个简单的圆角矩形就需要数十行嵌套 XML,AI 的训练数据中远少于 SVG,生成质量不稳定,调试几乎无法肉眼完成。
+
+**HTML/CSS** 是 AI 最熟悉的格式之一,但 HTML 和 PowerPoint 有根本不同的世界观。HTML 描述的是**文档**——标题、段落、列表,元素的位置由内容流动决定。PowerPoint 描述的是**画布**——每个元素都是独立的、绝对定位的对象,没有流,没有上下文关系。这不只是排版计算的问题,而是两种完全不同的内容组织方式之间的鸿沟。就算解决了浏览器排版引擎的问题(Chromium 用数百万行代码做这件事),HTML 里的一个 `<table>` 也没法自然地变成 PPT 里的几个独立形状。
+
+**WMF/EMF**(Windows 图元文件)是微软自家的原生矢量图形格式,与 DrawingML 有直接的血缘关系——理论上转换损耗最小。但 AI 对它几乎没有训练数据,这条路死在起点。值得注意的是:连微软自家的格式在这里都输给了 SVG。
+
+**SVG 作为嵌入图片** 是最简单的路线——把整张幻灯片渲染成图片塞进 PPT。但这样完全丧失可编辑性,形状变成像素,文字无法选中,颜色无法修改,和截图没有本质区别。
+
+SVG 胜出,因为它与 DrawingML 拥有相同的世界观:两者都是绝对坐标的二维矢量图形格式,共享同一套概念体系:
+
+| SVG | DrawingML |
+|---|---|
+| `<path d="...">` | `<a:custGeom>` |
+| `<rect rx="...">` | `<a:prstGeom prst="roundRect">` |
+| `<circle>` / `<ellipse>` | `<a:prstGeom prst="ellipse">` |
+| `transform="translate/scale/rotate"` | `<a:xfrm>` |
+| `linearGradient` / `radialGradient` | `<a:gradFill>` |
+| `fill-opacity` / `stroke-opacity` | `<a:alpha>` |
+
+转换不是格式错配,而是两种方言之间的精确翻译。
+
+SVG 也是唯一同时满足流程中所有角色需要的格式:**AI 能可靠地生成它,人能在任意浏览器里直接预览和调试,脚本能精确地转换它**——在生成任何 DrawingML 之前,设计稿就已经完全透明可见。