From xonovex-skill-oop
Guides class hierarchy design and OOP principles including SOLID, design patterns, and composition over inheritance. Activates on discussions of classes, inheritance, polymorphism, encapsulation, or interfaces.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xonovex-skill-oop:oop-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Prefer composition over inheritance; program to interfaces, reserving abstract classes for shared implementation.
Recognizers for common OO-design problems and the principle each violates.
Square extends Rectangle is the classic violation despite matching typesequals / ==) and hashing must agree — overriding one and not the other breaks HashSet/HashMap silentlyfinal/readonly is the cheapest correctness leverGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
npx claudepluginhub xonovex/platform --plugin xonovex-skill-oop