What problem does it solve?
It helps you identify and refactor oversized, multi-responsibility “god” files and duplicated logic in JavaScript/TypeScript codebases, reducing brittleness while preserving behavior.
Core Features & Use Cases
- God-file scanning and ranking: Detects likely React components, scripts, and modules that mix responsibilities, plus oversized candidates.
- Duplication block detection: Finds repeated code blocks across files to prioritize safe extractions.
- Evidence-first split planning: Produces a candidate review list and a decomposition order that minimizes breaking changes.
- Use case: Given a sprawling React page component that renders UI, does data shaping, manages effects, and contains business logic, Heathen guides you to extract helpers/hooks/subcomponents in a testable sequence.
Quick Start
Use the heathen skill to scan your repository for god components and duplicated logic, then produce a safe split order with what to verify after each step.