cqrs-feature
Enforces CQRS patterns and directory organization for .NET backend features.
Install
mkdir -p .claude/skills/cqrs-feature && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15891" && unzip -o skill.zip -d .claude/skills/cqrs-feature && rm skill.zipInstalls to .claude/skills/cqrs-feature
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when touching backend feature slices in the .NET CQRS stack of this repository.Key capabilities
- →Update contracts in `Vole_Papillon_Damour.Contracts/`
- →Modify HTTP entries in `Vole_Papillon_Damour.Api/Controllers/`
- →Create or modify commands/queries in `Vole_Papillon_Damour.Application/<Feature>/`
- →Modify `Infrastructure` for technical boundaries
- →Keep handler and validator close to the feature
How it works
The skill guides modifications across different layers of a .NET CQRS stack, ensuring changes adhere to architectural conventions for contracts, API, application logic, and infrastructure.
Inputs & outputs
When to use cqrs-feature
- →Modify backend feature
- →Update CQRS contract
- →Add feature handler
- →Update repository interface
About this skill
Skill : cqrs-feature
Charger ce skill pour toute tache backend qui touche Api, Application, Contracts, Infrastructure, ou Domain autour d'une feature fonctionnelle.
Workflow attendu
- Mettre a jour le contrat dans
Vole_Papillon_Damour.Contracts/si la forme HTTP change. - Mettre a jour l'entree HTTP dans
Vole_Papillon_Damour.Api/Controllers/ou dans la methodeUse...Controller()appropriee. - Creer ou modifier la commande/requete dans
Vole_Papillon_Damour.Application/<Feature>/. - Garder le handler et le validator au plus pres de la feature.
- Modifier le domaine uniquement si une regle metier ou un invariant change vraiment.
- Modifier
Infrastructureseulement pour les frontieres techniques : repositories, auth, email, OCR, blob, table storage.
Regles CQRS
- Une commande ou requete par intention claire.
- Les commandes mutent ; les queries lisent.
- Les validators vivent pres de la requete ou de la commande.
- Les handlers restent minces : orchestration, pas de logique d'infrastructure inline.
- Les erreurs et resultats doivent rester coherents avec les conventions deja presentes dans le slice cible.
Impact multi-surface
- Toute modification de
Contractsdoit etre revue coteBackOffice,Website, etMauiCashAppsi le contrat est consomme. - Toute modification d'une interface de repository ou de service partage demande une impact analysis GitNexus avant edition.
Tests
- Tester d'abord le comportement du handler, du validator, ou de la regle de domaine modifiee.
- Si le test project n'existe pas pour la couche cible, documenter la dette dans
.github/test-debt.mdavant de continuer sans TDD strict.
When not to use it
- →When the task does not involve backend feature slices in the .NET CQRS stack
- →When modifying the domain without a change in business rule or invariant
Limitations
- →Applies specifically to the .NET CQRS stack of this repository
- →Requires an impact analysis for modifications to shared repository or service interfaces
How it compares
This skill provides a structured workflow for modifying CQRS features, ensuring consistency across layers and adherence to specific rules, unlike ad-hoc changes.
Compared to similar skills
cqrs-feature side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| cqrs-feature (this skill) | 0 | 3mo | No flags | Intermediate |
| dotnet-backend-patterns | 7 | 5mo | No flags | Advanced |
| azure-servicebus-dotnet | 3 | 3mo | Review | Intermediate |
| azure-mgmt-apicenter-dotnet | 1 | 3mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by FlorianDrevet
View all by FlorianDrevet →You might also like
dotnet-backend-patterns
wshobson
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
azure-servicebus-dotnet
microsoft
Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions. Use for reliable message delivery, pub/sub patterns, dead letter handling, and background processing. Triggers: "Service Bus", "ServiceBusClient", "ServiceBusSender", "ServiceBusReceiver", "ServiceBusProcessor", "message queue", "pub/sub .NET", "dead letter queue".
azure-mgmt-apicenter-dotnet
microsoft
Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API inventory", "API governance", "API versioning", "API catalog", "API discovery".
azure-eventgrid-dotnet
microsoft
Azure Event Grid SDK for .NET. Client library for publishing and consuming events with Azure Event Grid. Use for event-driven architectures, pub/sub messaging, CloudEvents, and EventGridEvents. Triggers: "Event Grid", "EventGridPublisherClient", "CloudEvent", "EventGridEvent", "publish events .NET", "event-driven", "pub/sub".
websocket-integration
sunyonghuan
通过 WebSocket 连接 Cortana AI 对话服务。编写 C# 客户端代码,实现发送消息、接收流式回复、附件传输、系统事件监听。触发关键词:WebSocket、WS 连接、远程对话、流式回复、AI 接入、实时通信。
mediatorlite-core
behl1anmol
Runtime implementation for MediatorLite -- AddMediatorLite() DI extension, the ThrowingMediator diagnostic fallback, the generated SourceGeneratedMediator (implements IMediator via ValueTask typed-switch dispatch), MediatorDiagnostics (ActivitySource + DiagnosticListener), and the Validation subsyst