duyanta123/dsh-refactor-insight

DSH skill plugin: turns codebase smells into a priority-ordered refactoring plan with file locations, six rules, and standalone CLI support.

A DSH skill plugin that turns codebase smells into an executable, priority-ordered refactoring plan with file locations and dependency ordering — a structural health check rather than a diff review. Six configurable rules cover file length, nesting depth, TODO density, coupling, cyclic dependencies, and architecture profiles. It can run as a DSH skill (agent-driven), a standalone CLI, or both; the CLI works without DSH on Node.js >= 18.

Coding & Development ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add "github:duyanta123/dsh-refactor-insight#v0.2.0"

Installs the tagged v0.2.0 release from GitHub; npm also publishes the same version as dsh-refactor-insight 0.2.0. The standalone diagnostic scripts (refactor-smell.mjs and arch-profile.mjs) run on Node.js >= 18 without DSH. As a DSH plugin the host requires DSH 0.2.1-rc.2 and Node.js >= 22.19; npm run test:compat runs an isolated-profile add, dump-config, and startup smoke test to verify the host.

Compatibility

Standalone diagnostic scripts require Node.js >= 18. As a DSH plugin: DSH 0.2.1-rc.2 host and Node.js >= 22.19 are required. The six analysis rules (file-length, deep-nesting, TODO density, coupling, cyclic dependencies, and architecture profile) run as composable passes; the arch-profile dependency output can be reused across rules to avoid redundant scans. The plugin makes no network requests and reads only local source files.

Details

Alternatives

duyanta123/dsh-change-impact · adithyanraj03/dsh-graft-plugin · dongsheng123132/dsh-action-parity

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins