class-design
CommunityDesign robust Python classes with composition.
Authorlibertininick
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Solves rigid inheritance issues in Python class design by promoting composition and protocol-based interfaces.
Core Features & Use Cases
- Interfaces via Protocols
- Dependency injection
- Inheritance rules: max depth 2
- Mixins for shared behavior
- Framework base class allowances
Quick Start
Start by outlining an interface with a Protocol, composing behavior via injection in a class, and only inheriting from framework bases when needed.
Dependency Matrix
Required Modules
None requiredComponents
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: class-design Download link: https://github.com/libertininick/chain-reaction/archive/main.zip#class-design Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.