Soft Delete

🌐Community
by dadbodgeoff · vlatest · Repository

Soft Delete allows you to temporarily hide records without permanently deleting them, preserving data for potential recovery or audits.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add soft-delete npx -- -y @trustedskills/soft-delete
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "soft-delete": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/soft-delete"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The soft-delete skill allows you to mark data as deleted without permanently removing it from storage. This involves setting a flag or status on records, effectively hiding them from normal queries while preserving the data for potential recovery or auditing purposes. It provides a safety net against accidental deletions and simplifies data restoration processes.

When to use it

  • User account termination: Instead of deleting user profiles, mark them as deleted to retain historical activity data.
  • Content removal requests: Handle content takedown requests by soft-deleting the content rather than permanently removing it from the system.
  • Data migration errors: If a data migration fails and results in unintended deletions, soft-delete allows for easier recovery of affected records.
  • Auditing requirements: Maintain a record of deleted items for compliance or internal auditing purposes.

Key capabilities

  • Marks data as deleted without physical removal.
  • Preserves data for potential restoration.
  • Allows filtering to exclude "deleted" records from standard queries.
  • Provides a mechanism for undeleting marked records.

Example prompts

  • “Mark user ID 12345 as soft-deleted.”
  • “Undelete order number ORD-9876.”
  • “Show me all items that are currently soft-deleted.”

Tips & gotchas

The soft-delete skill requires a mechanism for identifying and filtering deleted records, typically through a status flag or similar indicator in the data storage system. Ensure your queries are configured to exclude soft-deleted entries unless specifically requested.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
dadbodgeoff
Installs
15

🌐 Community

Passed automated security scans.