/skills:principle-never-nestfrom zurawiki/skills
Apply whenever writing or changing code. Exit early on the unhappy cases so the main logic stays flat and comes last.
Ships in zurawiki/skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Exit early. Handle each unhappy case at the top and leave, so the main logic runs flat, unindented, and last.
Why: Each level of nesting is one more condition the reader must hold in their head to understand the line in front of them. An early exit settles that condition and lets the reader forget it.
Pattern:
if (ok) { ... }, write if (!ok) return and continue below it.return in a function, continue or break in a loop, a throw for an error.else after a branch that exits.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/principle-fix-root-causesApply when debugging. Trace each symptom back to the first place the system went wrong and fix it there. A guard is a fix only when the state it handles is legitimate./principle-laziness-protocolApply when refactoring, evaluating diff size, or tempted to add abstractions, layers, or signal threading. Bias toward deletion and the smallest change that solves the problem./principle-normalizeApply when changing where repository facts are stored or how multiple consumers read them.Other plugins' skills for the same job
npx claudepluginhub zurawiki/skills --plugin skills