implement-cqrs

Official

Guide to implementing CQRS in Firefly services.

Authorfireflyframework
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guides developers on implementing command and query handlers in a Firefly Framework service, covering bus wiring, authorization, validation, caching, and reactive patterns.

Core Features & Use Cases

  • Standardized CQRS components: defining Command/Query, their handlers, and the wiring to CommandBus and QueryBus with consistent validation and authorization.
  • End-to-end workflows: examples showing creation and retrieval operations, with support for caching, context propagation, and domain-event publishing.
  • Context and automation: built-in ExecutionContext, correlation IDs, and optional fluent APIs to reduce boilerplate.

Quick Start

Define a sample command and its handler to perform a state-changing operation, a matching query and its handler to read data, and trigger both through their respective buses.

Dependency Matrix

Required Modules

None required

Components

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: implement-cqrs
Download link: https://github.com/fireflyframework/fireflyframework-claude-skills/archive/main.zip#implement-cqrs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.