test-design SKILL.md skillA

test-design from lixiuxiu559/agentforge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add lixiuxiu559/agentforge/test-design@git:20261029.640ec95

Pins git:20261029.640ec95 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
lixiuxiu559/agentforge
Path
skills/test-design/SKILL.md
Versions recorded
2
Latest version
git:20261029.640ec95, committed Oct 29, 2026
First version recorded
Oct 9, 2026
Size
7,755 bytes
Repository stars
4
License
MIT

独立基于业务规则和可用材料设计测试用例、评估场景与断言缺口,默认交付便于阅读的 HTML 测试设计。适用于开发前的用例设计、检查已有用例遗漏和评估业务场景覆盖;不要求已有架构方案,不编写或执行测试,不运行覆盖率/突变工具或诊断修复失败。.

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

# 测试用例设计与覆盖评估

将已确认业务规则转成具体用例,或核对已有测试中的业务遗漏;只交付设计。

输入可以是用户需求、PRD、设计、契约或已有代码/测试等任意可用材料,不要求先运行任何技能,也不指定下一步流程。只有需求或 PRD 时也能设计业务场景;缺少技术入口或工程设施时注明暂无法定位,不为此要求补一份架构方案。

```text
明确范围与依据 → 识别现有测试设施 → 设计场景与预期结果
→ 对照已有用例和断言 → 交付覆盖缺口与验证方案
```

## 职责与边界

- 产出业务规则清单、测试用例、覆盖对应关系、缺口及验证办法。这里的“覆盖”指业务场景和断言的覆盖,不等同于代码覆盖率或突变分数。
- 只读取相关需求、设计、代码、测试和已有报告;只写设计文档。不编写或修改测试代码,不派发测试编写任务,不运行测试或分析工具,也不安装依赖、搭建测试环境。
- 测试形式与入口跟随项目已有设施。存在单元、组件或其他测试时,按本次任务的关联性使用;某类设施不存在时不为它新增框架。相关规则无法由已有设施验证时,保留为验证缺口,不伪造测试入口或删除业务规则。
- 不从当前实现反推正确行为,不把缺少测试直接定性为业务 Bug,不承诺穷尽全部输入。评估结论限定于本次范围、已知规则和现有证据。

## 1. 明确设计目标与依据

先区分用户是在设计新功能的用例,还是检查已有用例/测试的充分性;确定功能或改动范围、需求版本及交付位置。复用用户提供的材料,不默认全仓扫描,不要求简单任务必须先补一份大型设计文档。

按规则来源读取已确认需求、用户决策、接口契约及相关项目约定。实施设计用于理解职责、调用关系、关键方法契约和副作用;当前代码用于识别入口与风险,不能独自证明预期行为正确。已有测试同样不能替代业务依据。

为关键规则保留来源和简短编号(如 R1)。记录适用角色/状态、触发条件、期望结果和禁止的副作用。业务依据冲突或缺失时标为待确认,不自创约定;只询问影响预期结果的具体问题。可先交付已明确规则的用例,不因一个未知项停掉全部设计。

## 2. 识别项目已有测试方式

读取范围内的测试目录、运行配置、脚本和少量代表性测试,确认实际使用的框架、入口、fixture、mock 边界、断言方式及组织风格。不能仅凭安装了某个依赖就宣称项目已有对应测试能力。

有单元测试时选择现有公开函数或业务入口;有组件测试时选择现有页面/组件交互入口;项目已有其他类型时仅使用相关且可定位的入口。测试命令可引用为后续执行建议,但本技能不执行。

没有相关测试设施时,仍可交付业务场景及预期结果,并明确没有现成自动化承接入口。不要生成未安装框架的测试骨架,也不要为迎合既有测试能力把跨模块副作用声称为已经验证。

## 3. 从业务规则推导用例
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lixiuxiu559/agentforge/test-design@sha256:0db92b661cc03426

The line at the top of this page pins the label git:20261029.640ec95, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3xf4sptmd2ht3k57.svg)](https://markdownregistry.com/a/art_3xf4sptmd2ht3k57)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 9, 2026 and Oct 29, 2026, about one every 20 days.

versioncommittedcommitsizeaudit
git:20261029.640ec95 latest2026-10-29 640ec95 7,755 BA view · diff
git:20261009.171c8e92026-10-09 171c8e9 7,850 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7755 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

GitHub

lixiuxiu559/agentforge · 4 stars · license MIT · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3xf4sptmd2ht3k57
GET https://markdownregistry.com/api/v1/resolve?ref=lixiuxiu559/agentforge/test-design
GET https://markdownregistry.com/api/v1/blob/0db92b661cc0342644955d69cb0f333608b750211b62e47641d397f61ba24f51

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.

More from lixiuxiu559/agentforge

AGENTS.md AGENTS.md file
lixiuxiu559/agentforge · AGENTS.md
git:20261031.86f03d1 · audit A · 4 stars
architecture-design SKILL.md skill
lixiuxiu559/agentforge · skills/architecture-design/SKILL.md · 将需求、原型或明确技术问题转为完整的系统设计,默认交付含可见图示的 HTML。比较可行方案并由用户决定关键取舍,再完成整体与必要专项设计、风险验证和一致性复核;复杂专项可委派子…
git:20261030.1326a85 · audit A · 4 stars
architecture-scout SKILL.md skill
lixiuxiu559/agentforge · skills/architecture-scout/SKILL.md · 仅在用户明确要求架构机会调查时使用。调查值得深化的模块边界、跨模块修改的根因和难测试的结构;只报告,不修改代码,允许零候选。
git:20260929.5c4b103 · audit A · 4 stars
bug-debugging SKILL.md skill
lixiuxiu559/agentforge · skills/bug-debugging/SKILL.md · 针对具体错误、失败测试、偶发异常或性能回归定位根因,并在用户确认修复方案后实施修复。适用于“排查这个 bug”“为什么这里失败”“修好这个异常”;不用于泛泛讲解报错含义、无具体症状的全仓找 bug 或仅评审 diff。
git:20260930.d24348c · audit A · 4 stars
complexity-audit SKILL.md skill
lixiuxiu559/agentforge · skills/complexity-audit/SKILL.md · 代码复杂度风险审计能力。当需要评估函数是否难以安全修改、分析复杂度与测试覆盖率、定位高 CRAP 值方法,或执行 Java、Python、Go、JavaScript、TypeScript 复杂度体检时使用。该能力只生成审计报告,不修改代码。
git:20260928.1f1d004 · audit A · 4 stars
diff-review SKILL.md skill
lixiuxiu559/agentforge · skills/diff-review/SKILL.md · 三轴代码评审。沿 Correctness(有 bug 吗)、Standards(符合本仓库文档化的编码规范吗)、Spec(忠实实现原始需求吗)三条轴评审一个 diff,各轴独立报告、不合并、不重排。当用户要求评审改动、做提交前审查、找…
git:20260929.9c61219 · audit A · 4 stars
implementation-workflow SKILL.md skill
lixiuxiu559/agentforge · skills/implementation-workflow/SKILL.md · 实施编排工作流。当用户要求实现功能、修复 Bug、重构代码、补充测试、拆分开发任务、并行编码或按质量门完成开发时使用。负责评估任务、拆分依赖、调度实施子任务,并按风险选择性调用 diff-review…
git:20261030.1326a85 · audit A · 4 stars
mutation-testing SKILL.md skill
lixiuxiu559/agentforge · skills/mutation-testing/SKILL.md · 通过项目已有突变测试工具审计现有测试能否发现代码逻辑错误。用户要求运行突变测试、分析存活突变体或无覆盖突变体时使用。支持 Java、Python、Go、JavaScript、TypeScript;只报告,不修改代码或测试。业务测试用例设计与…
git:20261009.171c8e9 · audit A · 4 stars
pm SKILL.md skill
lixiuxiu559/agentforge · skills/pm/SKILL.md · 将产品想法或需求变更整理为可评审、可验证的 PRD,默认交付便于阅读的 HTML 文件。当用户要求撰写或完善 PRD、梳理需求、明确业务规则、范围、用户故事或验收标准时使用。只澄清影响业务规则、范围或验收的缺口;需求明确时直接产出。只交付需…
git:20261029.640ec95 · audit A · 4 stars
prototype SKILL.md skill
lixiuxiu559/agentforge · skills/prototype/SKILL.md · 将 PRD 或明确的页面需求转为可走查的 HTML 原型与页面、字段、交互状态清单。当用户要求画原型、设计页面、制作 mockup 或修改已有原型时使用;只交付原型设计,不实施生产前端、设计 API 或部署。
git:20261029.640ec95 · audit A · 4 stars
research SKILL.md skill
lixiuxiu559/agentforge · skills/research/SKILL.md · 对需要多步取证、交叉验证或比较分析的问题开展系统调查,形成有证据支持的结论。适用于跨模块行为调查、版本差异分析、技术方案比较及存在多种解释的疑难问题。不用于简单事实查询、定位符号或配置、单次文档查阅,以及其他技能中的常规信息确认。
git:20261023.3bafb01 · audit A · 4 stars
wiki SKILL.md skill
lixiuxiu559/agentforge · skills/wiki/SKILL.md · 为代码仓库生成并维护项目 Wiki(项目文档、知识库、代码导读、架构说明、模块说明、开发指南),既供 Agent 按目录查阅,也供人阅读;Markdown 提交在仓库…
git:20261031.d2c78c3 · audit A · 4 stars

Every file in lixiuxiu559/agentforge

Other files named test-design

test-design SKILL.md skill
nahid-sparktales/agent-dispatcher · skills/quality/test-design/SKILL.md · Write unit and integration tests that fail for the right reason — behaviour-level assertions, boundary values, the…
git:20260919.a0d4f55 · audit A · 58 stars
test-design SKILL.md skill
yarlson/yarstack · plugins/yarstack/skills/test-design/SKILL.md · Design or write reproducible tests matched to behavioral risk before implementation. Use for product behavior; for…
git:20261017.2f2e03b · audit A · 3 stars

Browse by kind, by grade A, or by owner.