Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

revealjs-slidesRevealjs 幻灯片

Agent Skill

revealjs-slides 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,406

周安装

58

GitHub Stars

公开资料未说明

下载量

459
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alahmadiq8/skills --skill revealjs-slides

简介

revealjs-slides 用于查找、检索和筛选 Reveal.js 幻灯片模板或示例资源。

  • 适用于快速搭建网页演示文稿或学习前端展示技术的场景。
  • 通过 GitHub 安装,使用 npx skills add 命令从指定仓库添加技能。
  • 使用前需确认权限范围和维护状态,注意是否涉及网络请求或第三方资源加载。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

reveal.js Slide Generator

Workflow

  1. Copy template from assets/template.html to the user's target path (default: slides.html in cwd)
  2. Replace {{TITLE}}, {{SUBTITLE}}, {{AUTHOR}}, {{DATE}} placeholders
  3. Generate <section> elements for each slide between the TITLE SLIDE and closing comments
  4. Serve and open the presentation (see Running below)

Running

After generating the HTML file, always serve and open it for the user.

npx live-server --port=8765 --open=slides.html

Keyboard shortcuts in the presentation:

  • Arrow keys / Space — navigate slides
  • S — open speaker notes view
  • O — overview / slide grid
  • F — fullscreen
  • Esc — exit overview or fullscreen
  • B / . — pause (black screen)

Template Location

assets/template.html — CDN-based (no npm install needed), uses Inter font, custom theme, includes Markdown, Highlight, Notes, Math, and Mermaid plugins.

Default Theme: Custom-Style

The template ships with a custom theme built in. Key characteristics:

  • Inter font (Google Fonts) with Segoe UI / Calibri fallbacks
  • Left-aligned content slides with top-aligned text (center: false)
  • Title/closing slides use class="title-slide" for centered, vertically-centered layout
  • h2 slide titles have a subtle bottom border separator
  • Bold text renders in the heading accent color (#1a3c6e)
  • Tables have a dark navy header row with alternating striped rows
  • Blockquotes have a left blue accent bar with light background
  • Code blocks are flat with a subtle border (no drop shadow)
  • Slide dimensions: 1280x720 (16:9), matching typical presentation aspect ratio
  • Slide padding: 48px top/bottom, 56px sides

Title / closing slide (vertically centered)

<section class="title-slide">
  <h1>Presentation Title</h1>
  <p>Subtitle text here</p>
  <p class="small">Author &mdash; Date</p>
</section>

Two-column layout (using.columns helper)

<section>
  <h2>Comparison</h2>
  <div class="columns">
    <div><h3>Left</h3><p>Content</p></div>
    <div><h3>Right</h3><p>Content</p></div>
  </div>
</section>

Base Theme Override

The custom theme overrides white.css. To change the base, replace white in the CSS link: black, league, beige, night, serif, simple, solarized, moon, dracula, sky, blood. Note: for dark base themes, also update the CSS variable --r-heading-color and other colors.

Slide Patterns

Basic slide

<section>
  <h2>Title</h2>
  <p>Content here</p>
</section>

Bullet list with fragments (reveal one at a time)

<section>
  <h2>Key Points</h2>
  <ul>
    <li class="fragment">First point</li>
    <li class="fragment">Second point</li>
    <li class="fragment">Third point</li>
  </ul>
</section>

Code with syntax highlighting

<section>
  <h2>Code</h2>
  <pre><code class="language-python" data-trim data-line-numbers>
def hello():
    print("Hello, world!")
  </code></pre>
</section>

Use data-line-numbers="1-2|3-4" to step through line highlights.

Image slide

<section>
  <h2>Architecture</h2>
  <img src="diagram.png" alt="Architecture" style="max-height: 500px;">
</section>

Speaker notes

<section>
  <h2>Topic</h2>
  <p>Audience content</p>
  <aside class="notes">Speaker-only notes here. Press 's' to open speaker view.</aside>
</section>

Background color/image

<section data-background-color="#4d7e65">
  <h2>Green Background</h2>
</section>
<section data-background-image="photo.jpg" data-background-size="cover">
  <h2>Photo Background</h2>
</section>

Blockquote

<section>
  <blockquote>"Quote text here." &mdash; Author</blockquote>
</section>

Two-column layout

<section>
  <h2>Comparison</h2>
  <div style="display: flex; gap: 2em;">
    <div style="flex: 1;"><h3>Left</h3><p>Content</p></div>
    <div style="flex: 1;"><h3>Right</h3><p>Content</p></div>
  </div>
</section>

Math (KaTeX)

<section>
  <h2>Equation</h2>
  <p>\[ E = mc^2 \]</p>
</section>

Markdown slide

<section data-markdown>
  <script type="text/template">
    ## Markdown Title
    - Point **one**
    - Point *two*

    Notes:
    Speaker notes in markdown.
  </script>
</section>

Diagram Patterns (Mermaid.js)

The template includes the Mermaid plugin. Use <div class="mermaid"> blocks inside slides to render diagrams. Mermaid renders to SVG automatically — no images needed.

Flowchart

<section>
  <h2>User Flow</h2>
  <div class="mermaid">
    flowchart LR
      A[Visit Site] --> B{Logged in?}
      B -- Yes --> C[Dashboard]
      B -- No --> D[Login Page]
      D --> E[Enter Credentials]
      E --> C
  </div>
</section>

Sequence diagram

<section>
  <h2>API Request Flow</h2>
  <div class="mermaid">
    sequenceDiagram
      participant Client
      participant API
      participant DB
      Client->>API: POST /users
      API->>DB: INSERT user
      DB-->>API: user record
      API-->>Client: 201 Created
  </div>
</section>

Class diagram

<section>
  <h2>Domain Model</h2>
  <div class="mermaid">
    classDiagram
      class Animal {
        +String name
        +int age
        +makeSound()
      }
      class Dog {
        +fetch()
      }
      class Cat {
        +purr()
      }
      Animal <|-- Dog
      Animal <|-- Cat
  </div>
</section>

Entity-Relationship diagram

<section>
  <h2>Database Schema</h2>
  <div class="mermaid">
    erDiagram
      USER ||--o{ ORDER : places
      ORDER ||--|{ LINE_ITEM : contains
      PRODUCT ||--o{ LINE_ITEM : "ordered in"
  </div>
</section>

State diagram

<section>
  <h2>Order Lifecycle</h2>
  <div class="mermaid">
    stateDiagram-v2
      [*] --> Pending
      Pending --> Processing : payment received
      Processing --> Shipped : packed
      Shipped --> Delivered : arrived
      Delivered --> [*]
      Processing --> Cancelled : refund
  </div>
</section>

Mindmap

<section>
  <h2>Project Overview</h2>
  <div class="mermaid">
    mindmap
      root((Project))
        Frontend
          React
          Tailwind
        Backend
          Node.js
          PostgreSQL
        DevOps
          Docker
          CI/CD
  </div>
</section>

Timeline

<section>
  <h2>Project Milestones</h2>
  <div class="mermaid">
    timeline
      title Release Timeline
      Q1 2025 : Alpha release
                : Core features
      Q2 2025 : Beta release
                : API launch
      Q3 2025 : GA release
  </div>
</section>

Gantt chart

<section>
  <h2>Sprint Plan</h2>
  <div class="mermaid">
    gantt
      title Sprint 12
      dateFormat YYYY-MM-DD
      section Backend
        API endpoints :a1, 2025-01-06, 5d
        Database migration :a2, after a1, 3d
      section Frontend
        UI components :b1, 2025-01-06, 7d
        Integration :b2, after b1, 3d
  </div>
</section>

Pie chart

<section>
  <h2>Traffic Sources</h2>
  <div class="mermaid">
    pie title Traffic Sources
      "Organic Search" : 45
      "Direct" : 25
      "Social Media" : 20
      "Referral" : 10
  </div>
</section>

Git graph

<section>
  <h2>Branching Strategy</h2>
  <div class="mermaid">
    gitGraph
      commit
      branch feature
      checkout feature
      commit
      commit
      checkout main
      merge feature
      commit
  </div>
</section>

Diagram with custom theme (dark presentations)

For dark themes (black, night, dracula, league), add a theme directive:

<div class="mermaid">
  %%{init: {'theme': 'dark'}}%%
  flowchart LR
    A --> B --> C
</div>

Available Mermaid themes: default, dark, forest, neutral, base.

Diagram with title and description alongside

<section>
  <h2>Architecture</h2>
  <div class="columns">
    <div>
      <div class="mermaid">
        flowchart TD
          LB[Load Balancer] --> S1[Server 1]
          LB --> S2[Server 2]
          S1 --> DB[(Database)]
          S2 --> DB
      </div>
    </div>
    <div>
      <ul>
        <li>Horizontally scalable</li>
        <li>Single database with replicas</li>
        <li>Health-check based routing</li>
      </ul>
    </div>
  </div>
</section>

Diagram Design Guidelines

  • One diagram per slide — keep diagrams readable; don't crowd
  • Keep under 15-20 nodes — split complex systems across multiple slides
  • Use meaningful labelsUser, Database, not A, B, C
  • Match the theme — use %%{init: {'theme': 'dark'}}%% for dark presentation themes
  • Flowchart direction — use LR (left-to-right) for wide slides, TD (top-down) for tall diagrams
  • Pair with text — use two-column layout to add context beside a diagram
  • Prefer flowchart for: processes, decision trees, architecture
  • Prefer sequence for: API flows, request/response, protocol interactions
  • Prefer class/ER for: data models, database schemas, OOP hierarchies
  • Prefer mindmap for: brainstorming, topic overviews, project structure
  • Prefer timeline/gantt for: roadmaps, project plans, sprint schedules

Slide Design Guidelines

  • Title slide: always first, use class="title-slide" with h1, subtitle, and author
  • Closing slide: use class="title-slide" for centered "Questions?" or "Thank You" slides
  • Content slides: use h2 for the slide title (gets a bottom border separator automatically)
  • ~1 idea per slide: keep content focused
  • Prefer fragments for bullet lists so content reveals progressively
  • Code blocks: use data-trim to strip whitespace, set language-* class
  • Limit text: prefer visuals, short phrases, and keywords over paragraphs
  • Bold for emphasis: <strong> text renders in the navy accent color automatically
  • Use .columns helper: for side-by-side layouts instead of inline flex styles
  • Never use vertical slides: do not nest <section> inside <section>. All slides must be flat/horizontal only

Config Customization

Modify the Reveal.initialize({...}) block at the bottom of the HTML:

OptionDefaultPurpose
transition'slide'none, fade, slide, convex, concave, zoom
slideNumbertrueShow slide numbers
centerfalseContent starts at top (title-slide class overrides this)
hashtrueURL hash navigation
progresstrueShow progress bar
controlstrueShow nav arrows
width1280Slide width in pixels (16:9)
height720Slide height in pixels (16:9)
margin0No outer margin (padding is in CSS)

PDF Export

Append ?print-pdf to the URL and use browser print (Cmd/Ctrl+P) to save as PDF.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.27%
按下载量换算162

Claude

29.52%
按下载量换算135

Cursor

20.02%
按下载量换算92

Gemini CLI

9.09%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills