本文へ移動
cccskills
無料GitHub で公開

slidewright

Build interactive presentation websites — slide decks projected to a room, controlled by one presenter. Use this skill WHENEVER the user wants to create, build, or design a presentation, slide deck, talk, or "bài thuyết trình / slide / trình chiếu", and also when they ask to add/edit slides, restyle a deck, scaffold a new presentation project, reuse their presentation setup in another repo, control slides from a phone (remote, QR code, "điều khiển slide bằng điện thoại"), or export slides to PDF — even if they don't say the word "slide" but clearly need projected talk visuals (e.g. "I'm giving a talk next week and need visuals", "dựng deck cho buổi chia sẻ", "làm mấy trang chiếu cho hội thảo"). Supports two tracks: a zero-build single HTML file, or a Vite + React project. Do NOT use it for printable documents, normal web apps, or dashboards meant for individual users to interact with.

インストール方法を見る

含まれるファイル(17)

  • SKILL.md8.8 KB
  • assets/remote/slidewright-remote.d.mts731 B
  • assets/remote/slidewright-remote.mjs42.7 KB
  • evals/evals.json6.3 KB
  • README.md5.5 KB
  • README.vi.md6.8 KB
  • README.zh.md5.2 KB
  • references/design-system.md14.7 KB
  • references/export-pdf.md5.2 KB
  • references/html-track.md4.3 KB
  • references/react-track.md5.3 KB
  • references/remote-control.md5.9 KB
  • scripts/add-remote.sh2.4 KB
  • scripts/export-deck-pdf.py6.0 KB
  • scripts/new-html-deck.sh12.2 KB
  • scripts/new-react-deck.sh12.7 KB
  • scripts/verify-slides.sh13.0 KB

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. Three 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.

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.
    • 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 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 /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 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 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 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/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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Inspect and explain bmad-loop run artifacts under `.bmad-loop/runs/`. Use for live health checks ("is it stuck?", "is the loop alive?", "what is the agent doing?") and post-run forensics ("what happened?", "why did story X fail?", "where did the tokens go?"). Also triggers on "monitor/check/summarize the loop", "why did the run pause?", Vietnamese "theo dõi bmad loop", "phân tích run", "đọc log của run", and equivalent requests in other languages. Use only for bmad-loop's own run artifacts, not application runtime logs or CI-provider build logs.

日本語の概要は準備中です。原文の説明を表示しています。

tronghieu/agent-skills742026年10月10日 更新

Coach structured brainstorming sessions on any topic: diverge on ideas together, then converge on priorities and next steps in a session document. Use whenever the user wants ideas or wants to think out loud, in any language ("brainstorm with me", "give me ideas for…", "help me come up with…", "let's explore options for…", "I'm stuck on the name / the features"; Vietnamese "brainstorm cùng tôi", "cho tôi ý tưởng", "nghĩ cùng tôi xem"), even when they never say "brainstorm". Also use when the user wants multiple perspectives or a devil's-advocate pass on their ideas ("give me different angles", "phản biện mấy ý tưởng này", "party mode"). Not for diagnosing why something is failing (problem-solver), user research (design-thinking), or company-level strategic bets (strategy-board).

日本語の概要は準備中です。原文の説明を表示しています。

tronghieu/agent-skills742026年10月10日 更新

Audit the reasoning of a document or argument (memo, proposal, investment analysis, board paper, article, the user's own draft): claims, evidence, unstated assumptions, logical gaps, fallacies, and what would falsify it, each anchored to quoted text. Use whenever the user wants reasoning examined, in any language ("audit this argument", "is this analysis sound", "poke holes in this proposal", "review the logic of my draft"; Vietnamese "phản biện giúp tôi", "soi lập luận này", "tài liệu này có lỗ hổng gì", "góp ý bản nháp của tôi"), even when they never say "critical thinking". Also use when the user drops a document and asks whether to trust or act on it, or asks to see their reasoning profile. Not for company-level strategic bets (strategy-board) or learning a topic through dialogue (socratic-questor).

日本語の概要は準備中です。原文の説明を表示しています。

tronghieu/agent-skills742026年10月10日 更新

cv-scorer

無料

Score candidate CVs on a 100-point scale against a Job Description. Use this skill when the user wants to evaluate, score, rank, or screen candidate CVs/resumes against a JD. Also trigger when the user mentions 'review CV', 'screen resume', 'rate candidates', 'shortlist', or any context involving matching resumes to job requirements.

日本語の概要は準備中です。原文の説明を表示しています。

tronghieu/agent-skills742026年10月10日 更新

Act as an end-to-end data scientist: turn business questions into defensible analysis, validated models, and decision-ready reports. Use whenever the user asks to analyze, explore, or profile a dataset or CSV/Parquet/Excel file; asks what drives a metric or why a number changed ("why did churn go up?"); wants to test whether a difference is real (A/B tests, experiments, "is this significant?", "how many samples do I need?"); wants a predictive model (churn, forecast, scoring, segmentation, classification, regression); asks to review an existing analysis, notebook, or model for flaws; or needs results written up for decision-makers. Triggers in any language ("phân tích dữ liệu", "xây model dự đoán", "kiểm định A/B"), even when they never say "data science" or "statistics".

日本語の概要は準備中です。原文の説明を表示しています。

tronghieu/agent-skills742026年10月10日 更新

Read, study, and answer questions about long books and papers without loading the whole text into one context window, keeping page-anchored notes as a reusable workspace. Use whenever the user asks to read, study, summarize, analyze, review, or answer questions about a long book, textbook, PDF, EPUB, thesis, dissertation, survey paper, or any document of roughly 50+ pages, in any language (Vietnamese "đọc sách", "tóm tắt sách", "phân tích luận án"). Also use when a `{slug}-notes/` workspace from a previous session sits next to a source file and the user asks a follow-up question about that book. Not for short documents (under ~30 pages) that fit in context; read those directly.

日本語の概要は準備中です。原文の説明を表示しています。

tronghieu/agent-skills742026年10月10日 更新

tronghieu のスキルをすべて見る

このスキルの問題を報告する