← ClaudeAtlas

core-deletelisted

Safely delete a skill and clean up references. Use with /core-delete.
AirMile/claude-config · ★ 0 · AI & Automation · score 75
Install: claude install-skill AirMile/claude-config
# Delete Remove a skill safely by scanning all references, showing impact, updating dependents, and cleaning up. **Trigger**: `/core-delete` or `/core-delete [name]` ## PHASE 0: Skill Selection **If name provided** (`/core-delete project-brainstorm`): 1. Verify `.claude/skills/[name]/SKILL.md` exists 2. If not found → show error: "Skill `[name]` not found." and list available skills **If no name** (`/core-delete`): 1. Discover all skills: ```bash find -L .claude/skills -name "SKILL.md" -type f 2>/dev/null | sed 's|^\.claude/skills/||' | sed 's|/SKILL\.md$||' | sort ``` 2. Display numbered table with skill names 3. Ask user to type a number (plain text, no modal) **After selection, show skill summary**: ``` TARGET: [name] Description: [from frontmatter] Has resources: [YES/NO — list files if yes] ``` ## PHASE 1: Deep Reference Scan Scan the entire `.claude/` directory for references to the target skill. Search for multiple patterns to catch all reference styles. ### Step 1: Define Search Patterns For a skill named `example-skill`, search these patterns: | Pattern | Catches | | ---------------------- | ------------------------- | | `example-skill` | Direct name references | | `/example-skill` | Slash-command invocations | | `skills/example-skill` | Path references | ### Step 2: Scan All Locations Search each location category using Grep. Exclude the skill's own directory from results. **2a. O