code-check-loading-states
CommunityCatch async UX regressions before users feel them
Software Engineering#code review#accessibility#react#loading states#optimistic updates#route loaders#async ux
Authorwebdevcody
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents inconsistent loading and pending UI behavior after code changes, which can cause flicker, stuck buttons, missing route fallbacks, or optimistic updates that don’t recover on errors.
Core Features & Use Cases
- Submit lockout validation: Detects mutation-backed forms where submit buttons are not disabled during pending states.
- Loading convention consistency: Flags cases where a spinner is introduced in places where the app uses skeletons (or vice versa) to reduce jank and UI inconsistency.
- Route pending fallback audit: Finds route loaders that lack a
pendingComponentand may freeze the prior view. - Optimistic update rollback check: Identifies optimistic cache writes without an
onErrorrollback to avoid showing changes that never persisted. - Accessible busy-region verification: Reports missing
aria-busyon visibly substantial pending regions and suggests safe mechanical fixes when boundaries are unambiguous.
Quick Start
Run code-check-loading-states on the latest UI changes and ask it to "check loading states" for submit buttons, route pending fallbacks, optimistic rollback, and async-region busy accessibility.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-check-loading-states Download link: https://github.com/webdevcody/go-mailing-list/archive/main.zip#code-check-loading-states Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.