Skip to content
Back to skills

Ui Test Strategy

ASecurity

Use this skill when you need to define an evidence-bounded UI test strategy across journeys, states, platforms, and risks; triggers include UI 测试策略 and UI test strategy.

  • 313 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 6, 2026
ai-agentsgotestinggit

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add naodeng/awesome-qa-skills --skill ui-test-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui Test Strategy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ui Test Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/naodeng-ui-test-strategy-awesome-qa-skills/badge)](https://www.skillsdirectory.com/skills/naodeng-ui-test-strategy-awesome-qa-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ui-test-strategy
description: Use this skill when you need to define an evidence-bounded UI test strategy across journeys, states, platforms, and risks; triggers include UI 测试策略 and UI 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"
---

# UI 测试策略

从用户旅程、界面状态、平台差异和风险证据中形成 UI 测试策略候选,输出 UTS-## 发现。它只整理可追溯的UI 质量候选,不执行测试,也不把设计清单写成覆盖、通过或发布证据。

## 何时使用

- 需要从 用户旅程、页面和组件清单、状态流转、设计稿、平台矩阵、可访问性要求和缺陷证据 中提取 UI 测试策略 候选。
- 需要解释选择理由、适用约束、证据缺口和最小验证动作。
- 材料不完整但仍要交付受限初版,并明确 blocked 或 unassessed 边界。

不适用于直接执行测试、生成无来源的行为结论、替代完整测试策略,或替 Human 接受风险。

## 输出格式选项

- 默认输出 Markdown;表格、JSON 或 CSV 仅在用户明确需要或现有交付格式要求时使用。
- 把静态分析、未执行项、证据状态和 Human 决策分开;没有运行证据时保持 unassessed、blocked 或 NOT_RUN。

## 如何使用

1. 阅读 prompts/ui-test-strategy.md,并提供目标、范围、材料、环境和已有证据。
2. 先完成 known、missing、conflicting、stale、out_of_scope、assumptions 六类输入审计。
3. 用 UTS-## 记录对象、前置条件、关注点、来源证据和验证方法,保留影响/优先级、责任角色、关闭条件和证据状态。
4. 材料冲突、缺少约束或没有执行证据时,保留双方和待确认问题。

## 领域执行要点

- 建立用户旅程×业务状态×平台矩阵,映射每格的风险、验收义务和现有证据,未支持平台不自扩范围。
- 交付矩阵与义务→测试层/判据/残余风险表,最小组合须保护关键旅程而非机械套固定层比例。
- 形成领域候选时,必须读取并遵循 [prompts/ui-test-strategy.md](prompts/ui-test-strategy.md) 的领域操作与判定流程,逐项保留合法对照、证据缺口和验证动作。

## 核心约束

- 不执行测试,不假设未提供的规则、版本、阈值、数据或结果,不把候选数量当作覆盖证明。
- 文件存在、名称匹配、设计声明或 Eval 配置不等于真实执行证据。
- 未知项标为 unassessed、blocked 或待确认,不用常识补齐。
- 不修改需求、代码、测试资产或目标系统。

## 交付前自检

- [ ] 已记录 known、missing、conflicting、stale、out_of_scope、assumptions 六类输入审计。
- [ ] 每条 UTS-## 有来源、证据状态、影响/优先级、责任角色、关闭条件和验证方法。
- [ ] 已区分事实、推断、建议、未执行和 Human 决策。
- [ ] 未把设计候选写成执行结果、覆盖证明或发布结论。

## 参考文件

- 回归时读取 evals/eval.yaml 和匹配用例;配置不证明真实项目结果。
- 触发验证使用 evals/trigger-prompts.csv 和 evals/local-rules.json;缺少 skill.selection 证据时报告 BLOCKED。

## 常见误区

- 范围或证据不完整时,不要把方法名称、文件存在或候选数量写成测试已执行、覆盖、通过或发布证据。
- 不要用常识补齐未提供的规则、阈值、数据、环境或结果;保留 unassessed、blocked 和待确认项。
- 不要把本 Skill 的专项候选扩写成完整策略、完整测试用例、真实执行或发布决定。

## 最佳实践

- 先完成六类输入审计,再选择最小、可追溯且可验证的发现范围。
- 每条发现保留来源、证据状态、影响/优先级、责任角色、关闭条件和验证方法,并明确剩余风险。
- 把验证建议写成下一步动作,不把 Skill 包结构、候选数量或本地 Eval 配置升级为真实质量结论。

Files in this skill

  • SKILL.md4.2 KB
  • agents/openai.yaml357 B
  • evals/cases/basic-success.yaml830 B
  • evals/cases/domain-method-control.yaml1.1 KB
  • evals/cases/domain-method-success.yaml1.2 KB
  • evals/cases/edge-incomplete-input.yaml621 B
  • evals/cases/edge-scope-boundary.yaml694 B
  • evals/eval.yaml532 B
  • evals/local-rules.json135 B
  • evals/trigger-prompts.csv504 B
  • prompts/ui-test-strategy.md4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.