loading-experience
Skill1 starsChanged 24 days agoMITView on GitHub
Design lightweight, contextual, informative, responsive, and accessible loading feedback for page, region, control, transfer, and background-task states.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibilitySkill
- asset-imageSkill
- browser-acceptanceSkill
- clean-build-coreSkill
- clean-build-runtimeSkill
- clean-build-verificationSkill
- clean-build-webSkill
- color-systemsSkill
- design-directionSkill
- editorial-articleSkill
- interface-craftSkill
- knowledge-retrievalSkill
- motion-showreelSkill
- performanceSkill
- product-copySkill
- release-deliverySkill
- responsive-mobileSkill
- routerSkill
- seo-securitySkill
- style-atlasSkill
- web-presentationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 26 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Do not use to hide a performance defect, force a brand intro after content is ready, or diagnose network and server performance without …
- Distinctive: line 45
Use measured duration when available.
- Distinctive: line 85
Keep the motion compact and local.
- Distinctive: line 101
Do not create fake micro-stages only to appear busy.
- Distinctive: line 108
Update a semantic progress bar.
- Distinctive: line 109
Keep percentage and label synchronized with actual work.
- Distinctive: line 110
Avoid rapid regressions or jumps without explanation.
- Distinctive: line 129
Prefer transforms and opacity.
- Distinctive: line 131
Keep cycles legible rather than frantic.
- Distinctive: line 132
Use one main rhythm per loading state.
- Distinctive: line 133
Avoid motion on large text blocks or the entire viewport.
- Distinctive: line 134
Do not combine spin, bounce, shimmer, and scale in one component.
- Distinctive: line 135
Stop or replace motion immediately when the state resolves.
- Distinctive: line 139
Keep navigation, previous content, filters, and user input available when safe.
- Distinctive: line 142
Keep the control label visible unless a replacement communicates the same action.
- Distinctive: line 144
Do not cover the whole page for a local request.
- Distinctive: line 145
Do not use a skeleton for content whose final geometry is unknown.
- Distinctive: line 193
Keep status text in the document and update it only when meaning changes.
- Distinctive: line 194
Use polite live updates for routine progress.
- Distinctive: line 195
Do not announce every animation frame or percentage tick.
- Distinctive: line 197
Keep focus stable during normal progress.
- Distinctive: line 199
Treat decorative loader geometry as hidden from assistive technology when an equivalent text status exists.
- Distinctive: line 206
keep status text, stage labels, and determinate values visible.
- Distinctive: line 208
avoid replacing an informative animation with an unexplained blank space.
- Distinctive: line 230
Use browser evidence at wide and narrow viewports.
- Distinctive: line 245
no timeout or error recovery for a long wait.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Loading Experience
Use when
- designing a loader, spinner, progress bar, skeleton, staged reveal, or startup sequence;
- replacing generic loading feedback with product-specific but lightweight motion;
- deciding whether a wait needs no UI, local feedback, determinate progress, staged status, or recovery controls;
- implementing loading states for search, media, upload, export, fulfillment, document parsing, navigation, or data regions;
- reviewing loading motion for accessibility, responsiveness, and performance.
Do not use to hide a performance defect, force a brand intro after content is ready, or diagnose network and server performance without measurement.
Core principle
Loading feedback exists to maintain trust during real work. Show the smallest truthful signal for the expected wait, keep the surrounding context stable, and reveal usable content as soon as it is ready.
Aesthetic motion is allowed only after scope, progress truth, status language, recovery, and reduced-motion behavior are defined.
Step 1: classify the wait
Record:
Task:
Scope: page, region, control, or background
Blocking or non-blocking:
Expected duration:
Maximum expected duration:
Progress model: none, staged, or determinate
Context retained during wait:
Result geometry known:
Cancelable:
Retryable:
Failure path:
Product motion language:
Reduced-motion state:Use measured duration when available. Do not invent a percentage from elapsed time unless elapsed time is the real progress model.
Step 2: choose feedback by duration
| Expected duration | Default feedback | Notes |
| under 100 ms | none | avoid flashing a loader for immediate work |
| 100 ms to 1 s | local pressed, pending, or subtle indicator state | keep labels and layout stable |
| 1 s to 10 s | skeleton, staged label, or measured progress | show what is happening and reveal partial results |
| over 10 s | determinate or staged progress with expectation and recovery | support cancel, retry, or background continuation where possible |
Delay an indeterminate indicator briefly when a fast response is common, but never delay the real content to make the loader visible.
Step 3: choose a pattern family
The observed motion reference groups visual ideas into circle, dots, fading circles, ball, time, signal, and task-icon families. Translate those families into product semantics rather than copying a decorative grid.
| Pattern | Appropriate use | Avoid when |
| Orbital arc | local media, product preview, or compact processing | determinate progress is available |
| Sequenced dots | composing, searching, or conversational activity | the dots do not identify the active region |
| Radial pulse | discovery, scanning, or proximity | repeated pulsing could distract from readable content |
| Traveling bead | directional transfer with unknown byte progress | direction has no meaning |
| Time sweep | known refresh or polling window | duration is unpredictable or very long |
| Signal ladder | connection negotiation or hardware discovery | bars could be mistaken for real signal strength |
| Task icon | document parsing, delivery, export, search, mail, or download | the icon is decorative or unrelated to the task |
| Wordmark reveal | genuinely blocking application startup | content is already ready |
| Measured line | upload, export, install, or batch task with real progress | percentage is simulated |
| Staged tiles | collection or board results arriving incrementally | final item count and geometry are unknown without fallback |
| Structural skeleton | known content geometry | placeholder shapes do not map to real content |
| Staged reveal | page sections resolving independently | it forces sequential delay on ready sections |
Step 4: define progress truth
Use one model:
Indeterminate
The system knows that work is active but cannot estimate completion.
- Keep the motion compact and local.
- Provide a specific status such as
Searching saved reportsrather thanPlease wait. - Escalate to timeout or recovery instead of looping forever.
Staged
The task has named phases but no reliable percentage.
Preparing files
Compressing archive
Verifying package
Ready to download- Announce meaningful stage changes.
- Do not create fake micro-stages only to appear busy.
- Preserve completed stage evidence when useful.
Determinate
The system has a real numerator and denominator or an equivalent measured value.
- Update a semantic progress bar.
- Keep percentage and label synchronized with actual work.
- Avoid rapid regressions or jumps without explanation.
- Switch to completion promptly at 100 percent.
Step 5: design the motion signature
Choose one signature that belongs to the product:
geometry: circle, line, tile, letter, or contextual icon
energy: quiet, measured, playful, technical, or cinematic
direction: clockwise, forward, upward, expanding, or staged
cycle duration:
easing:
color roles:
static reduced-motion state:Motion rules:
- Prefer transforms and opacity.
- Animate a small visual region.
- Keep cycles legible rather than frantic.
- Use one main rhythm per loading state.
- Avoid motion on large text blocks or the entire viewport.
- Do not combine spin, bounce, shimmer, and scale in one component.
- Stop or replace motion immediately when the state resolves.
Step 6: preserve context and layout
- Keep navigation, previous content, filters, and user input available when safe.
- Show local loading inside the region that will change.
- Reserve final geometry to avoid layout shift.
- Keep the control label visible unless a replacement communicates the same action.
- Replace skeleton pieces progressively when their real content arrives.
- Do not cover the whole page for a local request.
- Do not use a skeleton for content whose final geometry is unknown.
Step 7: write status and recovery
Status should name real work:
Searching 148 saved reports
Uploading 3 of 8 files
Preparing the print-ready archive
Reconnecting to the studio speaker
Indexing chapter 4 of 12Avoid:
Loading...
Working on magic...
Almost there...
Please be patient...For waits that may fail, define:
- timeout threshold;
- visible error state;
- retry action;
- cancel action when cancellation is safe;
- preserved user input;
- background continuation or notification when supported.
Step 8: implement semantics
For indeterminate status:
<p role="status" aria-live="polite">Searching saved reports</p>For determinate progress:
<div role="progressbar" aria-label="Uploading files" aria-valuemin="0" aria-valuemax="100" aria-valuenow="62"></div>Implementation rules:
- Keep status text in the document and update it only when meaning changes.
- Use polite live updates for routine progress.
- Do not announce every animation frame or percentage tick.
- Label retry and cancel controls by action.
- Keep focus stable during normal progress.
- Move focus only when an error or completion flow requires it.
- Treat decorative loader geometry as hidden from assistive technology when an equivalent text status exists.
Step 9: support reduced motion
Under prefers-reduced-motion: reduce:
- replace continuous rotation, bounce, pulse, and shimmer with a static indicator or a single short state change;
- keep status text, stage labels, and determinate values visible;
- preserve the same layout and completion behavior;
- avoid replacing an informative animation with an unexplained blank space.
A pause control is useful for a demonstration library, but product loading should normally end with the task rather than rely on the user to stop it.
Step 10: verify performance and behavior
Check:
no loader appears after content is ready
no forced minimum display duration
no horizontal overflow near 400 CSS pixels
no layout shift when content replaces the placeholder
no animation-driven layout thrashing
no hidden focus or trapped controls
no infinite loop after timeout
status copy matches the active task
progress value reflects real work
reduced-motion state remains understandable
error, retry, cancel, and completion states workUse browser evidence at wide and narrow viewports. Where possible, test a fast path, slow path, error path, retry, and reduced-motion emulation.
Failure patterns
Reject or revise:
- a full-page spinner for a local card update;
- a generic spinner added to every asynchronous action;
- a branded intro that delays ready content;
- fake percentages that climb to 99 and wait;
- shimmer across unrelated empty areas;
- loading text that does not describe the task;
- motion that continues behind completed content;
- a skeleton that changes the eventual reading order;
- animation of width, height, top, or left when a transform can express the same motion;
- no timeout or error recovery for a long wait;
- reduced motion that removes all feedback;
- status announcements on every visual frame.
Output contract
Return:
Task and scope:
Expected and maximum duration:
Blocking posture:
Progress model:
Selected pattern and reason:
Visible status language:
Context preserved:
Geometry reserved:
Animation properties:
Reduced-motion state:
Timeout:
Error and retry:
Cancel or background behavior:
Semantic markup:
Performance evidence:
Wide and narrow browser evidence:
Remaining uncertainty:Completion check
- The loader corresponds to real work and the correct region.
- The progress model is truthful.
- Status copy names the active task.
- Ready content is never delayed for animation.
- Layout remains stable while content resolves.
- Motion uses a small budget and stops on completion.
- Reduced motion preserves meaning.
- Timeout, error, retry, cancel, and preserved input are defined where relevant.
- Determinate values and semantic attributes stay synchronized.
- Wide and narrow browser behavior is verified.
Human documentation: ../../docs/guides/loading-experience.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

