Identify unused code, imports, variables, and functions for safe removal.
npx playbooks add skill curiouslearner/devkit --skill dead-code-detector
The Dead Code Detector is a workflow tool that identifies unused code elements such as code, imports, variables, and functions, allowing developers to safely remove them. This tool connects to the coding workflow, enabling developers to streamline their codebase by eliminating unnecessary components. A developer would reach for the Dead Code Detector when refactoring or optimizing their code to improve maintainability and reduce clutter.
This compact 10-word instruction set is purpose-built for developer workflow work in AI coding agents. Install with a single command.
Identify unused code, imports, variables, and functions for safe removal.
Dead Code Detector is a free developer workflow skill for AI coding agents. Identify unused code, imports, variables, and functions for safe removal.. It provides a specialized system prompt that configures your agent with developer workflow expertise.
Run npx playbooks add skill curiouslearner/devkit --skill dead-code-detector in your terminal to install Dead Code Detector into your Claude Code session. It works immediately after installation.
Dead Code Detector is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Dead Code Detector is completely free and open source. The full source is available on GitHub at https://github.com/curiouslearner/devkit/tree/main/skills/dead-code-detector. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.