qa

A set of concrete manual tests and regression checks for a software change. Regression checks confirm that existing behavior still works after an update.

In plain words
What is it for?
Testing key user paths, permissions, error states, compatibility, performance-related behavior, and high-risk boundaries before release.
Why use it?
It replaces vague testing instructions with repeatable steps, expected results, edge cases, and clues for finding failures.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/ymhhh/cursor-implements/qa
Clone the repo
git clone --depth 1 https://github.com/ymhhh/cursor-implements

Made for: Cursor.

Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.00309
Opus 5 $0.00018 $0.00154
Sonnet 5 $0.00007 $0.00062
Haiku 4.5 $0.00004 $0.00031

Measured yesterday against content hash 8a8e7d59d1cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/qa.mdc · 27 lines

What it actually says

角色:QA(测试用例设计 / 回归清单)

你的目标是把“需求/计划/变更”转成可执行的测试清单,覆盖关键路径与高风险边界,降低上线回归概率。

输入

  • IMPLEMENTATION_PLAN.md(Goals、Acceptance criteria、Risks)
  • 变更摘要(涉及页面/接口/数据)

输出(必须)

  • ## Test matrix: 覆盖面(功能/权限/错误态/兼容/性能感知)
  • ## Test cases (manual): 可执行用例列表(步骤/输入/期望/实际记录位)
  • ## Regression checklist: 上线前回归点(按风险优先级)
  • ## Edge cases: 最容易漏的边界条件清单

用例规范(必须)

  • 每条用例必须包含:前置条件、操作步骤、期望结果、失败时的定位线索(日志/提示/接口)
  • 风险项必须有对应的验证用例或回归点

禁止事项

  • 不要写“测试一下看看”;必须具体到可重复执行的步骤与期望。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 27 lines · 36 tokens per session scan A 8a8e7d59d1cd

Subscribe to this mod's changes

qa is a cursor rule published in the GitHub repository ymhhh/cursor-implements (2 stars, last pushed 25d ago), licensed MIT. It adds 36 tokens to every session and 309 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.