Token导航 LogoToken导航

Agent Skill · 研究检索

test-strategy-en(测试策略 zh)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

test-strategy-en 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 70,834。

总安装 198周安装 8GitHub Stars 39下载 62核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:test-strategy-en(测试策略 zh)
来源仓库:https://github.com/naodeng/awesome-qa-skills
仓库路径:skills/test-strategy-en
安装命令:
npx skills add https://github.com/naodeng/awesome-qa-skills --skill test-strategy-en
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/naodeng/awesome-qa-skills --skill test-strategy-en

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助测试策略设计与自动化测试用例编写。适合生成单元测试、端到端测试或分析测试失败原因。使用时应确认项目测试框架及运行命令,防止误改关键逻辑。涉及浏览器或第三方服务调用时,需隔离测试环境与生产环境。安装方式:通过 GitHub 仓库安装,支持 Codex、Claude、Cursor、Gemini CLI。

来源仓库内路径:skills/test-strategy-en

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/naodeng/awesome-qa-skills --skill test-strateg…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

test-strategy-en 怎么安装?

在终端执行 npx skills add https://github.com/naodeng/awesome-qa-skills --skill test-strategy-en。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

test-strategy-en 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

test-strategy-en 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

test-strategy-en 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

test-strategy-en 用的人多吗?

公开数据是累计安装 198 次,近一周安装 8 次,下载 62 次,GitHub 39 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

test-strategy-en 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
test-strategy-en

测试策略 zh · 本页

19839操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Test Strategy

中文版: 见技能 test-strategy。

Prompts: see prompts/test-strategy_EN.md in this directory.

When to Use

  • User mentions test strategy, test plan, quality strategy, or test planning
  • Need to develop test strategy or plan for a project
  • Trigger: e.g. "Develop test strategy for this project" or "Write test plan document"

Output Format Options

This skill defaults to Markdown output (consistent with Standard-version template). For other formats, specify at the end of your request:

FormatDescriptionHow to Request (Example)
MarkdownDefault, easy to read and version controlNo need to specify
ExcelTab-separated, paste into Excel"Please output as tab-separated table for Excel"
PDFFormal document format"Please output in PDF format"
JSONEasy for program parsing"Please output in JSON format"

See output-formats.md for detailed specifications and examples.

How to Use

  1. Open the relevant file in this directory's prompts/ and copy the content below the dashed line.
  2. Append your requirements and context (business flow, environment, constraints, acceptance criteria).
  3. If you need non-Markdown output, append the request sentence from output-formats.md at the end.

Reference Files

Code Examples

This skill provides the following real code examples:

  1. Test Strategy Template Collection - Complete test strategy templates

- Agile project test strategy - Waterfall project test strategy - Mobile app test strategy - API test strategy - Microservices test strategy - Risk assessment matrix - Resource planning templates

  1. Strategy Generation Tools (coming soon)
  2. Risk Assessment Tools (coming soon)

See Reference templates for practical templates.

Common Pitfalls

  • ❌ Strategy too generic → ✅ Develop specific strategy for project characteristics
  • ❌ Ignoring risk assessment → ✅ Identify and assess testing risks
  • ❌ Insufficient resource planning → ✅ Specify personnel, time, tool requirements
  • ❌ Missing metrics → ✅ Define clear quality goals and measurements
  • ❌ Strategy never changes → ✅ Adjust strategy based on project progress
  • ❌ Only focus on functional testing → ✅ Cover performance, security, compatibility, etc.
  • ❌ No exit criteria → ✅ Define clear test completion and release criteria

Best Practices

1. Test Strategy Core Elements

Complete test strategy should include:

# Test Strategy Document

## 1. Project Overview
- Project background
- Project goals
- Project scope

## 2. Test Objectives
- Quality goals
- Coverage goals
- Performance goals

## 3. Test Scope
- Included features
- Excluded features
- Test types

## 4. Test Approach
- Test levels (unit/integration/system/acceptance)
- Test types (functional/performance/security/compatibility)
- Test techniques (black-box/white-box/gray-box)

## 5. Test Environment
- Hardware requirements
- Software requirements
- Network requirements
- Test data

## 6. Test Tools
- Test management tools
- Automation tools
- Performance testing tools
- Defect management tools

## 7. Resource Planning
- Staffing
- Schedule
- Budget estimation

## 8. Risk Management
- Risk identification
- Risk assessment
- Mitigation measures

## 9. Test Deliverables
- Test plan
- Test cases
- Test reports
- Defect reports

## 10. Entry/Exit Criteria
- Test start conditions
- Test completion conditions
- Release criteria

2. Test Pyramid Strategy

        /\
       /  \  E2E Tests (10%)
      /____\
     /      \
    / Integration \ (30%)
   /    Tests     \
  /______________\
 /                \
/  Unit Tests (60%) \
/____________________\

Layered Testing Strategy:

  • Unit Tests (60%): Fast, stable, low cost
  • Integration Tests (30%): Verify module interactions
  • End-to-End Tests (10%): Verify critical business flows

3. Risk-Driven Testing

Risk Assessment Matrix:

Feature ModuleBusiness ImpactTechnical ComplexityChange FrequencyRisk LevelTest Priority
PaymentHighHighLowHighP0
LoginHighMediumLowHighP0
SearchMediumHighMediumMediumP1
RecommendationMediumHighHighMediumP1
CommentsLowLowLowLowP2

Risk Level Calculation:

Risk Level = (Business Impact + Technical Complexity + Change Frequency) / 3

4. Agile Testing Strategy

Sprint Testing Activities:

## Sprint Planning (Day 1)
- [ ] Participate in Sprint Planning
- [ ] Understand user stories
- [ ] Identify testing tasks
- [ ] Estimate testing effort

## Sprint Execution (Day 2-9)
- [ ] Write test cases
- [ ] Execute exploratory testing
- [ ] Automate regression tests
- [ ] Track defects

## Sprint Review (Day 10)
- [ ] Demo test results
- [ ] Collect feedback
- [ ] Update test strategy

## Sprint Retrospective (Day 10)
- [ ] Summarize testing experience
- [ ] Identify improvement points
- [ ] Update best practices

5. Test Type Coverage

Comprehensive Test Types:

Test TypeGoalToolsFrequency
Unit TestingCode qualityJest, PytestEvery commit
Integration TestingModule interactionPostman, PytestDaily build
Functional TestingBusiness functionalityPlaywright, SeleniumEvery Sprint
Performance TestingResponse time, throughputK6, JMeterEvery release
Security TestingVulnerability scanningOWASP ZAPEvery release
Compatibility TestingCross-browser, devicesBrowserStackBefore release
Accessibility TestingWCAG complianceaxe-coreBefore release
Exploratory TestingDiscover unknown issuesManualContinuous

6. Automation Strategy

Automation Decision Tree:

Is the test repeatedly executed?
  No → Manual testing
  Yes ↓

Is the test stable?
  No → Manual testing
  Yes ↓

Automation cost < Manual cost?
  No → Manual testing
  Yes → Automated testing

Automation Priority:

  1. High Priority: Smoke tests, regression tests, API tests
  2. Medium Priority: Functional tests, integration tests
  3. Low Priority: Exploratory tests, usability tests

7. Test Metrics

Key Metrics:

## Process Metrics
- Test case count
- Test execution rate
- Automation coverage
- Defect discovery rate

## Quality Metrics
- Defect density (defects/KLOC)
- Defect escape rate
- Defect fix time
- Test pass rate

## Efficiency Metrics
- Test execution time
- Automation time saved
- Test ROI
- Team productivity

Troubleshooting

Issue 1: Don't know how to start developing strategy

Symptom: Facing new project, don't know where to start

Solution:

Use 5W2H Analysis:

## Test Strategy Analysis

### What (What to test)
- Functional requirements
- Non-functional requirements
- Business processes
- User experience

### Why (Why test)
- Quality assurance
- Risk control
- User satisfaction
- Compliance requirements

### Who (Who tests)
- Test team
- Development team
- Business team
- End users

### When (When to test)
- Unit testing: Development phase
- Integration testing: Integration phase
- System testing: Testing phase
- Acceptance testing: Before release

### Where (Where to test)
- Development environment
- Test environment
- Pre-production environment
- Production environment

### How (How to test)
- Manual testing
- Automated testing
- Exploratory testing
- Performance testing

### How Much (How much to invest)
- Personnel: X people
- Time: Y weeks
- Budget: Z dollars
- Tools: List

Issue 2: Test scope unclear

Symptom: Unsure what needs testing and what doesn't

Solution:

Create Test Scope Matrix:

## Test Scope Definition

### In Scope
| Feature Module | Test Types | Priority | Owner |
|---------------|------------|----------|-------|
| User Login | Functional, Security, Performance | P0 | John |
| Product Search | Functional, Performance | P1 | Jane |
| Order Payment | Functional, Security, Integration | P0 | Bob |

### Out of Scope
| Item | Reason | Notes |
|------|--------|-------|
| Third-party payment internal logic | External system | Only test integration points |
| Historical data migration | One-time task | Handled by DBA |
| Admin backend (old version) | Being deprecated | No longer maintained |

### Assumptions & Dependencies
- Test environment ready before Sprint starts
- Test data provided by development team
- Third-party APIs available in test environment

Issue 3: Insufficient resources, cannot complete all testing

Symptom: Limited time, personnel, budget

Solution:

Adopt Risk-Based Testing:

## Risk-Driven Test Priority

### High-Risk Areas (Must Test)
- Payment flow
- User authentication
- Data security
- Core business logic

### Medium-Risk Areas (Should Test)
- Search functionality
- Recommendation algorithm
- Notification system
- Report generation

### Low-Risk Areas (Optional Test)
- UI beautification
- Help documentation
- Statistical analysis
- Logging

### Resource Allocation
- High risk: 60% resources
- Medium risk: 30% resources
- Low risk: 10% resources

Issue 4: Test strategy disconnected from reality

Symptom: Strategy document looks good but cannot be executed

Solution:

Develop Executable Strategy:

## Executable Test Strategy

### Daily Activities
- [ ] 09:00 - Standup sync test progress
- [ ] 09:30 - Execute smoke tests
- [ ] 10:00 - Execute new feature tests
- [ ] 14:00 - Defect verification and regression
- [ ] 17:00 - Update test report

### Weekly Activities
- [ ] Monday: Sprint Planning, identify testing tasks
- [ ] Wednesday: Test progress check
- [ ] Friday: Sprint Review, demo test results

### Per Sprint Activities
- [ ] Sprint start: Create test plan
- [ ] Sprint mid: Execute tests, track defects
- [ ] Sprint end: Test summary, retrospective

### Checkpoints
- [ ] Complete smoke test within 30 min after code commit
- [ ] Complete functional test within 2 hours after user story completion
- [ ] Complete regression test 1 day before Sprint end

Issue 5: Test strategy for different environments

Symptom: Don't know what testing to do in different environments

Solution:

Environment Testing Matrix:

## Environment Testing Strategy

### Development Environment (Dev)
- **Purpose**: Quick verification of code changes
- **Test Types**: Unit tests, smoke tests
- **Frequency**: Every code commit
- **Automation**: 100%

### Test Environment (QA)
- **Purpose**: Comprehensive functional testing
- **Test Types**: Functional, integration, regression
- **Frequency**: Daily build
- **Automation**: 80%

### Pre-production Environment (Staging)
- **Purpose**: Production environment simulation
- **Test Types**: End-to-end, performance, security
- **Frequency**: Before release
- **Automation**: 60%

### Production Environment (Production)
- **Purpose**: Monitoring and verification
- **Test Types**: Smoke tests, monitoring
- **Frequency**: After release, continuous monitoring
- **Automation**: 100%

Issue 6: How to develop strategy in agile projects

Symptom: Agile projects change fast, strategy hard to develop

Solution:

Adopt Lightweight Agile Testing Strategy:

## Agile Testing Strategy

### Testing Quadrants

**Quadrant 1: Technology-facing, Supporting the Team**
- Unit tests
- Component tests
- Automation first

**Quadrant 2: Business-facing, Supporting the Team**
- Functional tests
- User story tests
- Example-driven

**Quadrant 3: Business-facing, Critique Product**
- Exploratory testing
- Usability testing
- User acceptance testing

**Quadrant 4: Technology-facing, Critique Product**
- Performance testing
- Security testing
- Maintainability testing

### Testing Activities in Sprint

**Sprint Planning**:
- Participate in user story discussion
- Identify testing tasks
- Define acceptance criteria

**Daily Standup**:
- Sync test progress
- Identify blocking issues
- Adjust test plan

**Sprint Review**:
- Demo test results
- Collect feedback
- Verify acceptance criteria

**Sprint Retrospective**:
- Review testing process
- Identify improvement points
- Update testing practices

Issue 7: How to measure test strategy effectiveness

Symptom: Don't know if strategy is effective

Solution:

Define Test Strategy KPIs:

## Test Strategy Effectiveness Metrics

### Quality Metrics
| Metric | Target | Current | Status |
|--------|--------|---------|--------|
| Production defects | < 5/month | 3/month | ✅ |
| Defect escape rate | < 5% | 3% | ✅ |
| Critical defects | 0 | 0 | ✅ |
| Customer complaints | < 2/month | 1/month | ✅ |

### Efficiency Metrics
| Metric | Target | Current | Status |
|--------|--------|---------|--------|
| Test automation rate | > 80% | 85% | ✅ |
| Test execution time | < 2h | 1.5h | ✅ |
| Defect fix time | < 2 days | 1.5 days | ✅ |
| Release frequency | 2 weeks | 2 weeks | ✅ |

### Coverage Metrics
| Metric | Target | Current | Status |
|--------|--------|---------|--------|
| Requirements coverage | 100% | 100% | ✅ |
| Code coverage | > 80% | 85% | ✅ |
| Automation coverage | > 70% | 75% | ✅ |

### Improvement Suggestions
- ✅ Quality metrics met, continue maintaining
- ⚠️  Consider increasing release frequency to weekly
- 💡 Explore AI-assisted testing to improve efficiency

Get More Help

If the issue is still unresolved:

  1. Check FAQ.md
  2. Check example README.md files
  3. Reference test strategy templates
  4. Consult team's test manager

Related Skills: requirements-analysis-en, test-case-writing-en, test-reporting-en, functional-testing-en.

Target Audience

  • QA engineers and developers executing this testing domain in real projects
  • Team leads who need structured, reproducible testing outputs
  • AI users who need fast, format-ready deliverables for execution and reporting

Not Recommended For

  • Pure production incident response without test scope/context
  • Decisions requiring legal/compliance sign-off without expert review
  • Requests lacking minimum inputs (scope, environment, expected behavior)

Critical Success Factors

  • Provide clear scope, environment, and acceptance criteria before generation
  • Validate generated outputs against real system constraints before execution
  • Keep artifacts traceable (requirements -> test points -> defects -> decisions)

Output Templates and Parsing Scripts

  • Template directory: output-templates/

- template-word.md (Word-friendly structure) - template-excel.tsv (Excel paste-ready) - template-xmind.md (XMind-friendly outline) - template-json.json - template-csv.csv - template-markdown.md

  • Parser scripts directory: scripts/

- Parse (generic): parse_output_formats.py - Parse (per-format): parse_word.py, parse_excel.py, parse_xmind.py, parse_json.py, parse_csv.py, parse_markdown.py - Convert (generic): convert_output_formats.py - Convert (per-format): convert_to_word.py, convert_to_excel.py, convert_to_xmind.py, convert_to_json.py, convert_to_csv.py, convert_to_markdown.py - Batch convert: batch_convert_templates.py (outputs into artifacts/)

Examples:

python3 scripts/parse_json.py output-templates/template-json.json
python3 scripts/parse_markdown.py output-templates/template-markdown.md
python3 scripts/convert_to_json.py output-templates/template-markdown.md
python3 scripts/convert_output_formats.py output-templates/template-json.json --to csv
python3 scripts/batch_convert_templates.py --skip-same

平台分布

Codex

34.63%
按下载量换算21

Claude

32.68%
按下载量换算20

Cursor

17.99%
按下载量换算11

Gemini CLI

9.55%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills