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 488f510 28 files · 73.9 KB Updated

File contents

mwillbanks/agent-skills/tree/main/.agents/skills/code-discipline commit 488f510a39

Frequently asked questions

npx skillmds@latest add mwillbanks/code-discipline