跳到正文
cccskills
免费在 GitHub 公开

slide-wright

Create beautiful web presentations from a topic, rough notes, or an outline, and edit decks afterward — adding, removing, or revising slides. Generates a custom theme and a short two-slide preview, then builds the full deck only once the user confirms the direction; edits to an existing deck skip that flow and apply in place. Use when the user wants to make slides, a presentation, a talk deck, a pitch deck, or to add/remove/change a slide in one that already exists.

中文简介正在准备中。当前显示原文说明。

集成工具PowerPoint
查看安装方法

包含的文件(35)

  • SKILL.md4.6 KB
  • .claude-plugin/marketplace.json820 B
  • .github/workflows/test.yml1019 B
  • INSTALL.md2.2 KB
  • LICENSE1.0 KB
  • package.json250 B
  • README.md5.0 KB
  • slide-wright/.claude-plugin/plugin.json624 B
  • slide-wright/references/code-slides.md3.0 KB
  • slide-wright/references/deck-template.md9.5 KB
  • slide-wright/references/deploy.md3.5 KB
  • slide-wright/references/design-aesthetics.md3.1 KB
  • slide-wright/references/exhibits.md6.9 KB
  • slide-wright/references/export-pdf.md1.1 KB
  • slide-wright/references/export-pptx.md2.7 KB
  • slide-wright/references/media.md1.4 KB
  • slide-wright/references/motion-recipes.md3.1 KB
  • slide-wright/references/new-deck.md6.7 KB
  • slide-wright/references/theme-generation.md3.7 KB
  • slide-wright/scripts/check-deck.mjs6.8 KB
  • slide-wright/scripts/export-pptx.mjs9.5 KB
  • slide-wright/scripts/lib/deps.mjs1.6 KB
  • slide-wright/scripts/lib/extract.mjs15.5 KB
  • slide-wright/scripts/lib/package.mjs1.7 KB
  • slide-wright/SKILL.md4.3 KB
  • tests/check-deck.test.mjs1.6 KB
  • tests/export-pptx.test.mjs22.5 KB
  • tests/fixtures/basic.html7.3 KB
  • tests/fixtures/code.html2.0 KB
  • tests/fixtures/edge.html2.2 KB
  • tests/fixtures/webfonts.html5.2 KB
  • tests/lib/offline.mjs1.5 KB
  • tests/lib/pixels.mjs1.6 KB
  • tests/lib/validate-ooxml.mjs9.3 KB
  • tools/sync-root-skill.sh451 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

slide-wright

Turn a topic or rough notes into a boardroom-grade presentation: slides that read like a deck from a strong strategy or product team, delivered as a single self-contained HTML file that runs in any browser.

The rule that defines this skill

Propose the look before you build the deck. On the first pass you never produce a finished presentation. You generate a theme, build a two-slide preview in it, and stop until the user approves the direction. Only then do you build the rest.

One proposal at a time, not a menu. If the user says no, throw the direction out and try a clearly different one. Every theme is invented for the deck in front of you; there is no library of presets.

New deck: read slide-wright/references/new-deck.md first. It holds Steps 1-4 (work out the deck, propose a look, get a yes, build) and the exact approval gate.

The engine (keep this internal)

Decks render with reveal.js loaded from a CDN, but that is an implementation detail the user never sees. Talk about slides, themes, and design; the library name appears only inside the generated <link> and <script> tags. slide-wright/references/deck-template.md has the exact setup.

Editing a deck that already exists

If the user points at an existing HTML deck, check whether it's built on reveal.js (look for the reveal.js <link>/<script> tags from a CDN). If it is — whether or not this skill built it — don't start over: read it, keep its theme, and make the change in place. The look is already approved, so skip the proposal and the gate. After editing, run node <skill-dir>/scripts/check-deck.mjs <deck.html> and fix every line it prints (slide-wright/references/new-deck.md has the details).

No reference files are needed for an edit, unless you add a new exhibit type (read slide-wright/references/exhibits.md) or code or animation (read slide-wright/references/code-slides.md or slide-wright/references/motion-recipes.md).

If the deck is HTML but not on reveal.js (different engine, plain slides, etc.), it's outside this skill's edit path — say so rather than forcing a rewrite onto a different engine. Everything else here is for building a new deck.

Step 5 — Hand it off

  1. Open the finished deck.
  2. Say where it lives, the theme name, and the slide count.
  3. Tell the user how to drive it: arrow keys, space, or swipe to move; F for fullscreen, Esc or O for the slide overview, S for the speaker view with notes; add ?print-pdf to the URL and print to save a PDF (slide-wright/references/export-pdf.md has the steps); theme colors live in the :root variables, fonts in the <link>.
  4. Offer the obvious next moves: revise the content, change the theme, export a PDF, export a PowerPoint file (slide-wright/references/export-pptx.md), or deploy to a live URL to share it. If they want to deploy, read slide-wright/references/deploy.md and let them pick the host (Surge, Vercel, or Netlify) — don't assume one.

Reference files

Read these as you reach them, not all at once:

  • slide-wright/references/new-deck.md — Steps 1-4 for a new deck: work out the deck, propose a look, get a yes, build
  • slide-wright/references/design-aesthetics.md — what makes a deck look designed (Step 2)
  • slide-wright/references/theme-generation.md — the procedure for inventing a theme (Step 2)
  • slide-wright/references/deck-template.md — the HTML skeleton, layout, and engine setup (Steps 2 and 4)
  • slide-wright/references/exhibits.md — choosing and building the visual on each content slide (Steps 2 and 4)
  • slide-wright/references/code-slides.md — code slides and their markup contract (Step 4)
  • slide-wright/references/motion-recipes.md — animation, when the user asks for it (Step 4)
  • slide-wright/references/media.md — images and video in slides (Step 4)
  • slide-wright/references/export-pdf.md — saving a deck as a PDF (Step 5)
  • slide-wright/references/export-pptx.md — exporting a deck to PowerPoint with editable text (Step 5)
  • slide-wright/references/deploy.md — publishing the deck to a live URL (Step 5)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

报告此技能的问题