---
name: harness:cleanup-dead-code
description: Detect and auto-fix dead code including dead exports, commented-out code, and orphaned dependencies
---

<!-- Generated by harness generate-slash-commands. Do not edit. -->

<context>
Cognitive mode: diagnostic-investigator
Type: flexible
</context>

<objective>
Detect and auto-fix dead code including dead exports, commented-out code, and orphaned dependencies
</objective>

<execution_context>
@agents/skills/claude-code/cleanup-dead-code/SKILL.md
@agents/skills/claude-code/cleanup-dead-code/skill.yaml
</execution_context>

<process>
1. Try: invoke mcp__harness__run_skill with skill: "cleanup-dead-code"
2. If MCP unavailable: read SKILL.md and follow its workflow directly
3. Pass through any arguments provided by the user
</process>
