LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-26
object-oriented programmingpolymorphisminterfacesabstract classesdesign patterns

Capabilities

Define common interfacesCreate abstract base classesImplement interchangeable componentsApply runtime type substitution

Typical Inputs

Object-oriented design requirementsExisting source code

Typical Outputs

Interface definitionsAbstract class definitionsPolymorphic implementations

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.