code-discipline

Installation
SKILL.md

Code Discipline

Use this skill whenever a task involves adding or modifying logic and there is risk of helper sprawl, unnecessary wrappers, duplicate utilities, duplicate constants, or abstraction bloat.

This is an anti-laziness skill. It prevents agents from "solving" tasks by inventing new files, helpers, and indirection when existing primitives already solve the problem.

Default assumption:

  • The user wants maintainable code with minimal abstraction surface area.
  • The user does not want renamed duplicates of existing behavior.
  • New helpers, wrappers, constants modules, and style-only indirection are disallowed unless justified by clear architectural value.

When to Use

Invoke this skill for:

  • feature implementation that introduces new logic
  • refactors that add utility or service layers
  • UI changes where component-local helpers may proliferate
Related skills

More from mwillbanks/agent-skills

Installs
32
GitHub Stars
1
First Seen
Mar 19, 2026