reuse-health-inline

Detect and consolidate code duplications across a codebase with inline validations.

2|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/maslennikov-ig/BuhBot --skill reuse-health-inline-maslennikov-ig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reuse-health-inline
Source: https://github.com/maslennikov-ig/BuhBot/tree/main/.claude/skills/reuse-health-inline
Command: npx skills add https://github.com/maslennikov-ig/BuhBot --skill reuse-health-inline-maslennikov-ig

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inline orchestration for detecting and resolving code duplications across a codebase, enabling teams to reduce redundancy without introducing external tooling overhead.

Core Features & Use Cases

  • Phase-driven workflow: Pre-flight, Detection, Quality Gate, Consolidation, Verification, Final Summary.
  • Inline tooling orchestration: coordinates reuse-hunter/detector, reuse-fixer, and inline validations to canonicalize duplicates and propagate changes.
  • Robust validations: inline type-check and build checks with artifact logging and rollback guidance.

Quick Start

Invoke this inline orchestration to detect, consolidate, and verify code duplications across your repository in a single pass.

Frequently Asked Questions about reuse-health-inline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect and consolidate code duplication across a repository?

Code duplication is detected and consolidated via an inline orchestration workflow that coordinates detection, priority-based consolidation, and verification cycles across shared types, schemas, and utilities to canonicalize duplicates.

What is inline orchestration for code reuse health?

Inline orchestration for code reuse health coordinates detection, consolidation by priority, and verification cycles across shared types and utilities, reducing repository redundancy without external tooling overhead through phase-based planning.

Can I automate code duplication removal with type-check and build validations?

Yes, code duplication removal is automated with inline type-check and build validations applied during the verification phase, providing artifact logging and rollback guidance to ensure consolidated changes compile correctly.

Does this code consolidation workflow work for repositories with shared schemas and utilities?

Yes, this code consolidation workflow is designed for repositories with shared types, schemas, and utilities, detecting duplications across these structures and propagating canonical changes through inline validations.

What is the best way to prioritize code duplication fixes in a large codebase?

The best way to prioritize code duplication fixes is using the workflow's quality gate, which categorizes duplications into high, medium, and low priority consolidations before applying inline type-check and build validations.

What happens if type-check or build validations fail after consolidating duplicates?

If type-check or build validations fail after consolidating duplicates, the workflow provides rollback guidance and logs verification artifacts, ensuring you can identify the failed consolidation point and revert problematic canonical changes safely.