Soft Delete API Resource

Official

Implement soft delete functionality in your API with ease.

Authorbytetalent
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a pattern for implementing soft delete functionality in your API, ensuring that data is not permanently deleted and can be recovered if needed.

Core Features & Use Cases

  • Soft Delete Pattern: Implement soft delete by setting a deletedAt timestamp or isArchived boolean instead of hard deleting records.
  • Database Queries: Utilize the notDeleted() helper to filter out soft-deleted rows in SELECT queries.
  • Use Case: When you want to delete a record but still keep the data for auditing or other purposes, use this Skill to soft delete the record instead of hard deleting it.

Quick Start

Soft delete the record with ID '123' by running the following command: deleteRecord --id 123.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: Soft Delete API Resource
Download link: https://github.com/bytetalent/docs/archive/main.zip#soft-delete-api-resource

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 620,000+ vetted skills library on demand.