Philosophy — Composition Over Invention
OfficialOptimize codebases by prioritizing existing solutions over new abstractions.
Software Engineering#software design#code reuse#technical debt#composition over invention#rule of three
Authorbytetalent
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of balancing code maintainability and reusability by advocating for the use of existing solutions and small glue code over unnecessary new abstractions.
Core Features & Use Cases
- Composition of Skills: Encourages combining existing skills and patterns to cover most feature needs, avoiding unnecessary abstractions.
- Rule of Three: Provides the "rule of three" principle, suggesting to only create new abstractions after three instances of similar features have been observed.
- Glue Code: Allows for the writing of "glue code" to connect existing patterns, rather than wrapping everything in a new hook or component.
Quick Start
Integrate this philosophy into your project by following the 'rule of three' and prioritizing composition over invention in your code design.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: Philosophy — Composition Over Invention Download link: https://github.com/bytetalent/docs/archive/main.zip#philosophy-composition-over-invention 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 620,000+ vetted skills library on demand.