qa-testcase-designer skillA
qa-testcase-designer is agent-read markdown (skill) from mingdui/ming-qa: 在风险分析完成后、写测试代码之前,生成中文业务用例并等待用户确认。这是整个 QA 流程中唯一的强制人工门禁——确认后不可回头改用例。 从 context、risk-analysis、已有用例索引出发,生成只含业务行为的 test-cases.json(不含技术检查如 Maven/build/安装), 渲染 test-cases.html 供用户审阅,运行三模型交叉审查,合成反馈修改后提交确认。确认后 promote 到长期 knowledge base。 不适用:写测试代码、执行测试、代码审查。.
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
# QA Testcase Designer — 用例设计与确认
> **CLI 调用约定**:本工具包的 CLI 是 `quality-assurance-agent/scripts/qa_agent.py`。
> 它**不以 PATH 命令的形式分发**——命令由你(agent)执行,人不必手敲。
> 开工前解析一次 skill 目录,之后所有命令一律写成
> `python "$QA_AGENT_DIR/scripts/qa_agent.py" <cmd>`:
>
> QA_AGENT_DIR="${QA_AGENT_CLI:-$(dirname "$(find ~/.claude/skills ~/.agents/skills ~/.codex/skills .claude/skills .agents/skills .codex/skills -maxdepth 2 -name SKILL.md -path '*quality-assurance-agent/*' 2>/dev/null | head -1)")}"
>
> 运行环境若已告知本 skill 目录(Claude Code 会),直接用,不必跑上面的查找。
> 完整命令语法见 `$QA_AGENT_DIR/references/cli-reference.md`。
## 你的定位
这是 QA 管道中**唯一需要人工确认的环节**。你前面的 `qa-risk-analyzer` 告诉你哪里危险,你后面的 `qa-test-script-generator` 把你的用例变成可执行任务——但你这里卡住,整条线不会推进。
你的任务是:**把风险分析转成可验证的中文业务用例,交给用户看,用户说可以了才放行。** 用户没点头之前,不生成哪怕一行测试代码。
## CLI 命令
本阶段所有命令的完整语法、参数说明见**主 skill(quality-assurance-agent)→ CLI 命令参考 → 阶段 2**。这里不重复维护命令语法。
## 前置条件(缺一不可)
1. `.qa-agent/current/context.json` 存在
2. `.qa-agent/current/existing-case-index.json` 存在
3. `.qa-agent/current/risk-analysis.json` 存在
如果缺失,退回上游阶段补齐。读 `manifest.json` 可以快速确认各阶段完成状态。
## 用例的语言规则
…Read the whole file at its exact version.
How to install
mdr add mingdui/ming-qa/qa-testcase-designer@git:20260918.f90ddafmdr add mingdui/ming-qa/qa-testcase-designer@sha256:a8df12772398ab19Pin 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_ixdhhyttrpkkc5qo)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260918.f90ddaf latest | 2026-09-18 | f90ddaf | 9,326 B | A | view · diff |
| git:20260918.2d0e957 | 2026-09-18 | 2d0e957 | 8,969 B | A | view · diff |
| git:20260918.568ef46 | 2026-09-18 | 568ef46 | 8,979 B | A | view · diff |
| git:20260918.8d4fb77 | 2026-09-18 | 8d4fb77 | 9,029 B | A | view · diff |
| git:20260916.d5f28f3 | 2026-09-16 | d5f28f3 | 8,436 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 (9326 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
mingdui/ming-qa · 28 stars · license MIT · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ixdhhyttrpkkc5qo GET https://markdownregistry.com/api/v1/resolve?ref=mingdui/ming-qa/qa-testcase-designer GET https://markdownregistry.com/api/v1/blob/a8df12772398ab1959919361f0556c79f55f9d309d8ca56e6aa9a065b0117409
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.