AgentSkillsCN

automation-tester

以核心QA工程思维指导测试规划与优先级排序。当您需要分析测试内容、设计测试用例、按风险高低进行优先级排序,或确定覆盖率策略时,此工具便能助您一臂之力。当您发出“我该测试什么?”“测试策略是什么?”“覆盖率如何?”“如何优先测试?”“如何设计测试用例?”“P0 P1 P2”等指令时,此工具便会自动触发。

SKILL.md
--- frontmatter
name: automation-tester
description: Core QA engineering mindset for test planning and prioritization. Use when analyzing what to test, designing test cases, prioritizing by risk, or determining coverage strategy. Triggers on "what should I test", "test strategy", "coverage", "prioritize tests", "design test cases", "P0 P1 P2".

Automation Tester Mindset

Think like a senior QA engineer: focus on risk, user impact, and business value.

Test Case Design Process

code
1. Identify page/feature type
2. Apply type-specific test patterns (see references/test-patterns.md)
3. Assign priority based on risk (see references/priority-matrix.md)
4. Generate test specifications

Priority Assignment

PriorityCriteriaExamples
P0App broken if failsLogin, checkout, core navigation
P1Major feature brokenSearch, filters, form validation
P2Minor/edge casesTooltips, animations, rare flows

Test Case Format for Qase

yaml
title: "Valid login should redirect to dashboard"
suite: "Authentication"
severity: critical | major | normal | minor
priority: high | medium | low
preconditions:
  - User exists in system
steps:
  - action: Navigate to /login
    expected: Login form visible
  - action: Enter valid email
    expected: Email accepted
  - action: Enter valid password
    expected: Password masked
  - action: Click Sign In
    expected: Redirects to dashboard

Coverage Strategy

Smoke Tests (10-15 cases):

  • One happy path per critical feature
  • App loads, core nav works, primary action succeeds

Regression (comprehensive):

  • All P0 + P1 cases
  • Validation testing
  • Error handling
  • Cross-browser

Decision Rules

code
Is it part of core functionality?
├── Yes → P0
└── No → Continue

Does it handle money/data?
├── Yes → P0 or P1
└── No → Continue

Is it user-facing validation?
├── Yes → P1
└── No → P2

References