data-oriented-architecture
CommunityGraceful, scalable type-dispatch with a registry.
Authorrbergman
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps eliminate fragile type-dispatch logic by encouraging registry-based polymorphism and data/behavior separation. The centralized registry maps entity types to concrete definitions, improving extensibility and maintainability.
Core Features & Use Cases
- Registry-Based Polymorphism: central registry mapping type to behavior.
- Capability Composition: optional capabilities to avoid deep inheritance and marker interfaces.
- Layered Definition Interfaces: Base, Domain, and Concrete definitions to compose behavior.
- Context Objects: bundle related parameters into context for stable APIs.
- Infrastructure-First Development: prioritize building the registry and dispatch infrastructure before domain code.
Quick Start
Identify existing type-dispatch patterns in your codebase, create a registry mapping entity types to definitions, replace switches with registry lookups, and apply capability composition to enable optional behaviors.
Dependency Matrix
Required Modules
None requiredComponents
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: data-oriented-architecture Download link: https://github.com/rbergman/dark-matter-marketplace/archive/main.zip#data-oriented-architecture 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 223,000+ vetted skills library on demand.