技能图谱SKILLSGROVE
技能图谱/办公文档/fangningshao/frontend-slides-presenter/frontend-slides-presenter

frontend-slides-presenter

安装

$npx skills add https://github.com/fangningshao/frontend-slides-presenter --skill frontend-slides-presenter
$git clone --depth 1 https://github.com/fangningshao/frontend-slides-presenter.git /tmp/frontend-slides-presenter && mkdir -p ~/.claude/skills && cp -r /tmp/frontend-slides-presenter/. ~/.claude/skills/frontend-slides-presenter
请帮我安装这个 Agent Skill:https://github.com/fangningshao/frontend-slides-presenter/tree/0d9ab135adefda3ca81849fb83a86d12771a80f7/ ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITAdd per-slide speaker notes and a dual-window Presenter Mode to frontend-slides HTML presentations, with synchronized laser pointer and pen annotations. Use for creating slides, creating PPTs, presenter view, speaker scripts, rehearsal, or extended-desktop presenting.
以下 SKILL.md 内容转载自 fangningshao/frontend-slides-presenter(提交 0d9ab13),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Frontend Slides Presenter contributors 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

Frontend Slides Presenter

Extend frontend-slides with a local presenter window and a clean audience window. Keep its current design workflow, single-file output, slide controller, animations, and export behavior.

  1. Create or inspect the deck. For a new deck or PPTX conversion, use the available frontend-slides skill (or read upstream SKILL.md and its relevant references). For an existing deck, preserve its design. Do not copy or pin a fork of upstream into this skill.
  2. Add notes to each slide. Use <template data-presenter-notes>HTML-escaped plain text</template> inside the slide, preferably with a stable slide id. Preserve the user's script and PPTX notes; migrate legacy speaker-note comments into templates. Draft missing notes from the supplied content when appropriate. Notes support paragraphs and Unicode; they are not executable HTML or Markdown. Do not put scripts on the visible slide.
  3. Connect the controller. Read references/integration.md. Supply slides, getIndex, goTo, and stage through the small adapter. Embed the shipped runtime with python3 scripts/embed.py input.html output.html using this skill's absolute script path. Do not regenerate the runtime or introduce a second navigation controller.
  4. Verify in a browser. Open Presenter by click or P. Check navigation in both windows, current/next previews, first/last page, long-note editing and save/reopen, timer, blackout, audience-only fullscreen, blue laser and pen in both windows, and clearing only the current page’s ink. Check the audience at 1280×720 and one phone viewport. Notes/UI must stay out of the audience image and print. Keep pre-existing editing and export usable. See the focused acceptance checklist in the integration reference.
  5. Deliver. Provide the ready HTML and explain: use extended desktop, keep Presenter on the laptop, move the original slides window to the projector, click slides and press F. Presenter supports arrows/Space, Home/End, jump list, B blackout, notes size, timer, and export. V2 adds L blue laser, D pen, Esc/mouse to stop marking, and Clear page annotations. Draw on the current preview or audience slide; coordinates and ink synchronize. Ink stays per slide in the running session, is excluded from HTML/print, and resets when the audience reloads; clearing ink never clears speaker notes. Browser storage keeps drafts; Save HTML embeds edited notes into a portable file. When sharing a screen, select only the audience window.

Automatic display selection/fullscreen depends on browser permission and support; manual dragging is the baseline. Previews are static; live animations/media stay in the audience window. Notes are hidden from presentation and print, but remain in the HTML source. Do not claim physical dual-monitor verification unless actually performed.

Using original frontend-slides skill

If the deck is not yet created, you should first use the frontend-slides skill to create one. If you don't have original access to frontend-slides skill, use references/frontend-slides/SKILL.md for a local version.

查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Frontend Slides Presenter contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

The upstream viewport CSS and HTML test fixture are derived from
zarazhangrui/frontend-slides, Copyright (c) 2025 Zara Zhang.
See tests/fixtures/UPSTREAM-LICENSE for its MIT notice. The demo includes the
upstream viewport CSS; this notice applies to that portion as well.