AddThisFeature

Skeleton Loading

Show the shape of the content while it loads, instead of a spinner.

simple UI & Polish

What it adds

Replace spinners and blank screens with skeleton placeholders that match the shape of the content about to arrive.

What your agent is told to do

4
  1. 1

    Find every view that fetches data before it can render.

  2. 2

    Build a skeleton that mirrors the real layout — same rows, same rough sizes. A skeleton that does not match causes a visible jump when the content lands.

  3. 3

    Reuse the app's existing surface and border colours. Do not introduce a new grey.

  4. 4

    Do not show a skeleton for requests that usually resolve in under ~200ms; it will flash. Delay the skeleton's appearance instead.

Edge cases it handles

3
  • A failed request must show the error state, not skeletons forever.
  • A request returning zero items must show the empty state, not skeletons.
  • Do not animate the shimmer when prefers-reduced-motion is set.

Definition of done

6
  • Skeletons match the real layout closely enough that nothing jumps when it loads.
  • Fast requests do not flash a skeleton.
  • Errors and empty results resolve to their own states, never a permanent skeleton.
  • The shimmer respects prefers-reduced-motion.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.