Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

single-html-forge

БесплатноЗапускает вложенные скриптыНе проверен

Generate a single self-contained HTML file — a horizontal slide deck, a vertical-scroll explainer document, or a fixed-canvas summary image — with zero…

aktsmmот aktsmm★ 27 звёзд на GitHub

Об этом скилле

Single HTML Forge

One HTML file. No CDN, no build step, no external fetch at runtime. Opens the same on any machine and survives being emailed.

When to Use

  • "HTMLスライドを作って" / "単一HTMLで資料にして" / "ブラウザーで開ける説明資料にして" / "サマリ画像を1枚"
  • Handing a deck or explainer to someone who should not need PowerPoint
  • A screenshot-based procedure or runbook for another party, delivered as one HTML file: use doc. Do not convert Markdown with a library and inline hand-written CSS; that skips the verifier (image decoding and size limits, link checks) and leaves the visual check to a glance.
  • Embedding images into a self-contained HTML artifact
  • Re-verifying or editing an artifact this skill produced

Not for: PPTX output (this skill does not produce it), editable diagram source files, or anything needing a live server.

Archetype Routing

Ask which one unless the request already says. Load only that archetype's reference.

Archetype Shape Use for Reference
deck 16:9 slides, keyboard nav, presenter overlay talks, walkthroughs archetype-deck.md
doc vertical scroll, sidebar nav, numbered citations explainers, comparisons, handouts archetype-doc.md
poster one fixed canvas, exported as PNG summary images, social cards archetype-poster.md

deck includes a collapsible sidebar, settings menu, fullscreen, optional sound and reduced-motion-aware effects. Start from deck-outline-skeleton.html for reading/review, deck-skeleton.html for single-slide presentation, or deck-motion-skeleton.html for a worked step example. Both views can switch without losing position. Preserve chapter groups; finalize with thumbnails for a visual sidebar (see the deck reference).

Intake

  1. Archetype (above).
  2. Topic, audience, what they should be able to do or decide afterwards, and roughly how much content.
  3. Colour direction — propose two or three, or derive one from the topic. See design-tokens.md.
  4. Images? If any is a screenshot or of unknown provenance, ask the sanitization question in Hard Constraints before embedding.
  5. Which export, if any: PDF, PNG, or per-slide PNG. Produce only what was asked for.
  6. For editable notes or forms, resolve the capability gap before promising implementation: the bundled player has no free-text input or persistence. Offer a static worksheet only with agreement; otherwise route to an application workflow. Do not patch the pinned runtime to disguise an unsupported requirement. For a deck, always also ship the review wrapper unless the user declines: finish and verify the deck, then wrap it once with build_review_viewer.py and hand over that single file (deck plus a closable comment panel on the right above 640px wide, slide grid, search, deep links, presenter view in a second window, laser pointer, click-to-enlarge image lightbox, one-click colour presets (view-time only, saved per browser; the deck file is unchanged)); keep the unwrapped deck as the editable source. A plain deck has no comment feature, so never describe one as having it. The wrapper has its own script and is not covered by the verifier (running verify_html.py on it fails on srcdoc); the embedded deck still is. Smoke-test the wrapper in a browser before shipping (slide count matches, no console errors). To edit a wrapped deck, --extract a fresh scratch copy each time, apply the change with a re-runnable script (hand-patched scratch copies lose tags and cannot be re-derived), re-finalize, then re-wrap; never hand-edit the wrapper.

Hard Constraints

These gate the output. They are here, not in a reference, because a reference may never be read.

  • No artifact-specific JavaScript or CSS. Script is the bundled runtime only; styling is the fixed template plus typed custom properties. Any other <script> or <style> fails verification.
  • Images ride in a data: URI on an <img>, or in allowlisted inline SVG. Nothing else may carry a resource — not CSS url(), not srcset, not <object>, <embed>, <iframe>, <video>, <link>, and never srcdoc.
  • No web fonts. System font stack only. Glyphs will differ across machines; say so rather than claiming pixel fidelity.
  • Do not generate brand logos or trademarks.
  • Never write a customer name, tenant name, subscription id, or internal hostname into the output. Exception: when the user explicitly asks for the customer's name in the title of a deck meant for that same customer, put it in the title and <title> only, never in the body, notes, alt or imag
Полный SKILL.md на GitHub

Установить single-html-forge в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSE.txtassets/css/shf-deck.cssassets/css/shf-doc.cssassets/css/shf-poster.cssassets/runtime/shf-runtime.jsassets/skeletons/deck-motion-skeleton.htmlassets/skeletons/deck-outline-skeleton.htmlassets/skeletons/deck-skeleton.htmlassets/skeletons/doc-skeleton.htmlassets/skeletons/poster-skeleton.htmlreferences/anti-slop.mdreferences/archetype-deck.mdreferences/archetype-doc.mdreferences/archetype-poster.mdreferences/artifact-grammar.mdreferences/asset-embedding.mdreferences/component-patterns.mdreferences/design-tokens.mdreferences/japanese-typography.mdreferences/verification.mdscripts/budget.jsonscripts/build_review_viewer.pyscripts/build_skeletons.pyscripts/derived_assets.pyscripts/embed_assets.pyscripts/export_html.pyscripts/mask_image.pyscripts/requirements.txtscripts/runtime-registry.jsonscripts/test_browser.pyscripts/test_export_html.pyscripts/test_review_viewer.pyscripts/test_verify.pyscripts/verify_html.pyskill-license.json

FAQ

Что делает скилл single-html-forge?

Generate a single self-contained HTML file — a horizontal slide deck, a vertical-scroll explainer document, or a fixed-canvas summary image — with zero external runtime dependencies, then verify it mechanically. Use when the user asks for HTMLスライド, 単一HTMLスライド, single-file HTML presentation, ブラウザーで開く説明資料, HTML 説明資料, 画像付き手順書のHTML, HTMLサマリ画像, or self-contained HTML, or wants to hand someone a deck or explainer that opens anywhere without PowerPoint. Also use to embed images into such a file or to re-check an existing one. Does not output PPTX.

Как установить скилл single-html-forge?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл single-html-forge запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить single-html-forge с