Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

slides-grab-design幻灯片抓取设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

247

周安装

10

GitHub Stars

641

下载量

78
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/vkehfdl1/slides-grab --skill slides-grab-design

简介

slides-grab-design 用于辅助界面设计、视觉规范和布局优化。

  • 适合整理页面结构、生成 UI 方案或改进组件层级。
  • 使用时需结合品牌和设计系统,避免堆砌装饰元素。
  • 涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出和对齐。
  • 建议配合现有用户任务和产品场景使用。slides-grab-design 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

slides-grab Design Skill (Codex)

Use this after slide-outline.md is approved.

Goal

Generate high-quality slide-XX.html files in the selected slides workspace (slides/ by default) and support revision loops.

Inputs

  • Approved slide-outline.md (must contain style: <id> in meta section — style was approved in Stage 1)
  • Requested edits per slide

Outputs

  • <slides-dir>/slide-01.html... slide-XX.html
  • Updated <slides-dir>/viewer.html via build script

Workflow

  1. Read approved slide-outline.md and extract the style field from its meta section.
  2. Load the chosen style's full spec from src/design-styles-data.js — colors, fonts, layout, signature elements, and things to avoid. If the meta specifies a custom direction instead of a bundled ID, use that custom direction as the design basis.
  3. Before generating slides, write a quick visual thesis (mood/material/energy), a content plan (opener → support/proof → detail/story → close/CTA), and the core design tokens (background, surface, text, muted, accent + display/headline/body/caption roles). Ground these tokens in the chosen style's spec.
  4. If you need to confirm or revisit the approved bundled style before designing, re-run slides-grab list-styles and open the gallery from slides-grab preview-styles so the Stage 2 deck stays aligned with the Stage 1 direction.
  5. Generate slide HTML files with 2-digit numbering in selected --slides-dir.
  6. When a slide needs iconography, prefer Lucide as the default icon library. Use clean Lucide icons before falling back to emoji, and only use emoji when the brief explicitly calls for them.
  7. When a slide explicitly needs bespoke imagery, when the user asks for an image, or when stronger imagery would materially improve the slide, prefer slides-grab image --prompt "<prompt>" --slides-dir <path> to generate a local asset with Nano Banana Pro and save it under <slides-dir>/assets/.
  8. If the deck needs a complex diagram (architecture, workflows, relationship maps, multi-node concepts), create the diagram in tldraw, export it with slides-grab tldraw, and treat the result as a local slide asset under <slides-dir>/assets/.
  9. If the slide needs a local video, store the video under <slides-dir>/assets/, reference it as ./assets/<file>, and prefer a poster="./assets/<file>" thumbnail so PDF export uses a stable still image.
  10. If the source video starts on YouTube or another supported page, use slides-grab fetch-video --url <youtube-url> --slides-dir <path> (or yt-dlp directly if needed) to download it into <slides-dir>/assets/ before saving the slide HTML.
  11. Run slides-grab validate --slides-dir <path> after generation or edits.
  12. If validation fails, automatically fix the source slide HTML/CSS and re-run validation until it passes.
  13. Run the slide litmus check from references/beautiful-slide-defaults.md before presenting the deck for review.
  14. Launch the interactive editor for visual review: slides-grab edit --slides-dir <path>
  15. Iterate on user feedback by editing only requested slide files, then re-run validation after each edit round.
  16. When the user confirms editing is complete, suggest: build the viewer (slides-grab build-viewer --slides-dir <path>) for a final read-only preview, or proceed to export (PDF/PPTX).
  17. Keep revising until user approves conversion stage.

Rules

  • Keep slide size 720pt x 405pt.
  • Keep semantic text tags (p, h1-h6, ul, ol, li).
  • Put local images and videos under <slides-dir>/assets/ and reference them as ./assets/<file>.
  • Allow data: URLs when the slide must be fully self-contained.
  • Do not leave remote http(s):// image URLs in saved slide HTML; download source images into <slides-dir>/assets/ and reference them as ./assets/<file>.
  • Prefer Lucide for default slide iconography. Avoid emoji as the default icon treatment unless the brief explicitly asks for emoji.
  • Prefer slides-grab image with Nano Banana Pro for bespoke slide imagery before reaching for remote URLs.
  • If GOOGLE_API_KEY (or GEMINI_API_KEY) is unavailable or the Nano Banana API fails, ask the user for a Google API key or fall back to web search + download into <slides-dir>/assets/.
  • Prefer local videos with a poster="./assets/<file>" thumbnail so PDF export uses the still image.
  • Use slides-grab fetch-video or yt-dlp to pull supported web videos into <slides-dir>/assets/ before saving slide HTML.
  • Prefer <img> for slide imagery and data-image-placeholder when no final asset exists.
  • Default to one job per slide, one dominant visual anchor, and copy that scans in seconds.
  • Treat opening slides and section dividers like posters, not dashboards.
  • Default to cardless layouts; only add a card when it improves structure or comprehension.
  • Use whitespace, alignment, scale, cropping, and contrast before adding decorative chrome.
  • Prefer tldraw for complex diagrams instead of recreating dense node/edge diagrams directly in HTML/CSS.
  • Use slides-grab tldraw plus templates/diagram-tldraw.html when that gives a cleaner, more export-friendly result.
  • Do not present slides for review until slides-grab validate --slides-dir <path> passes.
  • Do not start conversion before approval.
  • Use the packaged CLI and bundled references only; do not depend on unpublished agent-specific files.

Reference

For full constraints and style system, follow:

  • references/design-rules.md
  • references/detailed-design-rules.md
  • references/beautiful-slide-defaults.md — slide-specific art direction defaults adapted from OpenAI's frontend design guidance
  • references/design-system-full.md — archived full design system, templates, and advanced pattern guidance

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.01%
按下载量换算28

Claude

30.86%
按下载量换算24

Cursor

19.09%
按下载量换算15

Gemini CLI

9.58%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills