qa-test-script-generator skillA
qa-test-script-generator is agent-read markdown (skill) from mingdui/ming-qa: 在用户确认用例之后,把已确认的业务用例展开为可执行的 spec-task 和测试脚本。你产出的是 test-spec-tasks.json——后续执行阶段通过它逐条运行并收集证据。 你只负责"生成可执行的东西",不负责"执行"。pass/fail/ready 的判断由后续的执行阶段来做。 不适用:执行测试、标记 pass/fail、就绪判定。.
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 Test Script Generator — 脚本生成
> **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-testcase-designer` 产出的是人在看的用例,你产出的是执行阶段在跑的 task。
你的 spec-task 写得不精确,后面的执行阶段就没法可靠地判断 pass/fail。
你**不执行**任务、**不标记 pass/fail**、**不判断就绪**。实现状态只到 `implemented`,执行状态留 `not-run`。
## CLI 命令
本阶段所有命令的完整语法、参数说明见**主 skill(quality-assurance-agent)→ CLI 命令参考 → 阶段 3**。这里不重复维护命令语法。
## 生成层级约定
脚本层走**完整测试金字塔**(`generate-spec-tasks` 默认行为):每条用例按「单元 > 集成 > API > E2E」逐级递减拆解。验收同样要有单元测试(测资金计算、状态机、校验逻辑等白盒行为)——不要把任何一层砍成 0。
默认最小 task 数:P0=8、P1=5、P2=3、P3=1;默认比例 unit 60% / integration 20% / api 15% / e2e 5%。纯后端 scope(无前端 UI)自动跳过 E2E。
## 工作流
### 1. 校验用例
…Read the whole file at its exact version.
How to install
mdr add mingdui/ming-qa/qa-test-script-generator@git:20260920.56e926fmdr add mingdui/ming-qa/qa-test-script-generator@sha256:57b718d8a7a5b040Pin 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_2ruudhe4btwgznmv)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260920.56e926f latest | 2026-09-20 | 56e926f | 10,902 B | A | view · diff |
| git:20260918.2d0e957 | 2026-09-18 | 2d0e957 | 10,916 B | A | view · diff |
| git:20260918.568ef46 | 2026-09-18 | 568ef46 | 10,926 B | A | view · diff |
| git:20260918.8d4fb77 | 2026-09-18 | 8d4fb77 | 10,951 B | A | view · diff |
| git:20260916.d5f28f3 | 2026-09-16 | d5f28f3 | 10,463 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 (10902 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_2ruudhe4btwgznmv GET https://markdownregistry.com/api/v1/resolve?ref=mingdui/ming-qa/qa-test-script-generator GET https://markdownregistry.com/api/v1/blob/57b718d8a7a5b040e536c2c65667d6daafa8ddde5a3d296fd09bae786394080c
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.