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.
What this skill does
# 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.
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.