Composition Over Inheritance

Use when designing or refactoring a class hierarchy, deciding between extending and wrapping a class, or reviewing subclasses that override methods to disable them. Not for implementing an interface, or for a framework's documented subclass hook.

morzecrew Updated 2 repo stars

File contents

morzecrew/agent-skills commit 67aaef4e26

Frequently asked questions

npx get-skill add morzecrew/composition-over-inheritance