qa-test-script-generator SKILL.md skillA
qa-test-script-generator from mingdui/ming-qa is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mingdui/ming-qa/qa-test-script-generator@git:20260920.56e926fPins git:20260920.56e926f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mingdui/ming-qa
- Path
skills/qa-test-script-generator/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260920.56e926f, committed Sep 20, 2026
- First version recorded
- Sep 16, 2026
- Size
- 10,902 bytes
- Repository stars
- 42
- License
- MIT
在用户确认用例之后,把已确认的业务用例展开为可执行的 spec-task 和测试脚本。你产出的是 test-spec-tasks.json——后续执行阶段通过它逐条运行并收集证据。 你只负责"生成可执行的东西",不负责"执行"。pass/fail/ready 的判断由后续的执行阶段来做。 不适用:执行测试、标记 pass/fail、就绪判定。.
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
# 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@sha256:57b718d8a7a5b040The line at the top of this page pins the label git:20260920.56e926f, 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_2ruudhe4btwgznmv)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 16, 2026 and Sep 20, 2026, more than one a day.
| 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 · 42 stars · license MIT · pushed 2026-11-04 · 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 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.