Slidewright 标志

Slidewright

社区
tronghieu
slidewright

构建互动式演示网站——投影到会议室屏幕上的幻灯片,由一位演讲者控制。只要用户想创建、构建或设计演示文稿、幻灯片、演讲内容或“bài thuyết trình / slide / trình chiếu”,就应使用此技能;用户要求添加或编辑幻灯片、调整整套幻灯片的风格、搭建新的演示项目、在另一个代码库中复用演示设置、用手机控制幻灯片(遥控、二维码、“điều khiển slide bằng điện thoại”),或将幻灯片导出为 PDF 时,也应使用。即使用户没有说“幻灯片”,但显然需要用于投影演讲的视觉内容,也应使用此技能(例如“我下周要做一场演讲,需要一些视觉素材”“dựng deck cho buổi chia sẻ”“làm mấy trang chiếu cho hội thảo”)。支持两种方案:无需构建的单个 HTML 文件,或 Vite + React 项目。请勿将其用于可打印文档、常规 Web 应用,或供个人用户交互使用的仪表板。

Add to TypingMind

概览

发布者tronghieu
代码仓库agent-skills
技能名称slidewright
星标数
98
复刻数
32
附带文件
16
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 16 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 tronghieu 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Slidewright AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/tronghieu/agent-skills/tree/main/skills/slidewright
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tronghieu/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/slidewright .claude/skills/slidewright
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Slidewright,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Slidewright。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Slidewright 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Interactive presentation builder

Build slide decks that run as a website and are projected to a room. The deck is the visual half of a talk; the presenter does the talking. Two ways to build, one shared design language.

First, the mental model (read before writing any code)

There is one operator (the presenter) on one machine. Slides go on a big screen; the audience only looks — they never click, type, or interact. Everything below follows from this. Four failure modes to avoid:

  • Text too small. Slides are read from across a room, not on a laptop. Never use web-reading sizes (text-sm, 16px) or fixed Tailwind text classes (text-4xl). Always use fluid clamp() so text scales with the screen. Honour the typography floor (body ≈ 30–36px, never below 28px on a 1080p canvas). See references/design-system.md.
  • Content hugging an edge. Padding is a two-layer contract. Slide content must stay inside the viewport safe area, and content inside a card, panel, callout, bordered box, or other visible container must stay inset from that container's own edge. A parent slide's padding does not protect a nested container; gap and child margins are not a substitute for the container's own padding. Both scaffolds provide safe-area padding and a .slide-surface inset helper. Even fullBleed slides keep text content inset.
  • Building an app. No input fields, no "Submit", no login, no data collection — there is no backend and nowhere for data to go. Interaction is only the presenter clicking to reveal/advance content. If a component asks "where does this data go?", it's wrong.
  • Wrong voice for the audience. A board report is not a lesson and a pitch is not a status update. The deck type sets the structure and the voice. Decide it first — see references/deck-types.md.

The presenter may hold a phone remote (scan a QR code from the terminal, then tap Next/Prev). It is the same single operator on a second device, not audience interaction.

references/design-system.md is the heart of this skill — the typography floor, two-layer padding contract, content overflow, layout recipes, motion, and palette. Read it whenever you design or restyle slide content.

Workflow

  1. Understand and clarify the talk.
    • Content: If the presentation content is vague or unclear, ask questions to clarify the topic, audience, speaker (name/role), and key message before building. For Vietnamese content, the default voice is plain, honest, direct — no marketing hype.
    • Deck type: Decide what the deck is for before writing: report upward, decision request, pitch, training, talk, or internal update. Infer it from the request and tell the user your choice in one line; ask only when two types fit equally. Then read references/deck-types.md and follow that type's arc, voice, and prohibitions.
    • Style: Ask the user for their preferred visual style and suggest these 5 modern options:
      1. Minimalist Bauhaus: High contrast, geometric typography, generous whitespace.
      2. Dark Mode Cinematic: Deep slate/black backgrounds, dramatic contrast, glowing accents.
      3. Editorial / Magazine: Sophisticated font pairings (serif + sans), structured grid layouts.
      4. Glassmorphism: Soft background gradients with blurred, translucent content panels.
      5. Neo-Brutalism: Bold typography, raw borders, hard shadows, high energy.
  2. Pick a track (below). If unsure, ask once; otherwise default to plain HTML for small/quick decks and React for substantial, maintained talks.
  3. Scaffold with the matching script — don't hand-assemble the boilerplate.
  4. Build slides in the arc and voice of the deck type, following references/design-system.md: one idea per slide, few words, real visuals, projection-legible type, presenter-only interaction, and the two-layer padding contract for both viewport and content containers. Respect the density limits — never exceed 5 bullets, ~60 words, or 5×4 table cells per slide. If content doesn't fit at the typography floor, split into more slides — never shrink past the floor and never produce a slide that scrolls vertically.
  5. Keep the required chrome: a visible bottom navigation slider (dot strip) and slide number. Both scaffolds include it — don't remove it.
  6. Write speaker notes in the <deck-name>-notes.md file the scaffold creates (never on the slides themselves).
  7. Run the verify script to catch text-too-small and content-too-dense violations:
    bash
    bash /mnt/skills/user/slidewright/scripts/verify-slides.sh <path-to-deck>
    Fix every reported issue before proceeding.
  8. Run the spacing audit before handoff. Check every slide at 1920×1080 and at one smaller viewport. No text or primary content may cross the viewport safe area. For every element that draws a visible boundary (background, border, outline, shadow, rounded surface, or text-overlay panel), verify that its content has padding on all four sides. Media and purely decorative edge-to-edge layers are the only exceptions; text over them belongs in a nested padded surface.
  9. Tell the user how to present with the phone remote. Both scaffolds include it. The HTML track runs node <deck>/slidewright-remote.mjs. The React track runs npm run dev. The terminal prints a QR code for the phone. See references/remote-control.md. Keep the deck's window.slidewright API and slidewright:change event when you edit navigation code.
  10. Export to PDF if asked — see references/export-pdf.md.

Put each deck in its own folder. Keep any live-demo app as a separate project, not inside the deck.

Choosing a track

PickWhenReference
Plain HTMLZero setup wanted; runs by opening a file; quick deck; shareable anywhere; no toolchain. Gets unwieldy past ~15–20 rich slides.references/html-track.md
Vite + ReactMany slides, reusable components, state-driven interactions, TypeScript, Framer Motion, maintained/re-run talks.references/react-track.md

Both produce the same projected experience and obey the same design system; they differ only in implementation.

Scaffolding

Plain HTML — single self-contained index.html, Tailwind via CDN, no build:

bash
bash scripts/new-html-deck.sh <deck-name> [target-dir] [--title "Deck title"]

Vite + React — scaffolds with the official Vite tool and installs the latest React, Tailwind, Framer Motion, and Lucide (versions are intentionally not pinned, so each deck starts on current tooling), then layers the App → Deck → Slide architecture:

bash
bash scripts/new-react-deck.sh <deck-name> [target-dir] [--no-install]
cd <deck-name> && npm run dev

Both scaffolds include the phone remote (slidewright-remote.mjs, zero dependencies). For a deck scaffolded before the remote existed:

bash
bash scripts/add-remote.sh <path-to-deck>

After scaffolding, read the matching track reference for how slides are structured and how to add/reorder them, then build the content.

Files in this skill

  • references/design-system.md — projection rules, typography floor, layout recipes, motion, palette. The core; consult for any content/design work.
  • references/deck-types.md — the six deck types and each one's arc, voice, and prohibitions. Read it before writing slide content.
  • references/html-track.md — plain-HTML deck structure, template internals, adding slides.
  • references/react-track.md — Vite+React architecture, slide ordering, Tailwind wiring.
  • references/export-pdf.md — PDF export options and speaker-notes convention.
  • references/remote-control.md — phone remote: running it, the deck API contract, security, troubleshooting (wrong IP, firewall, venue Wi-Fi).
  • scripts/new-html-deck.sh — scaffold a plain-HTML deck.
  • scripts/new-react-deck.sh — scaffold a Vite + React deck.
  • scripts/add-remote.sh — add the phone remote to an existing deck.
  • assets/remote/slidewright-remote.mjs — the phone remote: WebSocket relay, remote page, terminal QR code, static server (HTML track) and Vite plugin (React track). The scaffolds copy it into each deck; edit this source, not the copies.
  • scripts/export-deck-pdf.py — export a deck to a content-complete PDF (waits for render and reveals hidden content; image-based).
  • scripts/verify-slides.sh — static analysis of deck files: flags text below the typography floor, fixed-px font sizes, excessive bullet counts, and high word density per slide. Run after building slides and before handoff.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Slidewright AI 技能有什么作用?

构建互动式演示网站——投影到会议室屏幕上的幻灯片,由一位演讲者控制。只要用户想创建、构建或设计演示文稿、幻灯片、演讲内容或“bài thuyết trình / slide / trình chiếu”,就应使用此技能;用户要求添加或编辑幻灯片、调整整套幻灯片的风格、搭建新的演示项目、在另一个代码库中复用演示设置、用手机控制幻灯片(遥控、二维码、“điều khiển slide bằng điện thoại”),或将幻灯片导出为 PDF 时,也应使用。即使用户没有说“幻灯片”,但显然需要用于投影演讲的视觉内容,也应使用此技能(例如“我下周要做一场演讲,需要一些视觉素材”“dựng deck cho buổi chia sẻ”“làm mấy trang chiếu cho hội thảo”)。支持两种方案:无需构建的单个 HTML 文件,或 Vite + React 项目。请勿将其用于可打印文档、常规 Web 应用,或供个人用户交互使用的仪表板。

为什么在 TypingMind 中使用 Slidewright?

因为您只需安装一次,就能搭配任何模型使用。Slidewright 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Slidewright?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/tronghieu/agent-skills/tree/main/skills/slidewright。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Slidewright?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Slidewright 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Slidewright 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Slidewright AI 技能免费吗?

是的。tronghieu 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇