Axonix Tools
Back to all skills
Design

Loading State Designer

Designs skeletons, spinners, optimistic states, disabled states, and perceived-performance improvements.

Skill summary

Difficultybeginner
Assistants12
Config files4
Trigger phrases4

Copy-ready skill file

Paste this into your assistant rules file

Recommended targets: AGENTS.md, CLAUDE.md, .cursorrules, .windsurfrules

Remix this skill
# Loading State Designer

## Purpose
Designs skeletons, spinners, optimistic states, disabled states, and perceived-performance improvements.

## When to Use
- **"loading state"** — Covers add skeletons.
- **"skeleton UI"** — Covers improve perceived speed.
- **"optimistic update"** — Covers prevent layout shift.
- **"pending state"** — Covers add skeletons.

### AGENTS.md
```markdown
# Loading State Designer — AI Assistant Rules
# Place this file in your project root as AGENTS.md

Designs skeletons, spinners, optimistic states, disabled states, and perceived-performance improvements.
```

## Operating Instructions
1. Collect the existing system — type scale, spacing, colour roles, component states
2. State the job the screen does and who uses it before drawing anything
3. Lay out on the shared grid and spacing scale rather than freehand positions
4. Design the empty, loading, long-content and error states alongside the happy path
5. Check contrast against the real background and the real type size
6. Hand off with numbers: sizes, weights, line heights, spacing, and the full state list

## Example Prompts
- `"loading state"`
- `"skeleton UI"`
- `"optimistic update"`

## Verification Checklist
- [ ] Every value used exists on the scale, or there is a stated reason it does not
- [ ] Empty, loading, error and overflow states are all specified
- [ ] Contrast was measured on the actual background at the actual size
- [ ] The handoff includes realistic content lengths, not lorem
- [ ] The skill file is placed at `AGENTS.md` in the project root
- [ ] Tested with Cursor to confirm the rules load and fire

## Integration Guide
Use alongside **UI Guidelines Auditor** to validate designs against standards, or with **React Composer** to implement component patterns.

## Primary Use Cases
- Add skeletons
- Improve perceived speed
- Prevent layout shift

## Difficulty
**Beginner** — no prior expertise required; the rules work as-is on a fresh project.
Try it like this

With the Loading State Designer rules in AGENTS.md, ask:

“loading state”

The assistant then takes on add skeletons — the approach, the checks and the shape of the answer are fixed by the file before the first token is written.

What it is for

  • Add skeletons
  • Improve perceived speed
  • Prevent layout shift

4 ways to trigger it

loading stateskeleton UIoptimistic updatepending state
How Design skills behave

Skills in this category start from a system rather than a screen. Type scale, spacing rhythm, colour roles and component states are decided first, and the individual interface inherits them. That order matters: it is why the output tends to be a spec with numbers in it rather than a mood board described in adjectives.

Practices that matter in Design work

  • Fix the spacing scale before you design the screen. Eight values used consistently beat twenty used arbitrarily.
  • Design the empty, loading and error states. They are the ones users see first and the ones nobody demos.
  • Test with realistic content lengths, including the longest string a real user could enter.
  • Check contrast against the actual background, not the one in the mockup. Translucent layers change it.
  • Hand off with numbers: sizes, weights, line heights, spacing, and the states that exist. Ambiguity becomes inconsistency later.
Where the rules go

Start with AGENTS.md.

AssistantRules file
Cursor.cursorrules
Windsurf.windsurfrules
OpenCodeAGENTS.md
Cline.clinerules
GitHub Copilot.github/copilot-instructions.md
Continue.continuerc.json
Aider.aider.conf.yml
Cody.cody.json
Amazon Q.amazon-q.json
CodeGPT.codegpt.json
Replit.replit
ClaudeCLAUDE.md
CLAUDE.md.cursorrules.windsurfrules
Loading State Designer questions
What does the Loading State Designer skill do?
Designs skeletons, spinners, optimistic states, disabled states, and perceived-performance improvements. The copy-ready file above carries the full rule set, the trigger phrases and the checks the assistant runs before it hands work back.
How do I trigger the Loading State Designer skill?
Ask for the work using one of its trigger phrases — for example “loading state”, “skeleton UI”, “optimistic update”. Once the rules file is in place, assistants that read it also pick the skill up without the phrase.
Which files should hold the Loading State Designer skill?
AGENTS.md, CLAUDE.md, .cursorrules, .windsurfrules. AGENTS.md is the one to start with; the rest exist so the same rules load in whichever assistant your team uses.
Which assistants support the Loading State Designer skill?
Cursor, Windsurf, OpenCode, Cline, GitHub Copilot, Continue, Aider, Cody, Amazon Q, CodeGPT, Replit, Claude. Any assistant that reads a plain-text rules file can use it, so the format matters more than the product.
Is the Loading State Designer skill hard to set up?
It is rated beginner. Nothing beyond dropping the file into your project root is required.
What can I actually use the Loading State Designer skill for?
The documented jobs are add skeletons, improve perceived speed, prevent layout shift. Beyond those it still works — the rule set is instructions, and assistants follow it past the examples you give it.
Does the Loading State Designer skill send my code anywhere?
No. The file is static text in your repository. What happens to your code afterwards depends on the assistant you run it in and that provider's own data policy.

Related Skills