From basecode
Apply the BaseCode Dead Code practice — remove commented-out code, unused code, unreachable code, and abandoned feature branches to reduce noise and improve readability.
How this skill is triggered — by the user, by Claude, or both
Slash command
/basecode:dead-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apply the BaseCode Dead Code practice to improve the readability of the code under review. The goal is not shorter code or personal style — it is **readability**: making the code easier for the next human to read.
Apply the BaseCode Dead Code practice to improve the readability of the code under review. The goal is not shorter code or personal style — it is readability: making the code easier for the next human to read.
Remove all code that is not executed or no longer serves a purpose. Dead code creates noise, signals neglect, and misleads readers.
Commented-out code — delete it. It exists in version control; if it's needed again, revert.
Unused code — remove parameters, variables, methods, and imports that are never referenced. Use static analysis to find them.
Unreachable code — remove code that can never execute:
break after return inside a switch/casereturn in a functionfalseAbandoned code — identify conditional paths gated on config values, feature flags, or preferences that are permanently off or no longer exist, and remove the entire dead branch.
npx claudepluginhub jasonmccreary/basecode-skills --plugin basecodeCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.