slide-creator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSlide Creation Toolkit
幻灯片创建工具包
Create professional Marp/Marpit presentations, diagrams, and color systems with a consistent design language.
使用统一的设计语言创建专业的Marp/Marpit演示文稿、图表和色彩系统。
Core rules
核心规则
- Use (background) syntax for all images - Reduces manual resizing with
bgmodifierfit - Define one 7-role color palette and reuse it in slides and SVGs.
- Define one spacing unit (e.g., 8px or 16px) and reuse it across layouts.
- Define text hierarchy tiers (title/section/body) with sizes and weights; use them consistently.
- For SVGs, use one stroke width and one corner radius across shapes.
- 所有图片均使用(背景)语法 - 配合
bg修饰符减少手动调整大小的操作fit - 定义一套包含7种角色的调色板,并在幻灯片和SVG中复用。
- 定义一个间距单位(如8px或16px),并在所有布局中复用。
- 定义文本层级(标题/章节/正文)的字号和字重;保持使用一致性。
- 对于SVG,所有形状使用统一的描边宽度和圆角半径。
Design guidance (non-enforceable)
设计指南(非强制要求)
- Aim for clear visual hierarchy with size, weight, and saturation.
- Prefer one visual language (fill vs outline, emphasis rules).
- Minimize visual noise; keep one primary visual anchor per section.
- 利用字号、字重和饱和度打造清晰的视觉层级。
- 偏好统一的视觉风格(填充 vs 轮廓、强调规则)。
- 尽量减少视觉干扰;每个章节保留一个主要视觉锚点。
Working directory
工作目录
This umbrella skill does not own module assets or scripts.
Use the focused skills (, , ) for paths and commands.
marp-authoringslide-color-designsvg-illustration此综合技能不包含模块资源或脚本。
如需路径和命令,请使用专项技能(、、)。
marp-authoringslide-color-designsvg-illustrationStart here (task entry)
从此开始(任务入口)
Entry skills (fast routing):
- → Marp/Marpit authoring rules, layouts, themes
marp-authoring - → palette workflow and color roles
slide-color-design - → SVG diagram rules, patterns, embedding
svg-illustration
Pick one task and follow the exact reading path:
- Color palette only →
slide-color-design - Slides only (no diagrams) →
marp-authoring - Diagram only →
svg-illustration - Slides + diagrams → →
marp-authoringsvg-illustration - Full deck (colors + slides + diagrams) → →
slide-color-design→marp-authoringsvg-illustration
入口技能(快速路由):
- → Marp/Marpit创作规则、布局、主题
marp-authoring - → 调色板工作流和色彩角色
slide-color-design - → SVG图表规则、模式、嵌入方法
svg-illustration
选择一个任务并遵循指定的操作路径:
- 仅制作调色板 →
slide-color-design - 仅制作幻灯片(无图表) →
marp-authoring - 仅制作图表 →
svg-illustration - 幻灯片 + 图表 → →
marp-authoringsvg-illustration - 完整演示文稿(色彩 + 幻灯片 + 图表) → →
slide-color-design→marp-authoringsvg-illustration
One-page quick reference
单页快速参考
Minimal steps (fast path):
- Pick a palette → .
slide-color-design - Draft slides → .
marp-authoring - Add SVG diagrams → .
svg-illustration - Validate via the module skills.
Common commands:
- → palette scripts
slide-color-design - → Marp validation/preview
marp-authoring - → SVG linting
svg-illustration
Output summary: Use module-specific output examples via the entry skills.
最简步骤(快速路径):
- 选择调色板 →
slide-color-design - 草拟幻灯片 →
marp-authoring - 添加SVG图表 →
svg-illustration - 通过模块技能进行验证
常用命令:
- → 调色板脚本
slide-color-design - → Marp验证/预览
marp-authoring - → SVG代码检查
svg-illustration
输出摘要: 通过入口技能查看模块专属的输出示例。
Quick Start
快速开始
Two Ways to Start
两种启动方式
Option 1: Use scripts (automated):
bash
uv run skills/marp-authoring/scripts/init_presentation.py technical-dark my-deck.md "My Title" "Author"Option 2: Work manually (full control):
- Copy a template from →
marp-authoring→ customizeassets/templates/ - Design colors via
slide-color-design - Write slides via
marp-authoring - Add diagrams via
svg-illustration
Study examples first: Read → to see working presentations before starting.
marp-authoringassets/examples/方式1:使用脚本(自动化):
bash
uv run skills/marp-authoring/scripts/init_presentation.py technical-dark my-deck.md "My Title" "Author"方式2:手动操作(完全可控):
- 从→
marp-authoring中复制模板并自定义assets/templates/ - 通过设计色彩
slide-color-design - 通过撰写幻灯片
marp-authoring - 通过添加图表
svg-illustration
先学习示例: 开始前请阅读 → 中的可用演示文稿。
marp-authoringassets/examples/Script Commands
脚本命令
Use for palette scripts and outputs.
slide-color-designTemplates (starting points - copy and fill in your content):
- Use →
marp-authoring.assets/templates/
Examples (learning references - study patterns and copy techniques):
- →
marp-authoringfor slide patterns.assets/examples/ - →
svg-illustrationfor diagram examples.assets/examples/ - →
slide-color-designfor palette examples.assets/examples/
Common icons (ready to use in slides):
- →
marp-authoring.assets/icons/
使用获取调色板脚本和输出内容。
slide-color-design模板(起点 - 复制并填充内容):
- 使用→
marp-authoring中的模板。assets/templates/
示例(学习参考 - 研究模式并复制技巧):
- →
marp-authoring中的幻灯片模式assets/examples/ - →
svg-illustration中的图表示例assets/examples/ - →
slide-color-design中的调色板示例assets/examples/
常用图标(可直接用于幻灯片):
- →
marp-authoringassets/icons/
Quick index (where to look)
快速索引(查找位置)
- Reference hub:
references/index.md - Color design:
slide-color-design - Marpit authoring:
marp-authoring - SVG illustration:
svg-illustration - Decision guide:
references/decision-guide.md
- 参考中心:
references/index.md - 色彩设计:
slide-color-design - Marpit创作:
marp-authoring - SVG插图:
svg-illustration - 决策指南:
references/decision-guide.md
Modules
模块
Use the focused skills for module-specific rules and references:
- Color design →
slide-color-design - Marpit authoring →
marp-authoring - SVG illustration →
svg-illustration
使用专项技能获取模块专属规则和参考内容:
- 色彩设计 →
slide-color-design - Marpit创作 →
marp-authoring - SVG插图 →
svg-illustration
Workflow
工作流
Single tasks
单一任务
Draw a diagram:
- Use for core rules and patterns.
svg-illustration - Choose colors via or existing palette.
slide-color-design
Design slide colors:
- Use for workflow and templates.
slide-color-design
Write slides:
- Use for syntax and layout patterns.
marp-authoring - Apply a palette from .
slide-color-design
制作图表:
- 使用获取核心规则和模式
svg-illustration - 通过或现有调色板选择色彩
slide-color-design
设计幻灯片色彩:
- 使用获取工作流和模板
slide-color-design
撰写幻灯片:
- 使用获取语法和布局模式
marp-authoring - 应用中的调色板
slide-color-design
Full presentation
完整演示文稿
- Establish a palette with the color module.
- Outline slides and author via .
marp-authoring - Add diagrams via .
svg-illustration - Keep palette, spacing, and hierarchy consistent.
- 通过色彩模块建立调色板
- 规划幻灯片大纲并通过创作
marp-authoring - 通过添加图表
svg-illustration - 保持调色板、间距和层级的一致性
Decision guide
决策指南
See references/decision-guide.md for a flowchart and loading strategy.
Quick rules:
Slides or deck -> marp-authoring
Slides + colors -> slide-color-design -> marp-authoring
Slides + diagrams -> marp-authoring + svg-illustration
Diagram only -> svg-illustrationScale reference loading:
Simple request -> core rules only
Complex request -> add patterns and best-practices查看references/decision-guide.md获取流程图和加载策略。
快速规则:
幻灯片或演示文稿 -> marp-authoring
幻灯片 + 色彩设计 -> slide-color-design -> marp-authoring
幻灯片 + 图表 -> marp-authoring + svg-illustration
仅图表 -> svg-illustration参考内容加载规模:
简单请求 -> 仅加载核心规则
复杂请求 -> 添加模式和最佳实践Output formats
输出格式
Use the focused skills for module-specific output formats:
- →
slide-color-designreferences/output-examples.md - →
marp-authoringreferences/output-examples.md - →
svg-illustrationreferences/output-examples.md
使用专项技能获取模块专属的输出格式:
- →
slide-color-designreferences/output-examples.md - →
marp-authoringreferences/output-examples.md - →
svg-illustrationreferences/output-examples.md
Integration rules
集成规则
- Use palette hex values in SVG and
fill.stroke - Keep border radius and stroke widths consistent between Marpit and SVG.
- Embed SVGs with Markdown images or file references.
- 在SVG的和
fill属性中使用调色板的十六进制值stroke - 保持Marpit和SVG之间的圆角半径和描边宽度一致
- 通过Markdown图片或文件引用嵌入SVG
Troubleshooting
故障排除
Common cross-cutting issues:
- references/troubleshooting-common.md
- svg-illustration →
references/troubleshooting.md
常见跨模块问题:
- references/troubleshooting-common.md
- svg-illustration →
references/troubleshooting.md
Common mistakes
常见错误
- Using absolute paths instead of relative paths for assets.
- Using multiple palettes across one deck or between slides and SVGs.
- Skipping validation checks (Marp, SVG lint, contrast).
See , , and for module-specific mistakes.
marp-authoringslide-color-designsvg-illustration- 为资源使用绝对路径而非相对路径
- 在单个演示文稿或幻灯片与SVG之间使用多套调色板
- 跳过验证检查(Marp、SVG代码检查、对比度检查)
查看、和获取模块专属的常见错误说明。
marp-authoringslide-color-designsvg-illustrationQuick check (minimal)
快速检查(最简版)
Use module-specific quick checks:
- → validation/preview workflow
marp-authoring - → SVG lint checks
svg-illustration - → contrast checks
slide-color-design
使用模块专属的快速检查:
- → 验证/预览工作流
marp-authoring - → SVG代码检查
svg-illustration - → 对比度检查
slide-color-design
Validation
验证
Use the module-specific validation guides:
- →
marp-authoringreferences/preview-workflow.md - →
svg-illustrationreferences/troubleshooting.md - →
slide-color-design(validation checklist)references/color-design/workflow.md
Always validate before committing files using the focused skills.
使用模块专属的验证指南:
- →
marp-authoringreferences/preview-workflow.md - →
svg-illustrationreferences/troubleshooting.md - →
slide-color-design(验证清单)references/color-design/workflow.md
提交文件前,请务必使用专项技能完成验证。
Constraints
约束条件
- Output Marpit Markdown only; do not generate PowerPoint/Keynote files.
- Output SVG only; do not generate raster images.
- Avoid interactive animations; keep slides static.
- Preserve provided brand colors; adapt them into the palette.
- 仅输出Marpit Markdown格式;请勿生成PowerPoint/Keynote文件
- 仅输出SVG格式;请勿生成栅格图像
- 避免交互式动画;保持幻灯片静态
- 保留提供的品牌色彩;将其适配到调色板中 ",