/agent-skills:local-reasoningfrom agent-skills
Local reasoning — understanding a function or class correctly from its definition alone, never by tracing callers, call order, or global state. Use when code reaches for a singleton, global, or shared mutable state instead of taking it as input, mutates an argument in place, or only works correctly in a particular call order.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You should be able to trust your understanding of a function or class from its definition alone — never by tracing who calls it, never by checking what else is running, never by learning the rest of the system. A piece of code's footprint is everything it actually reads or writes: its parameters and return value, plus anything outside itself it touches. Local reasoning holds when the declared footprint — the signature, constructor dependencies, documented effects — equals the real one: does it touch anything it didn't declare?
List what the code actually reads and writes: parameters and return value, but also anything reached via import, singleton, global, shared mutable field, or ambient context (current time, current user, a feature flag). Compare that to what's declared. Anything on the "actual" list missing from the "declared" list is a hidden footprint — understanding this code now requires information it never told you it needed.
The named failure: behavior here changes because of a state change over there, with nothing at this call site pointing to the connection. Common sources: module-level or static mutable state; a singleton or service locator reached for inside a function instead of passed in; calls that only work in a particular order with nothing enforcing or declaring it; a shared mutable object passed by reference and mutated by more than one owner.
currentUserId: UserId beats id: String with a comment explaining whose id it is. Reach for a comment only for what naming and types genuinely can't say — it's the fallback, not the first move.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub joachimwedin/agent-skills --plugin agent-skills32 skills in this plugin
/blackbox-test-casesGenerate exhaustive, non-negotiably rigorous black-box test case descriptions (Given/When/Then, not code) for a public API's external contract — never its implementation. Use for zero-tolerance test coverage, an extremely strict/exhaustive black-box test case sweep, or whenever "thorough" test-case generation isn't thorough enough. Produces an API handoff file, one case file per sub-agent — each is its own source of truth — and a master index file pointing at all of them. Every case carries a checkbox so a later implementing agent can track what's been turned into runnable tests. This skill never writes runnable tests itself./brand-palettePick a primary and accent color that fit a given project and fit each other, or — given an explicit primary — pick three accent candidates that each fit the primary and the project, then generate the full Tailwind v4 color-token system (raw OKLCH scales plus the semantic layer, light and dark) for all three candidates as copy-paste CSS and a visual HTML report written into the project. Use when the user wants brand colors chosen for a project, a Tailwind color system generated from a repo, or a secondary/accent color picked to pair with a primary they already have./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.