Code Discipline

Prevent trivial helpers, wrapper layers, rename-only utilities, duplicate constants, and local reinvention. Enforce reuse of platform primitives, framework capabilities, shared utilities, and proven libraries. Use when adding or reviewing helper sprawl, object-vs-positional parameter decisions, arrow-vs-declaration choices, class-vs-functional design, god-file boundaries, schema-file boundaries, security/maintainability hardening, or UI structure so the agent keeps code disciplined and avoids technical debt.

mwillbanks Updated

File contents

mwillbanks/agent-skills commit 488f510a39

Frequently asked questions

npx get-skill add mwillbanks/code-discipline