Agent skill
wolverine__create_operation
Adds a new CREATE operation (starting a stream) to the Backend. Use this when implementing POST endpoints to create new resources.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/wolverine-create-operation
SKILL.md
Follow this guide to implement a Create Operation (Start Stream) in the ApiService.
-
Define the Domain Event
- Create a
recordinsrc/BookStore.ApiService/Events/ - Naming:
{Resource}Created - Template:
templates/Event.cs
- Create a
-
Define the Command
- Create a
recordinsrc/BookStore.ApiService/Commands/{Resource}/ - Naming:
Create{Resource} - Template:
templates/Command.cs
- Create a
-
Implement the Endpoint
- Create/Update
src/BookStore.ApiService/Endpoints/{Resource}Endpoints.cs - Pattern: Wolverine.HTTP
- Logic: Pure function returning
(IResult, StartStream<T>) - Template:
templates/Endpoint.cs
- Create/Update
-
Update Read Models
- Ensure your projections handle the
{Resource}Createdevent.
- Ensure your projections handle the
Related Skills
/wolverine__update_operation: For updating existing resources./wolverine__delete_operation: For deleting resources.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?