Soft deletes and restore
A soft delete is just a hidden row — if your default queries don't exclude it, you've built a bug, not a feature.
What this skill helps you build
Archive rows instead of destroying them with a deleted_at timestamp, hide them from normal queries by default, and support restore plus an eventual hard purge.
The production takeaway
A soft delete is just a hidden row — if your default queries don't exclude it, you've built a bug, not a feature.
Inside this skill
The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.
Unlock the full implementation
Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.