uckkk
dsh-repo-health
项目体检:检查 README/LICENSE/.gitignore/测试/CI/锁文件等最佳实践并返回体检报告
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 16, 2026
- Updated
- Aug 16, 2026
Introduction
dsh-repo-health · 项目体检
检查仓库的常见最佳实践(README / LICENSE / .gitignore / 测试 / CI / 锁文件 / 脚本 / .env.example),返回体检报告卡与修复建议。纯 Node 实现,无网络、无外部服务。
提供的工具
| 工具 | 作用 |
|---|---|
health_check | 逐项检查并返回 ✓/✗ + 修复建议 + 总分 |
安装
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 项)。