Skill library

Agent skill Web motion

HTML Prototype

Make interface behavior and feedback feel clear and intentional.

  • Microinteractions
  • Accessibility

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add plannotator/effective-html --skill html-prototype --agent claude-code --yes

Check this file in your project.claude/skills/html-prototype/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add plannotator/effective-html --skill html-prototype

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A real product question, one task, original sample data, and a browser for desktop and mobile verification.

View operation manual

What this skill helps with

  • Make interface behavior and feedback feel clear and intentional.

Good for

  • Interaction and feedback
Task
Model one complete review workflow as an offline HTML prototype
Inputs
A real product question, one task, original sample data, and a browser for desktop and mobile verification.
Deliverable
One offline HTML file showing a credible flow with working state, feedback and recovery.
Skill name
html-prototype

Define the real inputs and output

A broad request

Build a full product prototype with some random buttons.

Buttons without a real state model can appear functional at rest but give no feedback or recovery during the task.

A verifiable workflow

  1. The prototype has an intended audience, a task, and a short list of states.
  2. Every visible action does something observable and the file opens without tools or credentials.
  3. The handoff proves the states, keyboard and narrow layout that were actually covered.

HTML Prototype operation manual

One offline HTML file showing a credible flow with working state, feedback and recovery.

A real product question, one task, original sample data, and a browser for desktop and mobile verification.

  1. Pick the fidelity mode and define one success path

    The prototype has an intended audience, a task, and a short list of states.

    Prompt · Step 1
    Use HTML Prototype on [approval or review scenario and audience]. Select Prototype mode for actual state transitions. Define the starting state, entry action, evidence, success and relevant empty or recovery states. Use approved design tokens or specify a small local style direction. Keep all samples separate from live data.
  2. Build the interactive route as one file

    Every visible action does something observable and the file opens without tools or credentials.

    Prompt · Step 2
    Implement [agreed workflow] as one self-contained .html file with essential styles and script inline. Use real semantics, predictable focus, readable contrast, inline mock results and clear recovery. Avoid build dependencies and external requests. Scope the UI to the one demonstrated task.
  3. Operate the file offline at two widths

    The handoff proves the states, keyboard and narrow layout that were actually covered.

    Prompt · Step 3
    Open [local HTML file] without network at desktop and phone widths. Walk forward and backward through the flow, try a failed action, and check keyboard and reduced motion. Verify overflow, focus restore and color contrast on each actual surface. Report the real file path, all modeled states and any production behavior left out.

Look up tooling and verification

Use the scripts or templates in this installed distribution.

When should I choose Mockup mode?SKILL.md
Command or reference
Mockup / Prototype · one self-contained .html
Examples
Use it when the decision is layout, hierarchy or visual direction. Use Prototype mode when actions, feedback or recovery need to be evaluated.

Troubleshooting and FAQ

When should I choose Mockup mode?

Use it when the decision is layout, hierarchy or visual direction. Use Prototype mode when actions, feedback or recovery need to be evaluated.