fundamentals/oop-pillars

Community

Build flexible software with OOP pillars

Authorjohnnystefan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill prevents brittle object-oriented code by guiding you to apply abstraction, enforce encapsulation, and replace conditional logic with polymorphism when designing class hierarchies.

Core Features & Use Cases

  • Guided Abstraction: Focus each class on relevant data and behavior for its context so responsibilities remain clear and cohesive.
  • Encapsulation Enforcement: Recommend private or protected members, getters/setters, and interface contracts to protect internal state and promote safe interactions.
  • Inheritance & Polymorphism Checks: Confirm that inheritance expresses true is-a relationships and that conditional switches are replaced with polymorphic implementations.
  • Use Case: When auditing a reservation system, use this Skill to ensure customer, booking, and payment entities are structured with appropriate abstractions and polymorphic behavior instead of sprawling switch statements.

Quick Start

Evaluate the reservation handler to ensure abstraction, encapsulation, inheritance, and polymorphism are properly applied.

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: fundamentals/oop-pillars
Download link: https://github.com/johnnystefan/test-saas-business/archive/main.zip#fundamentals-oop-pillars

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.