Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问clear审计提醒

presentation-generator演示生成器

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

336

周安装

14

GitHub Stars

175

下载量

112
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:presentation-generator(演示生成器)
来源仓库:https://github.com/nicepkg/ai-workflow
仓库路径:skills/presentation-generator
安装命令:
npx skills add https://github.com/nicepkg/ai-workflow --skill presentation-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/nicepkg/ai-workflow --skill presentation-generator

简介

presentation-generator 用于辅助前端页面、组件、样式和交互逻辑的开发与维护,适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码。

  • 适用于前端设计类任务,使用时需要结合项目现有设计系统、路由和构建方式。
  • 避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Presentation Generator

Overview

Create stunning presentations in neobrutalism style with Agency brand colors. Generate interactive HTML presentations with smooth scrolling navigation, export individual slides as PNG, or create PDF documents.

Output formats:

  • HTML - Interactive presentation with navigation dots, keyboard support, smooth scrolling
  • PNG - Individual slide images via Playwright (1920x1080)
  • PDF - Multi-page document via Playwright

Quick Start

1. Create presentation from JSON/YAML content

node scripts/generate-presentation.js --input content.json --output presentation.html

2. Export to PNG slides

node scripts/export-slides.js presentation.html --format png --output ./slides/

3. Export to PDF

node scripts/export-slides.js presentation.html --format pdf --output presentation.pdf

Brand Integration

This skill references brand-agency for consistent styling:

Colors (from brand-agency)

ColorHexUsage
Primary (Orange)#e85d04Title slides, CTAs, accents
Secondary (Yellow)#ffd60aHighlights, accent slides
Accent (Blue)#3a86ffInfo slides, links
Success (Green)#38b000Positive content
Error (Red)#d62828Warnings, emphasis
Foreground#000000Text, borders
Background#ffffffLight slides

Typography

  • Headings: Geist ExtraBold (800)
  • Body: EB Garamond
  • Code/ASCII: Geist Mono

Slide Types

1. Title Slide (--title)

Full-screen title with subtitle, colored background (primary/secondary/accent/dark).

2. Content Slide (--content)

Heading + body text + optional bullet list.

3. Two-Column Slide (--two-col)

Split layout for comparisons, text + image, before/after.

4. Code Slide (--code)

Dark background, syntax-highlighted code block with title.

5. Stats Slide (--stats)

Big numbers with labels (e.g., "14 templates | 4 formats | 1 skill").

6. Task Grid Slide (--grid)

Grid of cards with numbers, titles, descriptions.

7. ASCII Art Slide (--ascii)

Decorative slide with ASCII box-drawing characters.

8. Image Slide (--image)

Full-bleed or contained image with optional caption.

ASCII Decorations

Use ASCII box-drawing characters for tech aesthetic:

Frames:   ┌─────┐  ╔═════╗  ┏━━━━━┓
          │     │  ║     ║  ┃     ┃
          └─────┘  ╚═════╝  ┗━━━━━┛

Lines:    ─ │ ═ ║ ━ ┃ ━━━ ───

Arrows:   → ← ↑ ↓ ▶ ◀ ▲ ▼

Shapes:   ● ○ ■ □ ▲ △ ★ ☆ ◆ ◇

Blocks:   █ ▓ ▒ ░

Content Format

JSON format:

{
  "title": "Presentation Title",
  "footer": "Company / Date",
  "slides": [
    {
      "type": "title",
      "bg": "primary",
      "title": "Main Title",
      "subtitle": "Subtitle text"
    },
    {
      "type": "content",
      "title": "Section Title",
      "body": "Introduction paragraph",
      "bullets": ["Point 1", "Point 2", "Point 3"]
    },
    {
      "type": "code",
      "title": "Code Example",
      "language": "javascript",
      "code": "const x = 42;"
    },
    {
      "type": "stats",
      "items": [
        {"value": "14", "label": "templates"},
        {"value": "4", "label": "formats"},
        {"value": "∞", "label": "possibilities"}
      ]
    }
  ]
}

YAML format:

title: Presentation Title
footer: Company / Date
slides:
  - type: title
    bg: primary
    title: Main Title
    subtitle: Subtitle text

  - type: content
    title: Section Title
    body: Introduction paragraph
    bullets:
      - Point 1
      - Point 2

Interactive Features

Generated HTML includes:

  • Navigation dots - Fixed right sidebar with clickable dots
  • Keyboard navigation - Arrow keys, Page Up/Down, Home/End
  • Smooth scrolling - CSS scroll-snap and smooth behavior
  • Intersection Observer - Active slide highlighting
  • Responsive - Works on various screen sizes (optimized for 16:9)

Usage Examples

Create workshop summary:

# Generate from today's session
node scripts/generate-presentation.js \
  --title "Claude Code Lab — Day Summary" \
  --footer "29.11.2025" \
  --slides slides-content.json \
  --output workshop-summary.html

Quick presentation from markdown:

# Convert markdown outline to presentation
node scripts/md-to-slides.js notes.md --output presentation.html

Batch export:

# Export all slides as PNGs
node scripts/export-slides.js presentation.html --format png --output ./export/

# Result: slide-01.png, slide-02.png, etc.

File Structure

presentation-generator/
├── SKILL.md              # This file
├── templates/
│   ├── base.html         # Base HTML template
│   ├── slides/           # Slide type partials
│   │   ├── title.html
│   │   ├── content.html
│   │   ├── code.html
│   │   ├── stats.html
│   │   ├── two-col.html
│   │   ├── grid.html
│   │   └── ascii.html
│   └── styles.css        # Neobrutalism styles
├── scripts/
│   ├── generate-presentation.js  # Main generator
│   ├── export-slides.js          # PNG/PDF export
│   └── md-to-slides.js           # Markdown converter
└── output/               # Generated files

Dependencies

  • Node.js 18+
  • Playwright (npm install playwright)

Tips

  1. Use ASCII sparingly - Great for tech/dev presentations, can feel dated otherwise
  2. Stick to brand colors - Don't mix custom colors, use the 5-color palette
  3. Big text on title slides - h1 should be 4-5rem minimum
  4. One idea per slide - Neobrutalism works best with focused content
  5. Test interactivity - Always preview HTML before exporting

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

25.54%
按下载量换算29

Cursor

22.16%
按下载量换算25

Claude Code

16.73%
按下载量换算19

cline

13.33%
按下载量换算15

clawdbot

7.4%
按下载量换算8

trae

3.22%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills