Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wshobson/cqrs-implementation
Implement Command Query Responsibility Segregation for scalable architectures.
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
1 fixed21 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
An event store contains version 1 `PackageShipped` events formatted as `{ eventId, packageId, timestamp }`. A new requirement adds a `gpsCoordinates` field as version 2. Write an Upcaster function `upcastPackageShippedV1ToV2(eventV1: PackageShippedV1): PackageShippedV2` that transforms a V1 event into a V2 event.
| Checked | Without skill | With skill |
|---|---|---|
| Sets the schema version property to 2 inside upcastPackageShippedV1ToV2. | Missed | Passed |
The instructions your model reads when the skill loads.
Comprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.
┌─────────────┐
│ Client │
└──────┬──────┘
│
┌────────────┴────────────┐
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ Commands │ │ Queries │
│ API │ │ API │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ Command │ │ Query │
│ Handlers │ │ Handlers │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ Write │─────────►│ Read │
│ Model │ Events │ Model │
test cases passed, vs 21 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.