scaffold-delete-operation
CommunityAdd soft-delete scaffolding to backend APIs.
Software Engineering#backend#scaffold#domain-driven#event-sourcing#soft-delete#api-endpoints#read-models
Authoraalmada
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a scaffold to implement soft-delete functionality for API resources, enabling tombstoned records instead of hard deletions, which preserves audit history and enables recovery.
Core Features & Use Cases
- Scaffold Domain Event: create a {Resource}Deleted event in src/BookStore.ApiService/Events/
- Scaffold Command: create a Delete{Resource} command in src/BookStore.ApiService/Commands/{Resource}/
- Implement Endpoint: update Endpoints to support delete, using [Aggregate] attribute and proper state loading
- Update Read Models: ensure projections handle the {Resource}Deleted event (e.g., mark Deleted = true)
Quick Start
Use this scaffold to create the event, command, endpoint, and read-model updates as described in the guide.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: scaffold-delete-operation Download link: https://github.com/aalmada/BookStore/archive/main.zip#scaffold-delete-operation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.