scaffold-delete-operation

Community

Add soft-delete scaffolding to backend APIs.

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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.