create-handler

Generate CQRS command and query handler boilerplate for Firefly Framework projects.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/fireflyframework/fireflyframework-claude-skills --skill create-handler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-handler
Source: https://github.com/fireflyframework/fireflyframework-claude-skills/tree/main/commands/create-handler
Command: npx skills add https://github.com/fireflyframework/fireflyframework-claude-skills --skill create-handler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates CQRS command or query handlers with boilerplate following Firefly Framework conventions, accelerating backend development.

Core Features & Use Cases

  • Automatic scaffolding for Command/Query classes, Handlers, and Result DTOs.
  • Project structure awareness with module placement in interfaces/core to maintain consistency.
  • Derives class names and package paths from input and project conventions to fit multi-module setups.
  • Supports single-module and multi-module Firefly Framework projects for consistent code layout.

Quick Start

Run /create-handler <command|query> <name> to generate the handler boilerplate in your project.

Frequently Asked Questions about create-handler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate CQRS command and query handlers in Java without writing boilerplate?

Generating CQRS command and query handlers in Java without boilerplate is automated by scaffolding Command/Query classes, Handlers, and Result DTOs following Firefly Framework conventions to accelerate backend development.

Can I use this scaffolding tool for multi-module Firefly Framework projects?

Yes, this scaffolding tool supports both single-module and multi-module Firefly Framework projects. It intelligently places generated files under interfaces and core modules to maintain a consistent code layout.

How does the handler generator derive class names and package paths?

The handler generator derives class names and package paths from your input and existing project conventions. This ensures that generated Command, Query, Handler, and Result classes align perfectly with your current structure.

What is the best way to scaffold a CQRS query handler in a Firefly Framework project?

The best way to scaffold a CQRS query handler in a Firefly Framework project is to run a simple command specifying the query type and name, which instantly generates the required boilerplate code.

Do I need to manually place generated CQRS files in specific interfaces or core modules?

No, manual placement is not needed. The generator automatically determines the correct module placement within your interfaces and core modules to ensure structural consistency across single and multi-module setups.