Reduces cognitive load in code by improving locality, splitting complex expressions, and naming by role. Use when reviewers scroll back or re-read to understand a function.
Working memory holds only a handful of items at once, so code that forces a reader to track more than that becomes slow to read and easy to misread. The job is to arrange code so each line is understandable from what is already on screen. Without a method you optimize for fewer lines or clever expressions, trading your convenience for every future reader's confusion.
return transform(fetch(parse(input))) into
named steps: parsed, record, result. Each intermediate name is a label
the reader rests on instead of unwinding four nested calls in their head.if (status == 3) becomes
if (status == Status.EXPIRED). The magic value forces a lookup elsewhere;
the name carries the meaning inline where the reader already is.if (!user) return; flatten the arrow of doom. Each indentation level is one
more condition the reader must hold true while reading everything inside it.remainingRetries beats i2;
isEligible beats flag. A name stating why the value exists spares the
reader from reconstructing intent out of how the value gets used.Some domains carry irreducible complexity: a numerical kernel or a parser state machine stays dense because the problem is dense. Reduce load without hiding real behavior behind abstraction, and profile before restructuring hot code that reads awkwardly for the sake of speed.
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