Skip to main content
ClaudeWave
Slash Command215 repo starsupdated 3mo ago

health-cleanup

Dead code detection and cleanup workflow (inline orchestration)

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/maslennikov-ig/claude-code-orchestrator-kit/HEAD/.claude/commands/health-cleanup.md -o ~/.claude/commands/health-cleanup.md
Then start a new Claude Code session; the slash command loads automatically.

health-cleanup.md

# Cleanup Health Check

Execute the `cleanup-health-inline` skill for inline orchestration.

**You ARE the orchestrator.** Do not spawn a separate orchestrator agent.

## Quick Start

1. Read `.claude/skills/cleanup-health-inline/SKILL.md`
2. Follow the workflow phases directly
3. Use Task tool only for workers (dead-code-hunter, dead-code-remover)
4. Run quality gates inline via Bash

## Workflow Summary

```
Pre-flight → Detect → [Remove by Priority] → Verify → Report
```

**Workers**: dead-code-hunter, dead-code-remover
**Quality gates**: `pnpm type-check && pnpm build`
**Max iterations**: 3

---

Now read and execute the skill: `.claude/skills/cleanup-health-inline/SKILL.md`