Skip to main content

refactor-dead-code

Remove unused or unreachable code with safe reference checks.

Source facts

Repository
sunpar/agentic_development
Last source activity
May 22, 2026 at 15:56
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
refactor-dead-code
description
Remove unused or unreachable code with safe reference checks.
# Refactor Dead Code ## Trigger Use when code appears unused and safe to delete. ## Inputs - Static search results or lints indicating dead symbols. ## Outputs - Deletions of obsolete symbols and updated references. ## Procedure 1. Confirm usage across repository. 2. Remove dead symbols and imports. 3. Run tests and targeted checks. ## Guardrails - Do not remove extension points without explicit confirmation. - Keep public API surfaces unless user approves. ## Success criteria - No remaining references and tests pass. ## Prefer Superpowers - Use `test-driven-development` for added safety checks. ## Avoid scope creep - Keep deletion scope tied to explicit task write set.
View on GitHub