generate-presentation
由 nhype 提供
Web & Frontend Development简介
Generate professional HTML and PDF presentations from markdown content, URLs, or topics.
描述
该技能的功能
Builds HTML and PDF slide decks from a markdown file, URL, or topic description. Generates AI illustrations per slide, validates each slide against design reference images using Playwright screenshots, and exports a content.md file for future edits.
Combines content drafting, AI illustration, design-reference matching, per-slide screenshot validation, and PDF export in a single automated workflow rather than requiring separate tools for each step.
何时使用
- Turning a blog post URL into a conference talk deck
- Converting a project README into a stakeholder presentation
- Generating a branded slide deck for a new product pitch
- Iterating on slides by editing content.md and regenerating
- Creating a PDF handout from an unstructured topic description
示例工作流
User asks: Generate a presentation about Kubernetes networking from https://kubernetes.io/docs/concepts/cluster-administration/networking/
- 1
Fetch URL content with WebFetch and extract key concepts
- 2
Write presentation/content.md draft and wait for user approval
- 3
Read reference images in references/ to extract color palette, typography, and layout patterns
- 4
Generate presentation/slides.html with inline styles matching the reference design
- 5
Call mcp__openai-gpt-image-mcp__create-image for each slide to produce matching illustrations and embed them
- 6
Open slides.html in Playwright at 1920x1080, screenshot each slide, compare against references, and fix mismatches
- 7
Run slides_to_pdf.py to combine slide_N.png files into presentation/presentation.pdf
presentation/slides.html (interactive), presentation/presentation.pdf, presentation/slide_N.png per slide, presentation/content.md for future edits
前置要求
- OPENAI_API_KEY environment variable
安装
clawhub install nhype/generate-presentation运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。