dsh-js-clean: Score JavaScript Code Smells and Point to Refactoring Techniques
dsh-js-clean is a DeepSeek Harness plugin maintained by xianweics. It registers the js_clean tool, which assigns an A–E code-cleanliness grade and reports findings across 22 rule categories for JavaScript files, mapping each issue to a technique identifier from the *Refactoring* framework (e.g., 6.1 Extract Function). Supported operations include scan, safe fix (with diff and backup), explain, and catalog queries. Install via `dsh plugin add dsh-js-clean`; requires Node ≥ 20 and is released under the MIT license. Designed to elevate Lint-style warnings into actionable refactoring context within AI agent sessions.
Read More