Skill library

Agent skill Web motion

Loading States

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 https://github.com/owl-listener/designer-skills/tree/main/interaction-design/skills/loading-states --skill loading-states --agent claude-code --yes

Check this file in your project.claude/skills/loading-states/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/owl-listener/designer-skills/tree/main/interaction-design/skills/loading-states --skill loading-states

    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. Use a local results page and a fixture that can reproduce quick, slow, empty, and failed responses.

View operation manual

What this skill helps with

  • Make interface behavior and feedback feel clear and intentional.

Good for

  • Interaction and feedback
Skill name
loading-states
Scenario
Design loading feedback for a result list
Deliverable
A verified pending-to-result transition with stable geometry, accessible status, and recovery.
Skill name
loading-states

Give the request a concrete task

A request with an unclear outcome

Show a spinner and a full-screen skeleton for every request.

Two indicators can compete, and a full-page placeholder can hide already usable content during refresh.

A workflow with observable results

  1. Map the waiting phases
  2. Choose one main indicator per phase
  3. Run quick, slow, and failed responses

Loading States operation manual

Choose one waiting pattern that fits known list geometry, then test slow results, empty data, and request failure.

Replace the bracketed details with your own project and target.

  1. Map the waiting phases

    Observe first load and refresh before selecting an indicator.

    Prompt · Step 1
    Use loading-states to inspect [local results route]. Distinguish initial load, refresh with existing content, empty response, and failure. With a safe fixture, measure a representative fast and slow response. Identify whether the content shape is already known and whether actual progress is measurable. Record when scroll or other controls need to remain usable.
  2. Choose one main indicator per phase

    Match placeholder geometry to known results, or use a genuine progress indicator when measurable.

    Prompt · Step 2
    Use loading-states to specify [results page waiting feedback]. Use a layout-matched skeleton for a slower initial load if item geometry is known. On refresh, retain useful content if the existing flow supports it and show one quiet update state. Use a determinate progress bar only with measured progress. Keep empty and error separate from pending. Specify retry or cancel where the product actually supports it, and reduced-motion treatment for shimmer.
  3. Run quick, slow, and failed responses

    Measure whether the list moves and whether users can recover.

    • The placeholder and results occupy the intended space.
    • Failure and pending show different recovery information.
    Prompt · Step 3
    Use loading-states to verify [implemented results feedback] on [local preview]. With controllable test responses, exercise quick and slow starts, refresh while scrolled, empty success and failure. Compare placeholder and final dimensions, check scroll retention, and confirm retry reaches the expected result. Enable reduced motion and check shimmer or transition behavior. Report actual timings and checks, including states you could not run.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

The final results jump when loading endsReference
Command or reference
SKILL.md · Transition Behavior
Examples
Compare placeholder dimensions, final row height, and scroll position.
Several indicators compete during a requestReference
Command or reference
SKILL.md · Loading Patterns
Examples
Pick a pattern based on whether the layout and progress are known.

Loading States troubleshooting

Should every request show a spinner?

Base that choice on observed waiting time and whether users have usable content already. The skill’s duration bands are design starting points.