Right Sized Design

Fights over-engineering and premature abstraction — the #1 documented AI coding failure. Use when about to add a class, interface, factory, base-class, config layer, plugin system, generic "framework," or any abstraction; when a diff feels bigger than the request; or when reviewing code that has more structure than the problem warrants. Enforces smallest-diff-that-works, YAGNI, "no abstraction without 2-3 real call sites," and Ousterhout's deep-vs-shallow-module test. Triggers: "is this over-engineered", "simplify this", "do we need this abstraction", "this feels heavy", "make it production-ready" (often means add-robustness-not-structure).

manutej fd7a2a0 2 files · 8.1 KB Updated

File contents

manutej/craft/tree/main/skills/right-sized-design commit fd7a2a0668

Frequently asked questions

npx skillmds@latest add manutej/right-sized-design