oop-inheritance-composition

Official

Choose between inheritance and composition.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill teaches when to use inheritance vs composition in OO design.

Core Features & Use Cases

  • Inheritance fundamentals: Basic and template method usage.
  • Composition patterns: Delegation and mixins.
  • Practical guidance: When to prefer each approach.

Quick Start

Build a small class hierarchy and a composable module to compare approaches.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: oop-inheritance-composition
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#oop-inheritance-composition

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository