Models data with precise types so illegal states cannot compile. Use when designing types, modeling state machines, or hardening loosely typed modules.
A type is a proof the compiler rechecks for free on every build, but only about the things you let it see. Model with loose types (everything a string, every field optional, states tracked by scattered flags) and the compiler cannot help; model tightly and whole categories of bug stop compiling.
status: string plus
a nullable error with a tagged union: { kind: 'loading' } | { kind: 'ok', data: T } | { kind: 'error', message: string }. Now "ok with an
error message" cannot be constructed, so no code has to guard against
it.Email, UserId, NonEmptyList) with zod, io-ts, or pydantic,
then pass that type inward. A function taking Email never re-checks the
@, because the type already carries the proof.UserId and an
OrderId that are both bare string will get swapped eventually.
Branded types, newtypes, or NewType in Python make the swap a compile
error at no runtime cost.? you add is a branch every
caller inherits, so keep the mandatory fields mandatory and let the type
document what must exist.strict: true in tsconfig, mypy
--strict, Kotlin explicit-API mode, the relevant -Werror analyses.
Half-on type checking passes files a full pass would reject, which is
worse than knowing they are unsound.never default (TypeScript) or a sealed when (Kotlin) so adding a
variant fails the build at every site that does not yet handle it. The
compiler becomes your checklist for the change.UserId and OrderId distinguishable to the compiler, or both just
string?Dynamic languages without gradual typing, and seams with untyped systems (raw JSON, FFI, reflection), cap how much the compiler can prove: validate at those seams instead. Type modeling has a cost, and past a point the ceremony outweighs the bugs prevented, so stop tightening when the next constraint costs more than the mistake it would block.
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