Applying Composition Over Inheritance

Evaluates object-oriented designs to choose composition, inheritance, or algebraic data types. Produces decision rationales, refactoring plans, and review guardrails that reduce fragile base classes and subclass explosion. Use when reviewing class hierarchies, deciding between extends vs interfaces, refactoring inheritance-heavy code, introducing dependency-injected collaborators, or defining team conventions for object modeling.

msewell Updated 0 repo stars
take my skill.md file… its really cool… it takes your agent… and makes it stupid

File contents

msewell/agent-stuff commit ac113f6c3e

Frequently asked questions

npx get-skill add msewell/applying-composition-over-inheritance