← 返回列表

dsh-refactor-insight

DeepSeek Harness 开发与运行时 低风险

重构入口诊断:把代码库坏味道(超长文件/深嵌套/超长函数/上帝对象)转成带定位、优先级与依赖顺序的重构计划(只读不自动改码)。

Turn codebase smells into an executable, priority-ordered refactoring plan: file-length / deep-nesting / function-length / god-object heuristics plus a staged runbook (read-only, no auto-rewrite).

怎么安装

DeepSeek Harness dsh plugin add dsh-refactor-insight

简介

dsh-refactor-insight DSH 技能插件:把代码库的坏味道转成**带定位、优先级和依赖顺序的可执行重构计划**——结构健康体检,而非 diff 审查。 Turn codebase smells into an executable, priority-ordered refactoring plan. 能力(v0) 六条确定性坏味道规则(阈值均可参数覆盖,零依赖启发式): **超长文件**(默认 > 400 行) **深嵌套**(默认最大缩进 / 花括号深度 > 5) **TODO/FIXME 密度**(噪音指标,输出每千行计数) **长函数**(Python 缩进块 / JS-TS 花括号配对 / Go 函数声明,函数体 > 80 行) **上帝对象**(类方法数 > 10 或类体行数 > 300 / Go 接收者方法数) **高耦合模块**(复用 arch-profile --deps 输出,按入度/出度识别 hub 模块 + Tarjan 环检测) 只输出计划、不自动改代码;高风险重构项由 LLM 标注、须人工确认。 脚本只给硬事实(确定性扫描),严重度 / 成本 / 建议动作由 LLM 精修真误报后标注推断。 快速开始 **在 DSH 中使用** 1. 安装插件:dsh plugin --profile web add github:duyanta123/…

推荐参考

56 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
56 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
JavaScript
GitHub 星标
0
月下载
605
最近更新
2026-09-11
创建于
2026-08-22

链接

基础安全检查

检查结果
无
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin, curated:0xsline/awesome-deepseek-harness
主题标签
code-quality, dsh, dsh-plugin, refactor, technical-debt

同类推荐

MCP 服务器
推荐100

langfuse

langfuse/langfuse

🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23

☆ 35.0K ↓ 6.7M 开发与运行时 ↗
Claude Code
推荐92

claude-code-templates

davila7/claude-code-templates

用于配置和监控Claude Code的CLI工具。

☆ 31.7K ↓ 10.7K 开发与运行时 ↗
MCP 服务器
推荐86

semiotic

nteract/semiotic

用于流处理、网络和AI辅助开发的React数据可视化库

☆ 2.7K ↓ 25.0K 开发与运行时 ↗
DeepSeek Harness 精选
推荐84

dsh-desktop

dataelement/dsh-desktop

DeepSeek Harness 桌面版

☆ 9.1K ↓ 930 开发与运行时 ↗