Agent Skills: Dead Code Sweep

Find dead code in the repository

UncategorizedID: chris-metz/agent-skills/dead-code

Install this agent skill to your local

pnpm dlx add-skill https://github.com/chris-metz/agent-skills/tree/HEAD/skills/dead-code

Skill Files

Browse the full folder contents for dead-code.

Download Skill

Loading file tree…

skills/dead-code/SKILL.md

Skill Metadata

Name
dead-code
Description
Find dead code in the repository

Dead Code Sweep

  • Spawn multiple agents to analyze the codebase in parallel
  • Each agent identifies potential dead code candidates (unreferenced files, unused exports, unreachable branches, orphaned dependencies)
  • Agents communicate and verify candidates across the entire repository to ensure accuracy
  • The goal is to provide a comprehensive report of dead code that can be safely removed, improving code maintainability and reducing technical debt.