К основному содержанию
скилл CX Codex

html-design-examples — скилл для Claude Code: примеры HTML

Скилл html-design-examples для Claude Code создаёт одностраничные HTML-материалы по образцам из галереи. Он создаёт планы, отчёты, прототипы и другие материалы для чтения в браузере.

Apache-2.0 ★ 173 обновлён 2026-10-24

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add sammcj/agentic-coding --skill html-design-examples -a claude-code
Открыть на GitHub

Что делает html-design-examples

В галерее собраны примеры HTML-файлов для разных задач: от сравнения вариантов реализации и разбора кода до отчётов, слайдов и интерактивных редакторов. Скилл предлагает выбрать подходящий образец, изучить его целиком и адаптировать структуру и стиль под задачу. Для интерактивных материалов предусмотрена кнопка копирования результата в JSON или промпт.

Каждый пример — отдельный файл, который открывается в браузере без сборки; стили и скрипты находятся внутри него. Для артефактов, которые будут долго проходить построчное ревью в репозитории, README советует оставить Markdown: HTML-диффы шумные. В примерах есть вымышленный бренд Birchline, его данные переносить в свой проект не следует.

Какие задачи решает

  • сравнить варианты реализации в одной HTML-странице
  • показать этапы плана на временной шкале
  • оформить ревью с аннотациями и ссылками на фрагменты
  • собрать интерактивный прототип из связанных экранов
  • подготовить отчёт с диаграммой или хронологией инцидента

Примеры запросов агенту

  • Подготовь HTML-план реализации с этапами, схемой потоков данных и таблицей рисков.
  • Сделай одностраничный отчёт о статусе проекта с блоком о выполненном и небольшой диаграммой.
  • Собери интерактивный редактор флагов функций с предупреждениями о зависимостях и кнопкой копирования изменений.

Как установить html-design-examples

1Через Skills CLI (Vercel)

npx skills add sammcj/agentic-coding --skill html-design-examples -a claude-code

2Вручную: положить файлы

~/.claude/skills/html-design-examples/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/html-design-examples/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о html-design-examples

Как установить html-design-examples в Claude Code?

Выполните npx skills add sammcj/agentic-coding --skill html-design-examples -a claude-code. Файл скилла находится по пути ~/.claude/skills/html-design-examples/SKILL.md.

Что делает html-design-examples?

Он даёт галерею одностраничных HTML-образцов и помогает выбрать подходящий для отчёта, плана, прототипа или другого материала. Агент изучает пример и использует его структуру и стиль как ориентир.

Когда вместо HTML лучше оставить Markdown?

Когда документ будет жить в репозитории и проходить построчное ревью: HTML-диффы шумные. Для пользовательских интерактивных материалов примеры предусматривают экспорт результата в JSON или промпт.

Исходный текст

SKILL.md · Apache-2.0
---
name: html-design-examples
description: Reference gallery of polished single-file HTML artifacts demonstrating effective ways to communicate ideas through HTML. Use when the user wants to explain, showcase, demo, plan, review, or present an idea within an HTML file.
metadata:
  source: Adapted from https://x.com/trq212/status/2052809885763747935
---

# HTML Design Examples

A library of self-contained `.html` files showing how a static HTML artifact can carry more signal than the same content as markdown. Use them as visual and structural references when building an HTML deliverable for a similar task.

## Why HTML, not markdown

The bottleneck is human attention, not what the agent can produce. A 500-line markdown plan goes unread; the same content as one HTML page with diagrams, tables and inline controls gets engaged with. HTML carries tables, SVG, CSS layout, scripts and spatial composition in a single file, opens in any browser, and shares as a URL rather than an attachment. The token and latency cost is real, and worth it for any artifact that needs to be read by a human.

Prefer HTML for human-facing, ephemeral artifacts (specs, plans, reports, writeups, prototypes, throwaway editors). Stay with markdown or source for things that need durable, line-by-line review in a repo (RFCs, ADRs, runbooks) - HTML diffs are noisy.

## How to use this skill

1. Pick the example that most closely matches the user's intent (catalogue below).
2. Read that file in full before writing your own. The reference's style, density, and structure are the point.
3. Match the shared conventions (see "Conventions").
4. Adapt to the user's real content. The examples use a fictional "Birchline" brand and fixture data - do not carry that across.
5. If the artifact is an editor or any interactive surface, end it with a "copy as JSON" or "copy as prompt" button so the user's work flows back into the agent loop.

## Resource catalogue

Files live in `resources/`. Open `resources/index.html` for the rendered gallery with thumbnails.

### Exploration & Planning
- `01-exploration-code-approaches.html` - side-by-side comparison of three implementation approaches with trade-offs called out inline.
- `02-exploration-visual-designs.html` - layout and palette options rendered live for visual comparison.
- `16-implementation-plan.html` - milestones on a timeline, data-flow diagram, inline mockups, risky code, risk table.

### Code Review & Understanding
- `03-code-review-pr.html` - annotated diff with margin notes, severity tags, jump links.
- `17-pr-writeup.html` - author-side PR description with motivation, before/after, file-by-file tour.
- `04-code-understanding.html` - unfamiliar package drawn as boxes and arrows with the hot path highlighted.

### Design
- `05-design-system.html` - colours, type scale, and spacing tokens rendered as copyable swatches.
- `06-component-variants.html` - every size, state, and intent of one component on a single contact sheet.

### Prototyping
- `07-prototype-animation.html` - a transition in isolation with sliders for duration and easing.
- `08-prototype-interaction.html` - four linked screens, enough fidelity to feel the interaction.

### Illustrations & Diagrams
- `10-svg-illustrations.html` - inline SVG figure sheet suitable for a blog post.
- `13-flowchart-diagram.html` - annotated flowchart with click-to-reveal step detail.

### Decks
- `09-slide-deck.html` - arrow-key navigable slides as one HTML file, no build step.

### Research & Learning
- `14-research-feature-explainer.html` - TL;DR, collapsible request-path steps, tabbed config snippets, FAQ.
- `15-research-concept-explainer.html` - interactive demo, comparison table, hover-linked glossary.

### Reports
- `11-status-report.html` - weekly status: what shipped, what slipped, small chart.
- `12-incident-report.html` - post-mortem with minute-by-minute timeline, log excerpts, follow-up checklist.

### Custom Editing Interfaces
- `18-editor-triage-board.html` - drag tickets across Now / Next / Later / Cut, then export the ordering as markdown.
- `19-editor-feature-flags.html` - grouped toggles with dependency warnings and a copy-diff button for changed keys.
- `20-editor-prompt-tuner.html` - editable template with highlighted variable slots; three sample inputs re-render live as you type.

## Conventions across all examples

- One `.html` file, opens directly in a browser. No build, no npm, no CDN scripts, no external stylesheets.
- CSS custom properties at `:root` for the colour palette and font stacks.
- Serif display headings paired with a sans-serif body is the recurring typographic pattern.
- Any interactivity is vanilla JS in a single `<script>` tag.
- Calm, editorial aesthetic: paper tones, restrained accent colour, generous whitespace (But not a narrow column of information. Use the available screen real estate wisely).
- Interactive surfaces export their state - a "copy as JSON" or "copy as prompt" button is the closing affordance.

## Aesthetic consistency

When the user has an existing project with its own design language, generate or reference a single design-system HTML file (see `05-design-system.html` for the shape) and use it as the style anchor for subsequent artifacts. Defer to the project's own brand and tokens rather than copying the gallery's editorial palette wholesale.

## Gotchas

- HTML diffs are noisy. If the artifact will live in a repo and be reviewed line-by-line over time, write markdown instead.
- An editor without an export button is half a tool. Always finish interactive artifacts with a way to get the result back into text.
- If the user wants an arrow-key slide deck specifically, the `html-slides` skill is purpose-built. If they want a configurable explorer with a copy-as-prompt button, the `playground` skill is purpose-built. This skill is for the broader case of any single-file HTML deliverable.

© sammcj · Apache-2.0 · sammcj/agentic-coding

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

Все скиллы по теме «Фронтенд и UI» →
huashu-design-html-native reason-machines Скилл huashu-design-html-native превращает запрос словами в готовый файл: прототип, слайды, анимацию или инфографику на HTML/CSS/JS. Figma не нужна. CX Codex +1 433установок cc-design-html-prototyping reason-machines Скилл cc-design-html-prototyping для Claude Code: помогает агенту создавать HTML-макеты, презентации и интерактивные прототипы. Проверяет визуальные направления до начала разработки интерфейса. CX Codex +1 430установок design-html podo Скилл design-html превращает дизайн-макет в готовый HTML/CSS. Работает с макетами из /design-shotgun, планами или текстовым описанием. CX Codex +1 215установок expo-examples expo Скилл expo-examples для Claude Code находит примеры интеграций Expo с библиотеками и сервисами. Он помогает перенести подход в существующее приложение или создать проект из примера. CX Codex +1 32 000установок html-diagram plannotator Скилл html-diagram для Claude Code и других платформ. Генерирует автономные интерактивные HTML-диаграммы без сторонних сервисов и сборки — топологию, состояния, таймлайн, архитектуру. CX Codex +1 4 600установок html plannotator Скилл собирает один самодостаточный HTML-файл со стилями и скриптами внутри: отчёт, лендинг, презентацию или калькулятор. И подсказывает, какому соседнему скиллу уступить задачу. CX Codex +1 4 300установок

Из того же набора73

Весь набор →
markedit-tools Скилл markedit-tools помогает обновлять macOS-редактор MarkEdit, подключать расширения и менять настройки программы через Claude Code. CX Codex +1 ★ 173звёзд репо raspberry-pi-pico2 Помогает настраивать сборку и отладку Raspberry Pi Pico 2 и Pi Debug Probe. Охватывает RP2350, SDK, OpenOCD и GDB. CX Codex +1 ★ 173звёзд репо prompt-enhancer Скилл prompt-enhancer для Claude Code превращает неточные промпты в запросы, составленные по образцу экспертной коммуникации. Улучшает собственные запросы и переписывает их для другой ИИ-системы. CX Codex +1 ★ 173звёзд репо piper-tts-training Скилл piper-tts-training для Claude Code готовит датасеты, запускает дообучение и экспортирует голоса Piper в ONNX. Голоса предназначены для синтеза речи на микрокомпьютерах вроде Raspberry Pi. CX Codex +1 ★ 173звёзд репо step-back Субагент step-back для проверки, не перегружён ли текущий подход избыточными абстракциями. Анализирует код или дизайн и выносит вердикт: продолжать, упрощать или переделать с нуля. CX Codex ★ 173звёзд репо reframe-voice Скилл reframe-voice для Claude Code задаёт стиль доказательных колонок с переосмыслением привычных идей. Помогает разбирать сложные темы в лонгридах без рекламного пафоса. CX Codex +1 ★ 173звёзд репо excalidraw-diagrams Скилл excalidraw-diagrams создаёт и обновляет схемы Excalidraw через интерактивный просмотр MCP или локальный Python-скрипт. CX Codex +1 ★ 173звёзд репо idrive-backup Помогает проверять и менять настройки iDrive Backup на macOS, включая пути резервного копирования и исключения. При изменениях инструмент автоматически сохраняет копии конфигурации. CX Codex +1 ★ 173звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой