Loading...
Loading...
Compare original and translation side by side
/canghe-slide-deck path/to/content.md
/canghe-slide-deck path/to/content.md --style sketch-notes
/canghe-slide-deck path/to/content.md --audience executives
/canghe-slide-deck path/to/content.md --lang zh
/canghe-slide-deck path/to/content.md --slides 10
/canghe-slide-deck path/to/content.md --outline-only
/canghe-slide-deck # Then paste content/canghe-slide-deck path/to/content.md
/canghe-slide-deck path/to/content.md --style sketch-notes
/canghe-slide-deck path/to/content.md --audience executives
/canghe-slide-deck path/to/content.md --lang zh
/canghe-slide-deck path/to/content.md --slides 10
/canghe-slide-deck path/to/content.md --outline-only
/canghe-slide-deck # 然后粘贴内容SKILL_DIR${SKILL_DIR}/scripts/<script-name>.ts| Script | Purpose |
|---|---|
| Merge slides into PowerPoint |
| Merge slides into PDF |
SKILL_DIR${SKILL_DIR}/scripts/<script-name>.ts| 脚本 | 用途 |
|---|---|
| 将幻灯片合并为PowerPoint文件 |
| 将幻灯片合并为PDF文件 |
| Option | Description |
|---|---|
| Visual style: preset name, |
| Target: beginners, intermediate, experts, executives, general |
| Output language (en, zh, ja, etc.) |
| Target slide count (8-25 recommended, max 30) |
| Generate outline only, skip image generation |
| Generate outline + prompts, skip images |
| Generate images from existing prompts directory |
| Regenerate specific slide(s): |
| Content | Slides |
|---|---|
| < 1000 words | 5-10 |
| 1000-3000 words | 10-18 |
| 3000-5000 words | 15-25 |
| > 5000 words | 20-30 (consider splitting) |
| 选项 | 描述 |
|---|---|
| 视觉样式:预设名称、 |
| 目标受众:beginners(初学者)、intermediate(中级用户)、experts(专家)、executives(高管)、general(普通用户) |
| 输出语言(en、zh、ja等) |
| 目标幻灯片数量(推荐8-25张,最多30张) |
| 仅生成大纲,跳过图片生成 |
| 生成大纲和提示词,跳过图片生成 |
| 根据现有提示词目录生成图片 |
| 重新生成指定幻灯片: |
| 内容 | 幻灯片数量 |
|---|---|
| 少于1000词 | 5-10张 |
| 1000-3000词 | 10-18张 |
| 3000-5000词 | 15-25张 |
| 超过5000词 | 20-30张(建议拆分内容) |
| Preset | Dimensions | Best For |
|---|---|---|
| grid + cool + technical + balanced | Architecture, system design |
| organic + warm + handwritten + balanced | Education, tutorials |
| clean + professional + geometric + balanced | Investor decks, proposals |
| clean + neutral + geometric + minimal | Executive briefings |
| organic + warm + handwritten + balanced | Educational, tutorials |
| organic + warm + humanist + minimal | Lifestyle, wellness |
| clean + dark + editorial + balanced | Entertainment, gaming |
| clean + neutral + geometric + dense | Product demos, SaaS |
| clean + vibrant + editorial + balanced | Product launches, keynotes |
| clean + cool + editorial + dense | Tech explainers, research |
| organic + vibrant + handwritten + minimal | Educational storytelling |
| clean + cool + technical + dense | Technical docs, academic |
| pixel + vibrant + technical + balanced | Gaming, developer talks |
| clean + cool + technical + dense | Biology, chemistry, medical |
| clean + vibrant + humanist + balanced | Creative, children's content |
| paper + warm + editorial + balanced | Historical, heritage |
| 预设 | 风格维度 | 适用场景 |
|---|---|---|
| grid(网格)+ cool(冷色调)+ technical(技术风)+ balanced(均衡) | 架构设计、系统设计 |
| organic(有机)+ warm(暖色调)+ handwritten(手写体)+ balanced(均衡) | 教育、教程 |
| clean(简洁)+ professional(专业)+ geometric(几何风)+ balanced(均衡) | 投资者演示文稿、提案 |
| clean(简洁)+ neutral(中性)+ geometric(几何风)+ minimal(极简) | 高管简报 |
| organic(有机)+ warm(暖色调)+ handwritten(手写体)+ balanced(均衡) | 教育、教程 |
| organic(有机)+ warm(暖色调)+ humanist(人文风)+ minimal(极简) | 生活方式、健康养生 |
| clean(简洁)+ dark(深色)+ editorial(编辑风)+ balanced(均衡) | 娱乐、游戏 |
| clean(简洁)+ neutral(中性)+ geometric(几何风)+ dense(信息密集) | 产品演示、SaaS |
| clean(简洁)+ vibrant(鲜艳)+ editorial(编辑风)+ balanced(均衡) | 产品发布、主题演讲 |
| clean(简洁)+ cool(冷色调)+ editorial(编辑风)+ dense(信息密集) | 技术讲解、研究报告 |
| organic(有机)+ vibrant(鲜艳)+ handwritten(手写体)+ minimal(极简) | 教育类故事讲述 |
| clean(简洁)+ cool(冷色调)+ technical(技术风)+ dense(信息密集) | 技术文档、学术内容 |
| pixel(像素)+ vibrant(鲜艳)+ technical(技术风)+ balanced(均衡) | 游戏、开发者分享 |
| clean(简洁)+ cool(冷色调)+ technical(技术风)+ dense(信息密集) | 生物、化学、医学 |
| clean(简洁)+ vibrant(鲜艳)+ humanist(人文风)+ balanced(均衡) | 创意内容、儿童内容 |
| paper(纸张纹理)+ warm(暖色调)+ editorial(编辑风)+ balanced(均衡) | 历史、文化遗产 |
| Dimension | Options | Description |
|---|---|---|
| Texture | clean, grid, organic, pixel, paper | Visual texture and background treatment |
| Mood | professional, warm, cool, vibrant, dark, neutral | Color temperature and palette style |
| Typography | geometric, humanist, handwritten, editorial, technical | Headline and body text styling |
| Density | minimal, balanced, dense | Information density per slide |
references/dimensions/*.md| 维度 | 选项 | 描述 |
|---|---|---|
| Texture(纹理) | clean(简洁)、grid(网格)、organic(有机)、pixel(像素)、paper(纸张) | 视觉纹理和背景处理 |
| Mood(色调) | professional(专业)、warm(暖色调)、cool(冷色调)、vibrant(鲜艳)、dark(深色)、neutral(中性) | 色温与调色板风格 |
| Typography(排版) | geometric(几何风)、humanist(人文风)、handwritten(手写体)、editorial(编辑风)、technical(技术风) | 标题和正文文本样式 |
| Density(信息密度) | minimal(极简)、balanced(均衡)、dense(密集) | 单页幻灯片的信息密度 |
references/dimensions/*.md| Content Signals | Preset |
|---|---|
| tutorial, learn, education, guide, beginner | |
| classroom, teaching, school, chalkboard | |
| architecture, system, data, analysis, technical | |
| creative, children, kids, cute | |
| briefing, academic, research, bilingual | |
| executive, minimal, clean, simple | |
| saas, product, dashboard, metrics | |
| investor, quarterly, business, corporate | |
| launch, marketing, keynote, magazine | |
| entertainment, music, gaming, atmospheric | |
| explainer, journalism, science communication | |
| story, fantasy, animation, magical | |
| gaming, retro, pixel, developer | |
| biology, chemistry, medical, scientific | |
| history, heritage, vintage, expedition | |
| lifestyle, wellness, travel, artistic | |
| Default | |
| 内容特征 | 推荐预设 |
|---|---|
| tutorial(教程)、learn(学习)、education(教育)、guide(指南)、beginner(初学者) | |
| classroom(课堂)、teaching(教学)、school(学校)、chalkboard(黑板) | |
| architecture(架构)、system(系统)、data(数据)、analysis(分析)、technical(技术) | |
| creative(创意)、children(儿童)、kids(孩子)、cute(可爱) | |
| briefing(简报)、academic(学术)、research(研究)、bilingual(双语) | |
| executive(高管)、minimal(极简)、clean(简洁)、simple(简单) | |
| saas、product(产品)、dashboard(仪表盘)、metrics(指标) | |
| investor(投资者)、quarterly(季度)、business(商业)、corporate(企业) | |
| launch(发布)、marketing(营销)、keynote(主题演讲)、magazine(杂志) | |
| entertainment(娱乐)、music(音乐)、gaming(游戏)、atmospheric(氛围感) | |
| explainer(讲解)、journalism(新闻)、science communication(科学传播) | |
| story(故事)、fantasy(奇幻)、animation(动画)、magical(魔幻) | |
| gaming(游戏)、retro(复古)、pixel(像素)、developer(开发者) | |
| biology(生物)、chemistry(化学)、medical(医学)、scientific(科学) | |
| history(历史)、heritage(遗产)、vintage(复古)、expedition(探险) | |
| lifestyle(生活方式)、wellness(健康)、travel(旅行)、artistic(艺术) | |
| 默认 | |
references/design-guidelines.mdreferences/layouts.mdreferences/design-guidelines.mdreferences/layouts.mdslide-deck/{topic-slug}/
├── source-{slug}.{ext}
├── outline.md
├── prompts/
│ └── 01-slide-cover.md, 02-slide-{slug}.md, ...
├── 01-slide-cover.png, 02-slide-{slug}.png, ...
├── {topic-slug}.pptx
└── {topic-slug}.pdfintro-machine-learningslide-deck/{topic-slug}/
├── source-{slug}.{ext}
├── outline.md
├── prompts/
│ └── 01-slide-cover.md, 02-slide-{slug}.md, ...
├── 01-slide-cover.png, 02-slide-{slug}.png, ...
├── {topic-slug}.pptx
└── {topic-slug}.pdfintro-machine-learning--langlanguage--langlanguageSlide Deck Progress:
- [ ] Step 1: Setup & Analyze
- [ ] 1.1 Load preferences
- [ ] 1.2 Analyze content
- [ ] 1.3 Check existing ⚠️ REQUIRED
- [ ] Step 2: Confirmation ⚠️ REQUIRED (Round 1, optional Round 2)
- [ ] Step 3: Generate outline
- [ ] Step 4: Review outline (conditional)
- [ ] Step 5: Generate prompts
- [ ] Step 6: Review prompts (conditional)
- [ ] Step 7: Generate images
- [ ] Step 8: Merge to PPTX/PDF
- [ ] Step 9: Output summary幻灯片组进度:
- [ ] 步骤1:设置与分析
- [ ] 1.1 加载偏好设置
- [ ] 1.2 分析内容
- [ ] 1.3 检查现有内容 ⚠️ 必填
- [ ] 步骤2:确认 ⚠️ 必填(第一轮必填,第二轮可选)
- [ ] 步骤3:生成大纲
- [ ] 步骤4:审核大纲(可选)
- [ ] 步骤5:生成提示词
- [ ] 步骤6:审核提示词(可选)
- [ ] 步骤7:生成图片
- [ ] 步骤8:合并为PPTX/PDF
- [ ] 步骤9:输出总结Input → Preferences → Analyze → [Check Existing?] → Confirm (1-2 rounds) → Outline → [Review Outline?] → Prompts → [Review Prompts?] → Images → Merge → Complete输入 → 偏好设置 → 分析 → [检查现有内容?] → 确认(1-2轮)→ 大纲 → [审核大纲?] → 提示词 → [审核提示词?] → 图片 → 合并 → 完成undefinedundefined
┌──────────────────────────────────────────────────┬───────────────────┐
│ Path │ Location │
├──────────────────────────────────────────────────┼───────────────────┤
│ .canghe-skills/canghe-slide-deck/EXTEND.md │ Project directory │
├──────────────────────────────────────────────────┼───────────────────┤
│ $HOME/.canghe-skills/canghe-slide-deck/EXTEND.md │ User home │
└──────────────────────────────────────────────────┴───────────────────┘
**When EXTEND.md Found** → Read, parse, **output summary to user**:
**When EXTEND.md Not Found** → First-time setup using AskUserQuestion or proceed with defaults.
**EXTEND.md Supports**: Preferred style | Custom dimensions | Default audience | Language preference | Review preference
Schema: `references/config/preferences-schema.md`
**1.2 Analyze Content**
1. Save source content (if pasted, save as `source.md`)
- **Backup rule**: If `source.md` exists, rename to `source-backup-YYYYMMDD-HHMMSS.md`
2. Follow `references/analysis-framework.md` for content analysis
3. Analyze content signals for style recommendations
4. Detect source language
5. Determine recommended slide count
6. Generate topic slug from content
**1.3 Check Existing Content** ⚠️ REQUIRED
**MUST execute before proceeding to Step 2.**
Use Bash to check if output directory exists:
```bash
test -d "slide-deck/{topic-slug}" && echo "exists"header: "Existing"
question: "Existing content found. How to proceed?"
options:
- label: "Regenerate outline"
description: "Keep images, regenerate outline only"
- label: "Regenerate images"
description: "Keep outline, regenerate images only"
- label: "Backup and regenerate"
description: "Backup to {slug}-backup-{timestamp}, then regenerate all"
- label: "Exit"
description: "Cancel, keep existing content unchanged"analysis.md
┌──────────────────────────────────────────────────┬───────────────────┐
│ 路径 │ 位置 │
├──────────────────────────────────────────────────┼───────────────────┤
│ .canghe-skills/canghe-slide-deck/EXTEND.md │ 项目目录 │
├──────────────────────────────────────────────────┼───────────────────┤
│ $HOME/.canghe-skills/canghe-slide-deck/EXTEND.md │ 用户主目录 │
└──────────────────────────────────────────────────┴───────────────────┘
**找到EXTEND.md时** → 读取、解析并**向用户输出总结**:
**未找到EXTEND.md时** → 使用AskUserQuestion进行首次设置,或使用默认值继续。
**EXTEND.md支持**:偏好样式 | 自定义维度 | 默认受众 | 语言偏好 | 审核偏好
Schema:`references/config/preferences-schema.md`
**1.2 分析内容**
1. 保存源内容(如果是粘贴的内容,保存为`source.md`)
- **备份规则**:如果`source.md`已存在,重命名为`source-backup-YYYYMMDD-HHMMSS.md`
2. 按照`references/analysis-framework.md`进行内容分析
3. 分析内容特征以推荐样式
4. 检测源内容语言
5. 确定推荐的幻灯片数量
6. 从内容中生成主题slug
**1.3 检查现有内容** ⚠️ 必填
**必须在进入步骤2前执行此操作**。
使用Bash检查输出目录是否存在:
```bash
test -d "slide-deck/{topic-slug}" && echo "exists"header: "现有内容"
question: "检测到现有内容,如何处理?"
options:
- label: "重新生成大纲"
description: "保留图片,仅重新生成大纲"
- label: "重新生成图片"
description: "保留大纲,仅重新生成图片"
- label: "备份并重新生成"
description: "备份到{slug}-backup-{timestamp},然后重新生成所有内容"
- label: "退出"
description: "取消操作,保留现有内容不变"analysis.mdheader: "Style"
question: "Which visual style for this deck?"
options:
- label: "{recommended_preset} (Recommended)"
description: "Best match based on content analysis"
- label: "{alternative_preset}"
description: "[alternative style description]"
- label: "Custom dimensions"
description: "Choose texture, mood, typography, density separately"header: "Audience"
question: "Who is the primary reader?"
options:
- label: "General readers (Recommended)"
description: "Broad appeal, accessible content"
- label: "Beginners/learners"
description: "Educational focus, clear explanations"
- label: "Experts/professionals"
description: "Technical depth, domain knowledge"
- label: "Executives"
description: "High-level insights, minimal detail"header: "Slides"
question: "How many slides?"
options:
- label: "{N} slides (Recommended)"
description: "Based on content length"
- label: "Fewer ({N-3} slides)"
description: "More condensed, less detail"
- label: "More ({N+3} slides)"
description: "More detailed breakdown"header: "Outline"
question: "Review outline before generating prompts?"
options:
- label: "Yes, review outline (Recommended)"
description: "Review slide titles and structure"
- label: "No, skip outline review"
description: "Proceed directly to prompt generation"header: "Prompts"
question: "Review prompts before generating images?"
options:
- label: "Yes, review prompts (Recommended)"
description: "Review image generation prompts"
- label: "No, skip prompt review"
description: "Proceed directly to image generation"header: "样式"
question: "此演示文稿使用哪种视觉样式?"
options:
- label: "{recommended_preset}(推荐)"
description: "基于内容分析的最佳匹配"
- label: "{alternative_preset}"
description: "[替代样式描述]"
- label: "自定义维度"
description: "分别选择纹理、色调、排版、信息密度"header: "受众"
question: "主要读者群体是?"
options:
- label: "普通读者(推荐)"
description: "受众广泛,内容通俗易懂"
- label: "初学者/学习者"
description: "侧重教育,解释清晰"
- label: "专家/专业人士"
description: "技术深度,面向领域从业者"
- label: "高管"
description: "高层视角,细节精简"header: "幻灯片数量"
question: "需要多少张幻灯片?"
options:
- label: "{N}张(推荐)"
description: "基于内容长度"
- label: "更少({N-3}张)"
description: "内容更凝练,细节更少"
- label: "更多({N+3}张)"
description: "内容更细化,分解更详细"header: "大纲"
question: "生成提示词前是否审核大纲?"
options:
- label: "是,审核大纲(推荐)"
description: "审核幻灯片标题和结构"
- label: "否,跳过大纲审核"
description: "直接进入提示词生成环节"header: "提示词"
question: "生成图片前是否审核提示词?"
options:
- label: "是,审核提示词(推荐)"
description: "审核图片生成提示词"
- label: "否,跳过提示词审核"
description: "直接进入图片生成环节"header: "Texture"
question: "Which visual texture?"
options:
- label: "clean"
description: "Pure solid color, no texture"
- label: "grid"
description: "Subtle grid overlay, technical"
- label: "organic"
description: "Soft textures, hand-drawn feel"
- label: "pixel"
description: "Chunky pixels, 8-bit aesthetic"header: "Mood"
question: "Which color mood?"
options:
- label: "professional"
description: "Cool-neutral, navy/gold"
- label: "warm"
description: "Earth tones, friendly"
- label: "cool"
description: "Blues, grays, analytical"
- label: "vibrant"
description: "High saturation, bold"header: "Typography"
question: "Which typography style?"
options:
- label: "geometric"
description: "Modern sans-serif, clean"
- label: "humanist"
description: "Friendly, readable"
- label: "handwritten"
description: "Marker/brush, organic"
- label: "editorial"
description: "Magazine style, dramatic"header: "Density"
question: "Information density?"
options:
- label: "balanced (Recommended)"
description: "2-3 key points per slide"
- label: "minimal"
description: "One focus point, maximum whitespace"
- label: "dense"
description: "Multiple data points, compact"analysis.mdskip_outline_reviewskip_prompt_reviewheader: "纹理"
question: "使用哪种视觉纹理?"
options:
- label: "clean(简洁)"
description: "纯纯色,无纹理"
- label: "grid(网格)"
description: "细微网格叠加,技术风"
- label: "organic(有机)"
description: "柔和纹理,手绘质感"
- label: "pixel(像素)"
description: "块状像素,8-bit美学"header: "色调"
question: "使用哪种颜色色调?"
options:
- label: "professional(专业)"
description: "冷中性色调,深蓝/金色"
- label: "warm(暖色调)"
description: "大地色系,友好感"
- label: "cool(冷色调)"
description: "蓝色、灰色,分析感"
- label: "vibrant(鲜艳)"
description: "高饱和度,大胆醒目"header: "排版"
question: "使用哪种排版样式?"
options:
- label: "geometric(几何风)"
description: "现代无衬线字体,简洁"
- label: "humanist(人文风)"
description: "友好,可读性强"
- label: "handwritten(手写体)"
description: "马克笔/毛笔质感,有机风格"
- label: "editorial(编辑风)"
description: "杂志风格,富有戏剧性"header: "信息密度"
question: "信息密度如何设置?"
options:
- label: "balanced(均衡,推荐)"
description: "每页2-3个关键点"
- label: "minimal(极简)"
description: "单个焦点,最大留白"
- label: "dense(密集)"
description: "多个数据点,紧凑布局"analysis.mdskip_outline_reviewskip_prompt_reviewreferences/styles/{preset}.mdreferences/dimensions/references/outline-template.mdoutline.md--outline-onlyskip_outline_reviewskip_outline_reviewreferences/styles/{preset}.mdreferences/dimensions/references/outline-template.mdoutline.md--outline-onlyskip_outline_reviewskip_outline_review| # | Title | Type | Layout |
|---|-------|------|--------|
| 1 | [title] | Cover | title-hero |
| 2 | [title] | Content | [layout] |
| 3 | [title] | Content | [layout] |
| ... | ... | ... | ... |header: "Confirm"
question: "Ready to generate prompts?"
options:
- label: "Yes, proceed (Recommended)"
description: "Generate image prompts"
- label: "Edit outline first"
description: "I'll modify outline.md before continuing"
- label: "Regenerate outline"
description: "Create new outline with different approach"outline.md| 序号 | 标题 | 类型 | 布局 |
|---|-------|------|--------|
| 1 | [标题] | 封面 | title-hero |
| 2 | [标题] | 内容 | [布局] |
| 3 | [标题] | 内容 | [布局] |
| ... | ... | ... | ... |header: "确认"
question: "准备好生成提示词了吗?"
options:
- label: "是,继续(推荐)"
description: "生成图片提示词"
- label: "先编辑大纲"
description: "我会先修改outline.md再继续"
- label: "重新生成大纲"
description: "用不同方式创建新大纲"outline.mdreferences/base-prompt.mdLayout:references/layouts.mdprompts/prompts/NN-slide-{slug}-backup-YYYYMMDD-HHMMSS.md--prompts-onlyskip_prompt_reviewskip_prompt_reviewreferences/base-prompt.mdLayout:references/layouts.mdprompts/prompts/NN-slide-{slug}-backup-YYYYMMDD-HHMMSS.md--prompts-onlyskip_prompt_reviewskip_prompt_review| # | Filename | Slide Title |
|---|----------|-------------|
| 1 | 01-slide-cover.md | [title] |
| 2 | 02-slide-xxx.md | [title] |
| ... | ... | ... |prompts/header: "Confirm"
question: "Ready to generate slide images?"
options:
- label: "Yes, proceed (Recommended)"
description: "Generate all slide images"
- label: "Edit prompts first"
description: "I'll modify prompts before continuing"
- label: "Regenerate prompts"
description: "Create new prompts with different approach"| 序号 | 文件名 | 幻灯片标题 |
|---|----------|-------------|
| 1 | 01-slide-cover.md | [标题] |
| 2 | 02-slide-xxx.md | [标题] |
| ... | ... | ... |prompts/header: "确认"
question: "准备好生成幻灯片图片了吗?"
options:
- label: "是,继续(推荐)"
description: "生成所有幻灯片图片"
- label: "先编辑提示词"
description: "我会先修改提示词再继续"
- label: "重新生成提示词"
description: "用不同方式创建新提示词"--images-only--regenerate Nslides-{topic-slug}-{timestamp}NN-slide-{slug}-backup-YYYYMMDD-HHMMSS.png--images-only--regenerate Nslides-{topic-slug}-{timestamp}NN-slide-{slug}-backup-YYYYMMDD-HHMMSS.pngnpx -y bun ${SKILL_DIR}/scripts/merge-to-pptx.ts <slide-deck-dir>
npx -y bun ${SKILL_DIR}/scripts/merge-to-pdf.ts <slide-deck-dir>npx -y bun ${SKILL_DIR}/scripts/merge-to-pptx.ts <slide-deck-dir>
npx -y bun ${SKILL_DIR}/scripts/merge-to-pdf.ts <slide-deck-dir>Slide Deck Complete!
Topic: [topic]
Style: [preset name or custom dimensions]
Location: [directory path]
Slides: N total
- 01-slide-cover.png - Cover
- 02-slide-intro.png - Content
- ...
- {NN}-slide-back-cover.png - Back Cover
Outline: outline.md
PPTX: {topic-slug}.pptx
PDF: {topic-slug}.pdf幻灯片组生成完成!
主题:[主题]
样式:[预设名称或自定义维度]
位置:[目录路径]
总幻灯片数:N张
- 01-slide-cover.png - 封面
- 02-slide-intro.png - 内容
- ...
- {NN}-slide-back-cover.png - 封底
大纲:outline.md
PPTX文件:{topic-slug}.pptx
PDF文件:{topic-slug}.pdf| Option | Workflow |
|---|---|
| Steps 1-3 only (stop after outline) |
| Steps 1-5 (generate prompts, skip images) |
| Skip to Step 7 (requires existing prompts/) |
| Regenerate specific slide(s) only |
| 选项 | 工作流程 |
|---|---|
| 仅步骤1-3(生成大纲后停止) |
| 步骤1-5(生成提示词,跳过图片生成) |
| 跳至步骤7(需要现有prompts/目录) |
| 仅重新生成指定幻灯片 |
--prompts-only--prompts-only/canghe-slide-deck content.md --prompts-onlyoutline.mdprompts/*.md/canghe-slide-deck content.md --prompts-onlyoutline.mdprompts/*.md--images-only--images-only/canghe-slide-deck slide-deck/topic-slug/ --images-onlyprompts/outline.md/canghe-slide-deck slide-deck/topic-slug/ --images-onlyprompts/outline.md--regenerate--regenerateundefinedundefined
Flow:
1. Read existing prompts for specified slides
2. Regenerate images only for those slides
3. Regenerate PPTX/PDF
流程:
1. 读取指定幻灯片的现有提示词
2. 仅重新生成这些幻灯片的图片
3. 重新生成PPTX/PDF| Action | Command | Manual Steps |
|---|---|---|
| Edit | | Update prompt file FIRST → Regenerate image → Regenerate PDF |
| Add | Manual | Create prompt → Generate image → Renumber subsequent → Update outline → Regenerate PDF |
| Delete | Manual | Remove files → Renumber subsequent → Update outline → Regenerate PDF |
| 操作 | 命令 | 手动步骤 |
|---|---|---|
| 编辑 | | 先更新提示词文件 → 重新生成图片 → 重新生成PDF |
| 添加 | 手动 | 创建提示词 → 生成图片 → 后续文件重新编号 → 更新大纲 → 重新生成PDF |
| 删除 | 手动 | 删除文件 → 后续文件重新编号 → 更新大纲 → 重新生成PDF |
prompts/NN-slide-{slug}.md/canghe-slide-deck <dir> --regenerate Nprompts/NN-slide-{slug}.mdprompts/NN-slide-{slug}.md/canghe-slide-deck <dir> --regenerate Nprompts/NN-slide-{slug}.mdprompts/NN-slide-{new-slug}.mdoutline.mdprompts/NN-slide-{new-slug}.mdoutline.mdNN-slide-{slug}.pngprompts/NN-slide-{slug}.mdoutline.mdNN-slide-{slug}.pngprompts/NN-slide-{slug}.mdoutline.mdNN-slide-[slug].pngNNslugreferences/modification-guide.mdNN-slide-[slug].pngNNslugreferences/modification-guide.md| File | Content |
|---|---|
| Content analysis for presentations |
| Outline structure and format |
| Edit, add, delete slide workflows |
| Content and style guidelines |
| Audience, typography, colors, visual elements |
| Layout options and selection tips |
| Base prompt for image generation |
| Dimension specifications (texture, mood, typography, density) |
| Preset → dimension mapping |
| Full style specifications (legacy) |
| EXTEND.md structure |
| 文件 | 内容 |
|---|---|
| 演示文稿内容分析框架 |
| 大纲结构与格式 |
| 编辑、添加、删除幻灯片的工作流程 |
| 内容与样式指南 |
| 受众、排版、颜色、视觉元素指南 |
| 布局选项与选择技巧 |
| 图片生成基础提示词 |
| 维度规格(纹理、色调、排版、信息密度) |
| 预设→维度映射 |
| 完整样式规格(旧版) |
| EXTEND.md结构 |