Guides writing defensive code: validate untrusted data once at boundaries, trust invariants inside, and fail loudly on bugs. Useful for entry points, constructors, and security-critical paths.
Checking every argument in every function is not defense, it is noise that buries the one check that matters and slows code that never sees bad input. Real defense draws a line: validate untrusted data once at the boundary, establish invariants, and let interior code trust them, then fail loudly if one is ever violated.
assert balance >= 0
documents a fact your code guarantees; if it fails, that is a bug, and
the program should stop, not recover. Never assert on user input, only
on conditions your own code promises.Percentage that refuses values outside 0 to 100 means no downstream
code ever guards that range again.assert under
-O; C strips under NDEBUG. If an invariant must hold in production,
use a real check that throws, not an assert that silently vanishes.Security-critical trust boundaries (auth, deserialization of hostile input) need validation even on paths you nominally own, because the threat model, not the call graph, defines the boundary there. Where a framework already validates at its edge, defer to it rather than building a redundant second wall.
What SKILL.md sets; muted values are Claude Code's defaults
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