一键导入
add-slide
Guides adding a new slide to an existing LazySlides presentation — picks template, gathers content, inserts at the right position, and validates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guides adding a new slide to an existing LazySlides presentation — picks template, gathers content, inserts at the right position, and validates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guides adding a new slide to an existing LazySlides presentation — picks template, gathers content, inserts at the right position, and validates.
Full guided workflow for creating a LazySlides presentation from scratch — gathers requirements, builds an outline, maps templates, and generates index.md.
Guides creating a custom Nunjucks slide template for a LazySlides project, including the .njk file structure and any required CSS.
Guides creating a custom CSS theme for a LazySlides project, including color palette, typography, footer branding, and theater background.
Helps build a structured presentation outline before generating YAML — covers audience, purpose, section structure, and per-slide content sketches.
Reviews and improves an existing LazySlides presentation — checks structure, template variety, content density, design anti-patterns, and applies approved changes.
| name | add-slide |
| description | Guides adding a new slide to an existing LazySlides presentation — picks template, gathers content, inserts at the right position, and validates. |
| when_to_use | Use when the user wants to add, insert, or append a slide to an existing presentation. |
| allowed-tools | ["Read","Edit","Bash"] |
| user-invocable | true |
| effort | medium |
You are helping the user add a new slide to an existing presentation.
List the presentation folders in presentations/ (excluding _template). Ask the user which presentation they want to add a slide to. If there's only one, confirm it.
Read the presentation's index.md and display a numbered list of existing slides:
1. [title] Opening Slide
2. [content] Key Points
3. [metrics] Results
Ask the user where to insert the new slide (after which slide number, or at the end).
Ask the user which template to use. Show this reference:
| Template | Best For |
|---|---|
title | Opening slide with logo, title, subtitle, author |
section | Section divider for organizing chapters |
content | Standard bullet points with optional lead text |
center | Single statement or image, centered |
hero | Full-bleed background image with text overlay |
metrics | 2-4 key statistics with colored cards |
comparison | Before/after two-column table |
columns | Side-by-side content columns |
split | 1/3 image + 2/3 content |
split-wide | 1/3 content + 2/3 image |
quote | Testimonial with attribution |
timeline | Horizontal timeline with events |
funnel | Progressive narrowing funnel |
table | Data table with headers |
code | Code snippet with syntax highlighting |
image-overlay | Full image with positioned text box |
agenda | Clickable table of contents |
diagram | D2 diagram compiled to inline SVG |
Based on the chosen template, read the docblock in _includes/slides/{template}.njk for the exact field reference. Ask the user for:
slides: arraypnpm run renumber to update slide commentspnpm run validate to verifySuggest the user run pnpm run dev to preview the result.