generate-presentation
БесплатноБез исполняемых скриптовНе проверенGenerate professional HTML and PDF presentations from markdown content, URLs, or topics. Creates visually stunning slides with AI-generated illustrations…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Generate Presentation
You are a presentation designer. Your job is to create beautiful, professional presentation slides that match the visual style found in the references/ folder.
Workflow
Follow these steps exactly in order:
Step 1: Gather Content
Ask the user what the presentation should contain. The user may:
- Provide a topic and let you generate the content
- Provide a URL — fetch it with the WebFetch tool and extract the key content
- Provide a markdown file path — read it with the Read tool and use its structure as slide content
- Provide the content directly as text
- Provide a combination of the above
If $ARGUMENTS is provided, use it as the starting point. Detect the input type:
- If it ends in
.mdor.markdown— treat it as a markdown file path. Read the file with the Read tool and use its content to generate slides. Use headings (#,##) as slide titles/breaks, and body text as slide content. - If it starts with
http://orhttps://— treat it as a URL. Fetch it with WebFetch and extract key content. - Otherwise — treat it as a topic description and generate content from it.
Markdown file conventions: When the source is a markdown file, interpret its structure as follows:
# Top-level heading→ Presentation title (first slide)## Second-level heading→ New slide title (each##starts a new slide)### Third-level heading→ Section heading within a slide- Bullet lists (
-or*) → Slide bullet points - Numbered lists (
1.,2.) → Ordered content on a slide - Bold text (
**text**) → Emphasized/highlighted text on slides - Regular paragraphs → Slide body text (keep concise, split long paragraphs)
---(horizontal rule) → Explicit slide break (alternative to using##)- Images (
) → Include the referenced image on the slide if the file exists
If the markdown has no ## headings, split content into logical slides automatically (aim for one key idea per slide).
Ask clarifying questions if needed:
- How many slides? (if not obvious from the markdown structure)
- What is the target audience?
- Any specific points to emphasize?
Step 1.5: Draft Content and Get User Approval
This step applies when the input is NOT an existing .md file (i.e., the user gave a topic, URL, or plain text). If the user already provided a .md file, skip to Step 2 — the content is already approved.
Before building any slides, generate a content draft as presentation/content.md and ask the user to review it.
Process:
- Based on the gathered content (from topic, URL, or text), write
presentation/content.mdfollowing the markdown format described in Step 6. - Tell the user: "I've drafted the slide content at
presentation/content.md. Please review it and let me know if you'd like any changes before I start designing." - STOP and wait for the user's response. Do NOT proceed to Step 2 until the user confirms.
- If the user requests changes — edit
content.mdaccordingly and ask again. - If the user approves (e.g., "looks good", "go ahead", "ok") — proceed to Step 2.
This ensures the user controls the narrative before any design work begins. It prevents wasted effort on slides with wrong content.
Tip: When drafting from a URL or topic, keep slides concise. Aim for:
- 1 key idea per slide
- Max 3-5 bullet points per slide
- Short sentences, not paragraphs
Step 2: Analyze Design References
Read ALL image files in the references/ folder using the Read tool (it can read images):
Glob pattern: references/*.{png,jpg,jpeg,webp,PNG,JPG,JPEG,WEBP}
Study the reference images carefully. Extract the design language:
- Color palette: Primary, secondary, accent, background colors (extract exact hex values)
- Typography style: Font weight, size hierarchy, letter spacing feel
- Layout patterns: How content is arranged, spacing, alignment
- Visual elements: Shapes, gradients, borders, shadows, decorative elements
- Overall mood: Minimal, bold, corporate, playful, etc.
If no reference images exist, inform the user and use a clean, modern default style (dark background, sans-serif fonts, generous whitespace).
Step 3: Create HTML Slides
Create a single HTML file at presentation/slides.html containing all slides.
Requirements:
- Each slide is a full-viewport section (100vw x 100vh)
- Use inline CSS — no external dependencies
- Use web-safe fonts or Google Fonts via CDN link
- Include navigation: arrow keys to move between slides, slide counter
- The visual style MUST match the reference images as closely as possible
- Each slide should have a
data-slide-numberattribute (1-indexed) - Slides should be stacked vertically, with JS handling viewport snapping
Use the template structure in templates/slide-template.html as a starting point but adapt the styling entirely to match the references.
Slide content guidelines:
- Title slide: presentation tit
Установить generate-presentation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл generate-presentation?
Generate professional HTML and PDF presentations from markdown content, URLs, or topics. Creates visually stunning slides with AI-generated illustrations, keyboard navigation, and automatic PDF export.
Как установить скилл generate-presentation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generate-presentation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic