add-query

Installation
SKILL.md

Add CQRS Query

When the user asks to add a new query, scaffold the following files in the correct microservice. Ask which service if ambiguous.

Arguments

  • {Name} — Query name in PascalCase (e.g., GetDeviceById, ListBundles)
  • {Service} — Target microservice (e.g., DeviceManager, BundleOrchestrator). Ask if ambiguous.

Prerequisites

  • The target microservice must exist under src/
  • The entity and its query repository interface should exist (if not, run /add-entity first)
  • An Endpoints file should exist at Host/Endpoints/ (if not, create one)

1. Query Record (Application/Queries/{QueryName}.cs)

namespace SignalBeam.{Service}.Application.Queries;
Installs
1
First Seen
Mar 28, 2026
add-query from smithery.ai