Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计通过

slide-deck幻灯片

Agent Skill

slide-deck 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

275

周安装

11

GitHub Stars

2

下载量

89
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dcaigc/dc-skills --skill slide-deck

简介

slide-deck 通过四步流程生成专业演示文稿:初始化任务、生成大纲、创建图像、组装 PDF。

  • 依赖 GEMINI_API_KEY 环境变量,需提前配置密钥方可运行脚本。
  • 适用于快速制作高质量 PPT,但输出质量取决于提示词清晰度与图像生成效果。
  • 建议使用英文提示以确保图像生成稳定性,中文可能受限于模型训练数据。
  • slide-deck 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Slide Deck Generation

Generate professional presentation slides using AI through a 4-step workflow:

  1. Initialize Task - Create task workspace with unique ID
  2. Generate Outline - Create structured outline (YAML)
  3. Generate Images - Run script to create slide images
  4. Assemble PDF - Combine images into final PDF

Prerequisites

API Key - Set in .env file at skill root (auto-loaded by script):

GEMINI_API_KEY=your-api-key

Dependencies:

pip install -r requirements.txt

Workflow

Step 0: Initialize Task Workspace

When the user starts creating a PPT, immediately generate a Task ID and create a workspace under the project root directory:

$TASK_ID = (Get-Date -Format "yyyyMMdd_HHmmss") + "_" + -join ((1..6) | ForEach-Object { '{0:x}' -f (Get-Random -Maximum 16) })
New-Item -ItemType Directory -Force -Path "{workspace}/output/$TASK_ID"
{workspace} refers to the user's project root directory, not the skill directory.

All files will be saved under {workspace}/output/<task-id>/.


Step 1: Generate Outline

You are a world-class presentation designer and storyteller.

First, ask the user to choose:

OptionValuesDescription
Formatdetailed / medium / presentationDetailed (standalone reading) / Medium (speech + reading) / Minimal (speech-only aid)
Lengthshort / defaultShort (5-10 slides) / Default (10-20 slides)
LanguageautoAuto-detect from user's prompt language; user may also specify explicitly
OtherTarget audience, style preferences

Then generate outline as YAML, save to {workspace}/output/<task-id>/outline.yaml:

style_instructions:
  format: detailed          # detailed | medium | presentation
  length: default           # short | default
  language: <auto-detected or user-specified language>
  design_aesthetic: <design aesthetic description>
  background_color: "#F8F7F5"
  primary_font: <heading font>
  secondary_font: <body font>
  color_palette:
    primary_text: "#2F3542"
    primary_accent: "#007AFF"
  visual_elements: <visual element style description>

slides:
  - slide_number: 1
    slide_type: cover         # cover | content | closing
    narrative_goal: <narrative goal>
    key_content:
      title: <title>
      subtitle: <subtitle>
      body: |
        <body text, adjust density based on format>
    visual:
      description: <detailed visual description for the image generation model>
      elements: [<element1>, <element2>]
    layout:
      composition: <composition description>
      hierarchy: <visual hierarchy>

_metadata:
  task_id: "<task-id>"
  topic: <topic>
  format: detailed
  slide_count: 10

Critical Rules:

  1. Slide 1 must be a cover page - Poster-style layout, bold typography, full-bleed imagery
  2. Last slide must be a closing page - Meaningful visual summary, never end with "Any questions?" or "Thank you"
  3. Never exceed 20 slides
  4. Avoid "Title: Subtitle" format - Use narrative thematic sentences to connect slides
  5. Avoid AI cliché patterns - Never use phrases like "It's not just X, it's Y"
  6. Visual descriptions must be thorough - Detailed enough for an image generation model to understand
  7. Adjust content density based on format

Show the outline to the user for approval before proceeding.

For format-specific outline examples and style templates, see references/outline_generation.md.


Step 2: Generate Slide Images

After user approves the outline:

python scripts/generate_slides.py {workspace}/output/<task-id>/outline.yaml \
  --output-dir {workspace}/output/<task-id>/slides

Common options:

ArgumentDefaultDescription
--resolution4K1K, 2K, 4K
--max-concurrent4Concurrency (reduce to 2 if rate-limited)
--proxyNoneHTTP proxy URL
--slidesallSpecify slides: 1,3,5 or 2-5

Step 3: Assemble PDF

python scripts/assemble_pdf.py {workspace}/output/<task-id>/slides/ {workspace}/output/<task-id>/presentation.pdf

Optional: --compress, --watermark logo.png, --watermark-position bottom-right, --watermark-opacity 0.5


Task Workspace Structure

{workspace}/
└── output/
    └── 20240111_143052_a1b2c3/
        ├── outline.yaml
        ├── slides/
        │   ├── slide_01.png
        │   └── ...
        └── presentation.pdf

Error Handling

  • Rate Limits: Reduce --max-concurrent to 2
  • Failed Slides: Use --slides to regenerate specific ones
  • Connection Error: Check proxy settings, script auto-retries (max 3, exponential backoff)

For detailed script API reference, see references/REFERENCE.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.01%
按下载量换算34

Claude

27.6%
按下载量换算25

Cursor

18%
按下载量换算16

Gemini CLI

9.05%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills