Logo Slidewright

Slidewright

Cộng đồng
tronghieu
slidewright

Xây dựng website thuyết trình tương tác — các bộ slide được trình chiếu trong phòng và do một người thuyết trình điều khiển. Dùng kỹ năng này BẤT CỨ KHI NÀO người dùng muốn tạo, xây dựng hoặc thiết kế bài thuyết trình, bộ slide, bài nói chuyện hoặc “bài thuyết trình / slide / trình chiếu”; cũng dùng khi họ muốn thêm/sửa slide, đổi giao diện bộ slide, tạo khung cho dự án thuyết trình mới, dùng lại cấu hình thuyết trình trong repo khác, điều khiển slide bằng điện thoại (điều khiển từ xa, mã QR, “điều khiển slide bằng điện thoại”) hoặc xuất slide sang PDF — kể cả khi họ không nói từ “slide” nhưng rõ ràng cần hình ảnh trình chiếu cho bài nói chuyện (ví dụ: “tuần sau tôi có buổi nói chuyện, cần hình ảnh minh họa”, “dựng deck cho buổi chia sẻ”, “làm mấy trang chiếu cho hội thảo”). Hỗ trợ hai cách: một tệp HTML duy nhất không cần bước build, hoặc dự án Vite + React. KHÔNG dùng cho tài liệu in, ứng dụng web thông thường hoặc dashboard dành cho từng người dùng tương tác.

Add to TypingMind

Tổng quan

Nhà phát hànhtronghieu
Kho mãagent-skills
Tên kỹ năngslidewright
Sao
98
Bản fork
32
Tệp đi kèm
16
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 16 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được tronghieu công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Slidewright trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/tronghieu/agent-skills/tree/main/skills/slidewright
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Slidewright trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Slidewright ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Slidewright với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Slidewright làm được gì?

Xây dựng website thuyết trình tương tác — các bộ slide được trình chiếu trong phòng và do một người thuyết trình điều khiển. Dùng kỹ năng này BẤT CỨ KHI NÀO người dùng muốn tạo, xây dựng hoặc thiết kế bài thuyết trình, bộ slide, bài nói chuyện hoặc “bài thuyết trình / slide / trình chiếu”; cũng dùng khi họ muốn thêm/sửa slide, đổi giao diện bộ slide, tạo khung cho dự án thuyết trình mới, dùng lại cấu hình thuyết trình trong repo khác, điều khiển slide bằng điện thoại (điều khiển từ xa, mã QR, “điều khiển slide bằng điện thoại”) hoặc xuất slide sang PDF — kể cả khi họ không nói từ “slide” nh...

Vì sao nên dùng Slidewright trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Slidewright là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Slidewright trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/tronghieu/agent-skills/tree/main/skills/slidewright. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Slidewright?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Slidewright với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Slidewright với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Slidewright có miễn phí không?

Có. Kỹ năng này được tronghieu phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇