delete-content

Delete files or directories after validating permissions and dependencies.

6|Updated Oct 16, 2025
One-click install
npx skills add https://github.com/legacybridge-tech/claude-plugins --skill delete-content-legacybridge-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delete-content
Source: https://github.com/legacybridge-tech/claude-plugins/tree/main/akashicrecords/skills/delete-content
Command: npx skills add https://github.com/legacybridge-tech/claude-plugins --skill delete-content-legacybridge-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams safely remove outdated or unwanted content from a knowledge base by enforcing governance rules, dependency checks, and proper record updates.

Core Features & Use Cases

  • Rule-driven deletions: Reads RULE.md to determine whether deletions are allowed and how to handle archives.
  • Dependency-aware: Scans for cross-references to prevent broken links and orphaned references.
  • Governance updates: Automatically updates parent READMEs and archives references as needed.
  • Safe operation: Requires explicit confirmation and supports backup/archive options.
  • Use Case: Clean up obsolete notes while preserving essential history by archiving instead of deleting.

Quick Start

Example: delete Knowledge/Notes/old-draft.md

Frequently Asked Questions about delete-content

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely delete content from a knowledge base without breaking dependencies?

To safely delete content, you can scan for cross-references and validate permissions via RULE.md to prevent broken links. This skill checks dependencies and requires explicit confirmation before proceeding with deletion or archiving.

What is the best way to archive outdated notes instead of permanently deleting them?

Archiving outdated notes instead of permanently deleting them is handled by reading governance rules from RULE.md to determine archiving options. It automatically updates parent READMEs and preserves references while removing the active content.

How do I check if a file has cross-references before removing it from a repository?

Checking if a file has cross-references before removing it from a repository is performed by scanning for dependency links to prevent orphaned references. The operation pauses for explicit user confirmation after validating these dependencies.

Can I enforce governance rules for content deletion using a RULE.md file?

You can enforce governance rules for content deletion using a RULE.md file by configuring it to determine whether deletions are allowed. The skill reads this file to validate permissions and decide whether to delete, archive, or back up content.

Do I need to update parent READMEs manually after pruning files from a knowledge base?

You do not need to update parent READMEs manually after pruning files from a knowledge base. The skill automatically updates parent READMEs and archive references as needed during the governance-compliant deletion process.