/engineering-principles:engineering-principlesfrom Engineering Principles
Provides 17 engineering principles for active coding tasks: diff sizing, work sequencing, refactoring, debugging, commit stacks, verification, context pressure, recurring corrections, and tool choice. Each principle links to a short reference for the situation.
Ships in Engineering Principles. 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.
Read when SKILL.md points to them.
Seventeen principles, one index. Match the situation to a row, then read that reference in full before applying it. Each reference is short.
| Principle | Apply when |
|---|---|
| laziness-protocol | Refactoring, sizing a diff, or tempted to add abstractions, layers, or signal threading. |
| model-the-domain | Stateful logic, repeated shape assumptions, or branching spread across files. |
| separate-before-serializing-shared-state | Multiple writers contend for one slot, cache, or merged config value. |
| boundary-discipline | Validation, error handling, parsing, framework adapters, or external data. |
| make-operations-idempotent | Activation, migration, install, retry, or hook paths that can run twice. |
| type-system-discipline | Types or signatures in a statically typed language. |
| subtract-before-you-add | Sequencing an addition, refactor, or rewrite. Remove dead weight first. |
| migrate-callers-then-delete-legacy-apis | Replacing an API or call path. Migrate callers and delete the old path together. |
| minimize-reader-load | Code that requires too many layers or too much hidden state to understand. |
| fix-root-causes | Debugging. Establish the failure and fix it where the behavior belongs. |
| sequence-verifiable-units | Multi-step work and commit or PR stacking. Verify each unit before the next. |
| verified-slice | Implementing one reviewable, reversible unit with evidence and commit authority. |
| prove-it-works | After completing a task, before declaring done. Check the real artifact. |
| premise-review | Any review of a plan, diff, or PR. The one review contract: decide whether the change should exist before checking whether it works. |
| guard-the-context-window | Context fills up: large outputs, long files, repeated reads, fan-out planning. |
| encode-lessons-in-structure | The same instruction gets written a second time, or a correction recurs. |
| build-the-lever | Repetition, error risk, or reproducibility justifies a tool beyond existing commands. |
Cite a principle only when it changed a concrete choice. A citation with no decision behind it means the reference was skipped.
Workflow skills reference principles by short name, for example "the prove-it-works principle". Resolve those names against this index.
LICENSE (opens in a new tab)LICENSES/LICENSE-matt-pocock.txt (opens in a new tab)references/boundary-discipline.md (opens in a new tab)references/build-the-lever.md (opens in a new tab)references/encode-lessons-in-structure.md (opens in a new tab)references/fix-root-causes.md (opens in a new tab)references/guard-the-context-window.md (opens in a new tab)references/laziness-protocol.md (opens in a new tab)references/make-operations-idempotent.md (opens in a new tab)references/migrate-callers-then-delete-legacy-apis.md (opens in a new tab)references/minimize-reader-load.md (opens in a new tab)references/model-the-domain.md (opens in a new tab)references/premise-review.md (opens in a new tab)references/prove-it-works.md (opens in a new tab)references/separate-before-serializing-shared-state.md (opens in a new tab)references/sequence-verifiable-units.md (opens in a new tab)references/slice-receipt.md (opens in a new tab)references/subtract-before-you-add.md (opens in a new tab)references/type-system-discipline.md (opens in a new tab)references/verified-slice.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub khaneliman/khanelinix --plugin engineering-principlesOther plugins' skills for the same job