qa-risk-analyzer SKILL.md skillA
qa-risk-analyzer 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-risk-analyzer@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-risk-analyzer/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260920.56e926f, committed Sep 20, 2026
- First version recorded
- Sep 16, 2026
- Size
- 7,480 bytes
- Repository stars
- 42
- License
- MIT
在测试用例设计之前,先识别高风险业务路径和必需的验证断言(oracle)。分析需求文档、代码 diff、已有用例和上下文, 找出资金/权限/状态机/并发/异步/数据一致性等高危区域,输出每条风险的 businessPath、requiredAssertions、suggestedTestLayers, 以及覆盖率缺口。不要在风险未明确前写业务用例。 不适用:写业务用例、写测试代码、修改产品代码。.
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 Risk Analyzer — 风险分析
> **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`。
## 你的定位
你的任务是**在写用例之前先找 bug 思路**。如果你跳过这步直接写用例,用例会变成机械覆盖 API 参数而非针对业务风险的防守性测试。
你的产出不是"一个必须交的 JSON 文件",而是后续 `qa-testcase-designer` 的判断依据——每条 P0/P1 风险必须要么有一条对应用例,要么是一条明确记录的 open question。
你不上手修代码,不自己跑测试,不做 Ready 判定。
## CLI 命令
本阶段所有命令的完整语法、参数说明见**主 skill(quality-assurance-agent)→ CLI 命令参考 → 阶段 1**。这里不重复维护命令语法。
## --module 参数的使用约定
这是本阶段最关键的一个参数选择:
- **验收已有模块**:**必须带 --module**,逗号分隔列出目标代码文件(绝对路径、相对路径、目录路径或 glob)。这样 `affectedFiles` 只包含你真正关心的代码,不会混入全仓库 160 个无关文件。
- **开发新功能、有 git diff**:不带 --module,工具会自动从 git diff 提取变更文件。
…Read the whole file at its exact version.
How to install
mdr add mingdui/ming-qa/qa-risk-analyzer@sha256:11dfd34e868b6148The 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_mjragal2jw62ilcr)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 16, 2026 and Sep 20, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260920.56e926f latest | 2026-09-20 | 56e926f | 7,480 B | A | view · diff |
| git:20260918.2d0e957 | 2026-09-18 | 2d0e957 | 7,471 B | A | view · diff |
| git:20260918.8d4fb77 | 2026-09-18 | 8d4fb77 | 7,481 B | A | view · diff |
| git:20260916.d5f28f3 | 2026-09-16 | d5f28f3 | 7,028 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 (7480 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_mjragal2jw62ilcr GET https://markdownregistry.com/api/v1/resolve?ref=mingdui/ming-qa/qa-risk-analyzer GET https://markdownregistry.com/api/v1/blob/11dfd34e868b61482e385b77bc3b118ed18cfc5577d2dfda6e7357ffe5a4739b
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.