Deadcode — Development skill for Claude Code
Find dead code with a configured Knip baseline, then delete it by category behind a ratchet.
How to install Deadcode
Installs to ~/.claude/skills/kensaurus-skills-deadcode/SKILL.md
mkdir -p ~/.claude/skills/kensaurus-skills-deadcode && curl -fsSL https://raw.githubusercontent.com/kensaurus/skills/HEAD/commands/deadcode.md -o ~/.claude/skills/kensaurus-skills-deadcode/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Deadcode does
description: "Find dead code with a configured Knip baseline, then delete it by category behind a ratchet" argument-hint: "[optional path, workspace, or 'apply' to execute an already-approved plan]" disable-model-invocation: true
Dead Code
Two skills, one loop. Default to the audit unless an approved `plan-dead-code.md` already exists.
plan-dead-code— authorknip.jsonfirst, resolve configuration hints, baseline both--productionand default runs, then count the
Alternatives in Development
- Docmancer — Find out what your coding agents already know 121 ★
- Add Category — add-category 105 ★
- Wp Phpstan Review — WordPress PHPStan review - validates phpstan config, baseline discipline, CI wiring, and WordPress-specific st 76 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Remove Deadcode
Find and remove dead code — unused exports, unreachable functions, orphaned files, and stale feature flags. Fi
Orbits Check
Close the orbit — re-run the baseline query weeks after a fix shipped and find out whether the number actually
Dead Crusade
Unleash parallel Dead Code Purist agents to find and eliminate unused exports, orphaned files, commented-out b
Dead Code Sweep
Find unreachable code, unused exports, and orphaned files across the project
Massu Dead Code
When user asks about unused code, says 'find dead code', 'clean up unused', or wants to reduce codebase size b
Find Dead Code
Finds dead code (unreachable, unused, deprecated) in the project.
Related Agents
Tp Dead Code Finder
Use this when the user asks to find or remove dead / unused code ("clean up this file", "find unused exports",
Ponytail Review
Cold over-engineering reviewer. Spawned by parallel workflows when non-test source changes, to find what to de
Dead Code Finder
Use to find unused exports, unreachable branches, and never-imported files in a codebase. Reports findings wit