Models UI as explicit finite states to eliminate impossible combinations and bugs. Use when a component has too many boolean flags or contradictory states.
Four booleans encode sixteen states, but a real screen has maybe five valid ones. Modeling the valid states explicitly deletes the other eleven and the bugs that live in them.
isLoading && !isError && data, you are reconstructing a state that
should have a name. Replace the boolean cluster with one status union.{ status: 'loading' }, { status: 'error', error }, { status: 'success', data }. Now data cannot be read while loading because the type has no
data there. This is the core payoff; enforce it with TypeScript.idle --submit--> loading, loading --resolve--> success, loading --reject--> error. A transition table is the spec; any
event arriving in a state with no defined transition is ignored, which kills
the double-submit and the resolve-after-unmount races.editing with nested pristine/dirty, or
submitting overlapping a validating), use a library like XState or a
hand-written reducer with a chart. Flat unions handle most components;
hierarchy and parallelism are the signal to escalate.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job