Agent skill
wolverine__delete_operation
Adds a new DELETE operation (soft delete / tombstone) to the Backend. Use this when implementing DELETE endpoints to remove resources.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/wolverine-delete-operation
SKILL.md
Follow this guide to implement a Delete Operation (Soft Delete) in the ApiService.
-
Define the Domain Event
- Create a
recordinsrc/BookStore.ApiService/Events/ - Naming:
{Resource}Deleted - Template:
templates/Event.cs
- Create a
-
Define the Command
- Create a
recordinsrc/BookStore.ApiService/Commands/{Resource}/ - Naming:
Delete{Resource} - Template:
templates/Command.cs
- Create a
-
Implement the Endpoint
- Create/Update
src/BookStore.ApiService/Endpoints/{Resource}Endpoints.cs - Pattern: Wolverine.HTTP
- Features: Use
[Aggregate]attribute to auto-load state. - Logic: Pure function receiving
aggregateand returning(IResult, IEvent). - Template:
templates/Endpoint.cs
- Create/Update
-
Update Read Models
- Ensure your projections handle the
{Resource}Deletedevent (e.g., setDeleted = trueor remove document).
- Ensure your projections handle the
Related Skills
/wolverine__create_operation: For creating new resources./wolverine__update_operation: For updating existing 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?