soft-delete-restore

Community

Make data deletions reversible with soft delete.

Authorichabodcole
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implement a soft delete pattern with restore capability using a nullable deletedAt timestamp column. Use when the user asks to "add soft delete", "implement trash and restore", "add a deletedAt pattern", "add a recycle bin", "make deletion reversible", "support undo delete", or wants to mark records as deleted without permanently removing them from the database.

Core Features & Use Cases

  • Provides a consistent, auditable deletion lifecycle by marking records as deleted via a nullable deletedAt field.
  • Supports restore and soft-deletes with optional hard-delete purge path.
  • Applicable across data models where recoverability and audit trails are important.

Quick Start

Enable soft delete on a model and perform a test restore to verify functionality.

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: soft-delete-restore
Download link: https://github.com/ichabodcole/project-docs-scaffold-template/archive/main.zip#soft-delete-restore

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.