cu-delete

Deletes use case files after checking dependencies and updating ROADMAP.md.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/cfardev/ayv-comercial --skill cu-delete
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cu-delete
Source: https://github.com/cfardev/ayv-comercial/tree/main/.agents/skills/cu-delete
Command: npx skills add https://github.com/cfardev/ayv-comercial --skill cu-delete

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of deleting use case files by analyzing dependencies and references, preventing broken links and maintaining project integrity.

Core Features & Use Cases

  • Dependency Analysis: Checks all use-case documents and the ROADMAP.md for dependencies on the target CU.
  • Interactive Confirmation: Prompts the developer with dependency information before deletion.
  • Update Roadmap: Removes the CU entry from ROADMAP.md and updates numbering for subsequent entries.
  • Use Case: Imagine you want to remove an outdated use case; this Skill ensures all references are considered, and updates are made automatically.

Quick Start

Ask the AI to delete CU07 to remove the specific use case from the project safely.

Frequently Asked Questions about cu-delete

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

FAQPage Schema
How do I safely delete a use case file without leaving broken links?

To safely delete a use case file, this Skill analyzes all dependencies and references across documentation files. It checks for existing links, prompts for developer approval with dependency details, and removes the target file without breaking references.

What happens to the roadmap when a use case is removed?

When a use case is removed, the roadmap is automatically updated by deleting the specific entry and renumbering subsequent entries. This maintains the correct sequence and structural integrity of the ROADMAP.md file.

How do I check documentation dependencies before removing a use case?

You can check dependencies by running this Skill to automatically scan all use-case documents and the roadmap for references to the target file. It systematically gathers dependency information and presents it to the developer for review before deletion.

Do I need to manually update references when deleting a use case?

No, manual reference updates are not needed when deleting a use case. The Skill systematically handles dependency and reference checks, presenting interactive confirmation prompts with dependency information before executing the approved changes.

When should I avoid deleting a use case file from my documentation repository?

You should avoid deleting a use case file if it has active dependencies that other critical features rely on. The Skill analyzes references and prompts for explicit developer approval, helping you identify and prevent breaking necessary links.

Can I remove outdated use cases from version control without breaking the project?

Yes, you can remove outdated use cases without breaking the project by using this Skill to analyze dependencies and references. It ensures no broken links remain by verifying all connections and updating the roadmap accordingly before finalizing the deletion.