domain-application-separation
CommunitySplit domain logic from app orchestration in CLJS
AuthorKaspazza
Version1.0.0
Installs0
System Documentation
What problem does it solve?
In large CLJS/re-frame projects, domain business logic often gets entangled with UI orchestration, making refactors risky and testing harder. This guide helps you establish a clear boundary so domain code remains framework-agnostic and application code handles UI wiring.
Core Features & Use Cases
- Defines how to place pure business logic (domain) separately from framework-specific orchestration (application) in ClojureScript apps.
- Provides patterns for migrating functions, data schemas, and transformations into domain namespaces while leaving UI wiring in application namespaces.
- Useful during feature refactors, architecture reviews, or when adding new pages to a re-frame app.
Quick Start
Refactor a CLJS/re-frame project by moving pure domain functions and data definitions to domain namespaces while keeping UI wiring in application namespaces.
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: domain-application-separation Download link: https://github.com/Kaspazza/doom-config/archive/main.zip#domain-application-separation 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 471,000+ vetted skills library on demand.