MCPInstall

html-design-examples

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.

Installs
44
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/sammcj/agentic-coding --skill html-design-examples
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads html-design-examples automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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.

FAQ

What does the html-design-examples skill do?

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.

How do I install html-design-examples?

Run npx skills add https://github.com/sammcj/agentic-coding --skill html-design-examples in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/html-design-examples/ (personal) or .claude/skills/html-design-examples/ (project).

Which AI agents can use html-design-examples?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is html-design-examples safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains html-design-examples?

It is published by sammcj in sammcj/agentic-coding. It has 44 recorded installs.

More from sammcj/agentic-coding

View all →

Critically analyse the reasoning in written content (articles, blogs, transcripts, reports), not code. Use only when explicitly asked to critically analyse or critique an argument.

AI & Agents2.4K installs

Applies the Diataxis framework to create or improve technical documentation. Use when being asked to write high quality tutorials, how-to guides, reference docs, or explanations, when reviewing documentation quality, or when deciding what type of documentation to create. Helps identify documentation types using the action/cognition and acquisition/application dimensions.

Docs & Writing615 installs

creating-development-plans

sammcj/agentic-coding

Creates structured development plans with phased task breakdowns, requirements, and QA checklists. Use when the user explicitly asks to create a dev plan, development plan, or document development requirements.

ghostty-config

sammcj/agentic-coding

Open the skill to read its SKILL.md instructions.

AI & Agents221 installs

code-simplification

sammcj/agentic-coding

Use this skill when you need to review and refactor code to make it simpler, more maintainable, and easier to understand. Helps with identifying overly complex solutions, unnecessary abstractions.

prompt-enhancer

sammcj/agentic-coding

Open the skill to read its SKILL.md instructions.

AI & Agents184 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs