cqrs-pattern
CommunitySharpen CQRS with reactive queries and safe commands.
Authornaporin0624
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill documents the CQRS (Command Query Responsibility Segregation) pattern used in Electron applications with RxJS and neverthrow.
Core Features & Use Cases
- Reactive Queries: Use
Observable<T>for read operations to push updates. - Safe Commands: Use
ResultAsync<void, Error>for writes with explicit error handling. - Bridge Pattern: BehaviorSubject as a bridge between queries and commands for automatic updates.
- Usage: Define a service interface and implement queries and commands following the CQRS guidelines.
Quick Start
Define a CQRS service interface with queries returning Observable<T> and commands returning ResultAsync<void, ApplicationError>, then wire it into Hono routes and a renderer client.
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: cqrs-pattern Download link: https://github.com/naporin0624/claude-plugin-hono-electron/archive/main.zip#cqrs-pattern 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.