Bundle
dsh-repo-health
项目体检:检查仓库的 README/LICENSE/.gitignore/测试/CI/锁文件/脚本等最佳实践,返回体检报告卡与修复建议
- Source
- uckkk
- License
- MIT
- Updated
- Updated 3 days ago
Readme
# dsh-repo-health · 项目体检 检查仓库的常见最佳实践(README / LICENSE / .gitignore / 测试 / CI / 锁文件 / 脚本 / .env.example),返回体检报告卡与修复建议。纯 Node 实现,无网络、无外部服务。 ## 提供的工具 | 工具 | 作用 | |---|---| | `health_check` | 逐项检查并返回 ✓/✗ + 修复建议 + 总分 | ## 安装 ```bash dsh plugin add dsh-repo-health ``` 安装后在 profile 的 `package.json` 的 `dsh.profile.bundles` 中加入 `"dsh-repo-health"`。 ## 用法示例 ``` 给这个仓库做个体检 → 调用 health_check(root="/workspace") ``` ## 检查项 README、LICENSE、.gitignore、测试、CI 工作流、依赖锁文件、npm scripts、.env.example(8 项)。 ## 安装 ```bash dsh plugin add github:uckkk/dsh-repo-health ``` > 安装即在本机运行第三方代码,请自行审阅源码。 ## 安装 ```bash dsh plugin add github:uckkk/dsh-repo-health ``` ## 使用 安装后在会话中调用该插件注册的工具即可。 ## 许可 MIT > 安装即在本机运行第三方代码,请自行审阅源码。
Install
dsh plugin --profile web add github:uckkk/dsh-repo-health
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-repo-health from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.