Agent skill

Dead Code Eliminator

Find and delete unused files, disabled code blocks, Enhanced variants, deprecated features, test files in production for Leavn app

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/dead-code-eliminator-willsigmon-sigstack-site

SKILL.md

Dead Code Eliminator

Find and delete dead code:

  1. Find candidates:

    • Files with #if false
    • *Enhanced.swift variants
    • NavigationCoordinator (unused)
    • *Stub.swift files
  2. Verify unused:

    bash
    grep -r "ClassName" LeavnApp/Sources/
    
  3. Delete safely:

    • Remove from Xcode project
    • Delete file
    • Run build to verify
    • Commit deletion

Use when: Code cleanup, unused files, deprecated features, reducing codebase size

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results