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

health-reuse

Code duplication detection and consolidation 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-reuse.md -o ~/.claude/commands/health-reuse.md
Then start a new Claude Code session; the slash command loads automatically.

health-reuse.md

# Code Reuse Health Check

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

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

## Quick Start

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

## Workflow Summary

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

**Workers**: reuse-hunter, reuse-fixer
**Quality gates**: `pnpm type-check && pnpm build`
**Max iterations**: 3

---

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