coverage-matrix SKILL.md skillA
coverage-matrix from ninjasln-labs/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ninjasln-labs/agent-skills/coverage-matrix@v1.1.1Pins v1.1.1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ninjasln-labs/agent-skills
- Path
coverage-matrix/SKILL.md- Versions recorded
- 4
- Latest version
- v1.1.1, committed Sep 29, 2026
- First version recorded
- Aug 16, 2026
- Size
- 7,844 bytes
- Repository stars
- 3
- License
- none declared
Generate or maintain the three-way coverage matrix (invariants<->tests / events<->tests / DoD<->gate) for staged-delivery projects using this skill family's layout: unit tests under tests/unit/, a domain event registry (e.g. TIMELINE_EVENT_SPECS in src/domain/timeline.ts), per-stage spec DoD files, output at docs/tests/coverage-matrix.md — if your project does not follow this layout, this skill does not apply without path adaptation. Scans those sources, produces the matrix, and flags gaps…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Coverage Matrix(覆盖矩阵生成/维护)
## 定位
三向覆盖矩阵:**不变量 ↔ L1 测试 / 事件 ↔ 测试 / DoD ↔ 门禁**。LLM 半自动——
矩阵由本技能生成初版,人工核对;**不做运行时强制**(与 ddd-qa-chain 的强制门禁分工)。
## 何时使用
- 阶段末:「更新覆盖矩阵」(S2 起为 DoD 常驻断言——见 stage-spec 模板)
- 新增不变量 / 新增事件后
## 输入(扫描源)
> **范围声明**:下表路径/符号是**本项目(neonforge)的默认布局示例**,不是普适事实。
> 接手新仓库时先执行流程步 0 的存在性探测,按仓库实际等价源调整;无法对应则停止并向用户说明。
| 源 | 路径 | 提取什么 |
|----|------|---------|
| L1 测试 | `tests/unit/*.test.ts` | describe/it 名称(用例清单) |
| 事件注册表 | `src/domain/timeline.ts` `TIMELINE_EVENT_SPECS` | 全部事件 id/语义 |
| 不变量 | 设计 §9.5 不变量矩阵 / 领域文档 | 不变量 1-N 及断言 |
| stage-spec DoD | `docs/design/stage-specs/S{N}.md` | DoD 断言清单 |
## 流程
```
- [ ] 0. 布局探测:核对上表默认源是否存在(tests/unit/、事件注册表文件、
docs/design/stage-specs/、docs/tests/);布局不同→先映射到仓库实际等价源
并在矩阵头部记录映射;无法映射→停止,向用户说明本技能仅适用 staged-delivery 布局
- [ ] 1. 扫 L1 测试:读 tests/unit/ 全部 *.test.ts,提取 describe/it 名(含所属文件)
- [ ] 2. 扫事件注册表:读 src/domain/timeline.ts TIMELINE_EVENT_SPECS,提取事件 id 清单
- [ ] 3. 读不变量来源(设计 §9.5)与当前阶段 stage-spec DoD
- [ ] 4. 生成/更新 docs/tests/coverage-matrix.md 三向表(见下)
- [ ] 5. 标缺口:不变量无测试 / 事件无断言 / DoD 无门禁方法
- [ ] 6. 缺口清单(非空时)→ audit-item 入账(open,来源=覆盖矩阵)
- [ ] 7. 自查:抽查 3 条与测试/注册表一致(验收硬项)
```
## 矩阵结构(三向表)
…Read the whole file at its exact version.
How to install
mdr add ninjasln-labs/agent-skills/coverage-matrix@sha256:d542ebbe759895bcThe line at the top of this page pins the label v1.1.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_eieo3n5yuotxomxt)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Aug 16, 2026 and Sep 29, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.1.1 latest | 2026-09-29 | 0febb7a | 7,844 B | A | view · diff |
| v1.0.2 | 2026-09-22 | 75c75c0 | 5,457 B | A | view · diff |
| v1.0.0 | 2026-09-18 | cbc6719 | 4,350 B | A | view · diff |
| git:20260816.abe0a4a | 2026-08-16 | abe0a4a | 4,284 B | A | view |
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 (7844 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
ninjasln-labs/agent-skills · 3 stars · license none declared · pushed 2026-10-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_eieo3n5yuotxomxt GET https://markdownregistry.com/api/v1/resolve?ref=ninjasln-labs/agent-skills/coverage-matrix GET https://markdownregistry.com/api/v1/blob/d542ebbe759895bc5cf173100632be422bea6e3e296d9da3278a3c0f1e6acb99
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.