---
name: harness:codebase-cleanup
description: Orchestrate dead code removal and architecture violation fixes with shared convergence loop
---

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

<context>
Cognitive mode: systematic-orchestrator
Type: flexible
</context>

<objective>
Orchestrate dead code removal and architecture violation fixes with shared convergence loop

Phases:

- context: Run hotspot detection, build churn map
- detect: Run dead code and architecture detection in parallel
- classify: Classify findings, apply hotspot downgrade, cross-concern dedup
- fix: Convergence loop - apply safe fixes, verify, re-detect (optional)
- report: Generate actionable report of fixes applied and remaining findings
  </objective>

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

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