oop-polymorphism - Implement polymorphism with interfaces and abstractions
Implements polymorphic object-oriented designs using interfaces, abstract classes, protocols, and runtime type substitution.
Tags
Updated: 2026-11-26Capabilities
Typical Inputs
What this skill does
- Define common interfaces
- Create abstract base classes
- Implement interchangeable components
- Apply runtime type substitution
- Use protocol-based polymorphism
Inputs
- Object-oriented design requirements
- Existing source code
Outputs
- Interface definitions
- Abstract class definitions
- Polymorphic implementations
- Interchangeable component logic
Requirements
- Bash tool
- Read tool
