🔍 Dead Code Sweep

This skill helps identify and safely remove dead code, orphaned artifacts, and redundant implementations in agent-maintained codebases.

QUICK INSTALL
npx playbooks add skill petekp/agent-skills --skill dead-code-sweep

About Dead Code Sweep

Dead Code Sweep is a free code review & quality skill that configures AI coding agents to this skill helps identify and safely remove dead code, orphaned artifacts, and redundant implementations in agent-maintained codebases.

Its 17-word system prompt specializes your agent in code review & quality with structured methodology and proven output formats. Install with one command to activate immediately.

Use Cases

  • Catching bugs and security vulnerabilities before merge
  • Enforcing code style and architectural consistency
  • Reviewing PRs for performance and maintainability
  • Generating detailed code review comments

Example Prompts

Get started Help me use the Dead Code Sweep skill effectively.

System Prompt (17 words)

This skill helps identify and safely remove dead code, orphaned artifacts, and redundant implementations in agent-maintained codebases.

Frequently Asked Questions

What is Dead Code Sweep?

Dead Code Sweep is a free code review & quality skill for AI coding agents. This skill helps identify and safely remove dead code, orphaned artifacts, and redundant implementations in agent-maintained codebases.. It provides a specialized system prompt that configures your agent with code review & quality expertise.

How do I use Dead Code Sweep with Claude Code?

Run npx playbooks add skill petekp/agent-skills --skill dead-code-sweep in your terminal to install Dead Code Sweep into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Dead Code Sweep?

Dead Code Sweep is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Dead Code Sweep free to use?

Yes, Dead Code Sweep is completely free and open source. The full source is available on GitHub at https://github.com/petekp/agent-skills/tree/main/skills/dead-code-sweep. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.