health-check skillA
health-check is agent-read markdown (skill) from minleev5/devkeel: 一键检查项目代码健康度指标.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 代码健康度检查 ## 何时使用 - 定期检查项目质量基线 - PR 前快速自检 - 接手项目时了解质量现状 ## 检查项 ### 1. 类型安全 ```bash pnpm lint # tsc --noEmit ``` 期望:零错误、零警告。 ### 2. 测试通过率 ```bash pnpm test ``` 期望:全部通过。 ### 3. 构建成功 ```bash pnpm build ``` 期望:零错误,dist/ 产出完整。 ### 4. 测试覆盖度(结构检查) 对比 `src/lib/*.ts` 与 `tests/*.test.ts`,识别缺少对应测试的模块。 ```bash ls src/lib/*.ts | sed 's|src/lib/||;s|.ts||' | sort > /tmp/src-modules ls tests/*.test.ts | sed 's|tests/||;s|.test.ts||' | sort > /tmp/test-modules comm -23 /tmp/src-modules /tmp/test-modules ``` ### 5. 依赖审计 ```bash pnpm audit --prod ``` ### 6. 架构合规 检查 lib 层无 `@clack/prompts` 引入: ```bash grep -r "@clack/prompts" src/lib/ ``` 期望:无输出。 ## 输出格式 | 检查项 | 状态 | 备注 | |--------|------|------| | 类型安全 | pass/fail | 错误数 | | 测试 | pass/fail | 通过/失败数 | | 构建 | pass/fail | | | 覆盖度 | warn/pass | 缺失模块列表 | | 依赖安全 | pass/warn | 漏洞数 | | 架构合规 | pass/fail | 违规文件 |
Read the whole file at its exact version.
How to install
mdr add minleev5/devkeel/health-check@v1.0.0mdr add minleev5/devkeel/health-check@sha256:b0d706563bd87579Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_tipeuglngjdzwdbv)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1466 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
minleev5/devkeel · 3 stars · license MIT · pushed 2026-09-24 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_tipeuglngjdzwdbv GET https://markdownregistry.com/api/v1/resolve?ref=minleev5/devkeel/health-check GET https://markdownregistry.com/api/v1/blob/b0d706563bd8757970bf87a3c30a94ca1d1486e0ce179da9f0b9f8d766f00abd
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from minleev5/devkeel
Every file in minleev5/devkeel