Back to skills
SKILL.md
Test Strategy
ASecurityUse this skill when you need to define a test strategy covering scope, methods, resources, risks, and quality gates; triggers include 测试策略 and test strategy.
- 313 stars
- 0 votes
- 0 copies
- 1 view
- Added November 6, 2026
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add naodeng/awesome-qa-skills --skill test-strategy --agent claude-codeAre you the author of Test Strategy?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/naodeng-test-strategy-awesome-qa-skills)---
name: test-strategy
description: Use this skill when you need to define a test strategy covering scope, methods, resources, risks, and quality gates; triggers include 测试策略 and test strategy.
license: PolyForm-Noncommercial-1.0.0
metadata:
version: "1.0.0"
compatibility: ""
author: "Awesome QA Skills contributors"
language: "zh-CN"
category: "testing-types"
source: "https://github.com/naodeng/awesome-qa-skills"
license-url: "https://polyformproject.org/licenses/noncommercial/1.0.0"
---
# 测试策略(中文版)
**英文版:** 见对应英文技能。
## 何时使用
- 需要在真实项目里处理 test strategy 相关任务。
- 需要一份可以直接用于执行、评审或跟进的结果。
## 执行流程
1. 阅读并遵循「按需加载」中的主提示词(覆盖清单、输出结构、质量要求)。
2. 只补充真正影响结果的项目上下文:范围、环境、限制、风险、依赖、期望产出。
3. 信息不全时先给可用初版,并显式标出假设与信息缺口。
4. 默认 Markdown;用户指定其他格式时再切换。
## 领域执行要点
1. 以版本/业务目标与风险建立最小执行表:目标→义务/范围→层与深度→数据/环境→资源/负责人→准入准出来源→证据与剩余风险,避免分散章节无法执行。
2. 沿用项目工具与现实容量,先覆盖关键资损/授权等最低保护;每场景有业务后置条件和证据,资源不足列不可完成项与最小替代验证。
3. 准入准出值仅取项目规则,缺门槛保持待确认/UNKNOWN,不自动套95%通过率或P0数值;Human决定风险接受,不由策略草稿代替。
4. 区分设计、计划、实际运行和业务验收;给依赖/环境阻塞、范围变化、停止/重审触发与交付责任,策略能由另一执行者直接接手。
## 核心约束
- 按风险/业务影响排优先级,不要平均摊铺。
- 把「已确认事实」和「当前假设」分开写。
- 不要编造用户未提供的接口、字段、环境或根因细节。
- 结果必须可执行:场景具体、有优先级、能指导下一步。
## 按需加载
- 校准领域结果、正确对照或证据缺口时,读取 [references/domain-decision-example.md](references/domain-decision-example.md) 的脱敏输入、逐项预期与复算依据。
- 产出前必须阅读并遵循 `prompts/test-strategy.md`(最低覆盖清单、输出结构、质量要求)。
- 需要 Excel/CSV/JSON/Word 等格式时:读 `output-formats.md`,并按用户格式要求输出。
- 需要套用现成模板时:读 `output-templates/` 中匹配的模板,不要自创冲突结构。
- 用户要示例或对标现有资产时:读 `examples/` 中相关样例。
- 需要框架规范、排障、报告 schema 等深资料时:只读 `references/` 里与当前问题相关的文件,不要整目录通读。
- 需要格式转换或辅助校验时:优先使用 `scripts/` 中已有脚本,而不是重写一遍。
- 需要评测/回归本 skill 时:使用 `evals/`,并用 skill-up 校验与运行。
- 用户只要最短上手路径时:读 `quick-start.md`。
## 交付前自检
- [ ] 已遵循主提示词的输出结构
- [ ] 最低覆盖关注:目标和范围、质量风险、测试类型和深度、优先区域、资源和责任、环境和数据策略、入口和结束考虑、自动化方向…(细节以主提示词为准)
- [ ] 已覆盖最低清单,或标明为何省略
- [ ] 高风险项有明确优先级
- [ ] 未编造用户未提供的细节
- [ ] 假设与信息缺口已标明
## 常见误区
- 范围和上下文都不清楚时,不要假装已经完整可用。
- 不要把所有项写成同等重要。
- 不要跳过假设与信息缺口。
- 不要输出大段与当前工具链无关的空泛理论。
Files in this skill
- README.md
- SKILL.md
- agents/openai.yaml
- evals/cases/basic-success.yaml
- evals/cases/domain-method-regression.yaml
- evals/cases/edge-incomplete-input.yaml
- evals/cases/edge-risk-priority.yaml
- evals/eval.yaml
- evals/fixtures/check-domain-decisions.sh
- evals/fixtures/check_domain_decisions.py
- evals/fixtures/domain-oracle.json
- examples/README.md
- examples/test-strategy-templates/README.md
- output-formats.md
- output-templates/template-csv.csv
- output-templates/template-excel.tsv
- output-templates/template-json.json
- output-templates/template-markdown.md
- output-templates/template-word.md
- output-templates/template-xmind.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.