跳到正文
TakoAPI
返回技能列表

generate-presentation

由 nhype 提供

Web & Frontend Development
966下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Fetch URL content with WebFetch and extract key concepts

  2. 2

    Write presentation/content.md draft and wait for user approval

  3. 3

    Read reference images in references/ to extract color palette, typography, and layout patterns

  4. 4

    Generate presentation/slides.html with inline styles matching the reference design

  5. 5

    Call mcp__openai-gpt-image-mcp__create-image for each slide to produce matching illustrations and embed them

  6. 6

    Open slides.html in Playwright at 1920x1080, screenshot each slide, compare against references, and fix mismatches

  7. 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 或你在用的任意编程智能体里。

链接