Skip to content
Back to skills

State Transition Testing

ASecurity

Use this skill when you need to derive test candidates for reachable, unreachable, and abnormal transitions from states, events, guards, and actions; triggers include 状态迁移测试 and state transition test design.

  • 313 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 6, 2026
testinggotestinggit

Works with

  • terminal

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 state-transition-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of State Transition Testing?

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

Security grade badge for State Transition Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/naodeng-state-transition-testing/badge)](https://www.skillsdirectory.com/skills/naodeng-state-transition-testing)

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: state-transition-testing
description: Use this skill when you need to derive test candidates for reachable, unreachable, and abnormal transitions from states, events, guards, and actions; triggers include 状态迁移测试 and state transition test design.
license: PolyForm-Noncommercial-1.0.0
metadata:
  version: "1.0.0"
  compatibility: ""
  author: "Awesome QA Skills contributors"
  language: "en"
  category: "testing-types"
  source: "https://github.com/naodeng/awesome-qa-skills"
  license-url: "https://polyformproject.org/licenses/noncommercial/1.0.0"
---

# State Transition Test Design

derive test candidates for reachable, unreachable, and abnormal transitions from states, events, guards, and actions. Produce STT-## findings. This Skill organizes traceable test-design candidates only; it does not execute tests or turn a design inventory into coverage, pass, or release evidence.

## When to Use

- When you need State Transition Test Design candidates from state models, events, guard conditions, actions, roles, error transitions, and state-persistence evidence.
- When you need selection rationale, applicability constraints, evidence gaps, and the smallest validation action.
- When inputs are incomplete but a bounded first pass can preserve blocked or unassessed boundaries.

Do not use it to execute tests, invent rules, replace a complete strategy, or accept risk for a Human.

## Output Format Options

- Use Markdown by default; use tables, JSON, or CSV only when explicitly requested or required by the delivery format.
- Separate static analysis, unexecuted work, evidence states, and Human decisions; keep items unassessed, blocked, or NOT_RUN when runtime evidence is absent.

## How to Use

1. Read prompts/state-transition-testing.md and provide the objective, scope, material, environment, and evidence.
2. Complete known, missing, conflicting, stale, out_of_scope, and assumptions before findings.
3. Record STT-## with state, event, precondition/guard, action, target state, reachability, source evidence, and validation method, source, evidence state, impact, owner, close condition, and validation.
4. Preserve conflicts, unknown constraints, and open questions.

## Domain Execution Essentials

- Build sourced state/event/guard/action/target cells with initial/terminal, persistence and failure-atomicity contracts.
- Deliver valid/invalid transitions and guard-boundary cells, comparing both state changes and business side effects.
- When deriving domain candidates, read and follow [prompts/state-transition-testing.md](prompts/state-transition-testing.md) for the domain procedure and oracle; retain valid controls, evidence gaps, and validation actions for each item.

## Core Constraints

- do not invent states or events, treat a static state diagram as runtime evidence, or claim all paths executed.
- File presence, names, design declarations, and Eval configuration are not runtime evidence.
- Mark unknowns unassessed, blocked, or pending clarification instead of filling them with convention.
- Do not edit requirements, code, test assets, or target systems.

## Pre-delivery Check

- [ ] Recorded the six-part input audit.
- [ ] Every STT-## has source, minimum evidence, impact/priority, owner role, close condition, and validation.
- [ ] Facts, inferences, recommendations, unexecuted work, and Human decisions remain separate.
- [ ] Findings are not full cases, execution results, coverage proof, or release claims.

## Reference Files

- Read evals/eval.yaml and matching cases for regression; configuration does not prove project results.
- Use evals/trigger-prompts.csv and evals/local-rules.json for trigger checks; missing skill.selection evidence is BLOCKED.

## Common Pitfalls

- Do not turn a method name, file presence, or candidate count into test execution, coverage, pass, or release evidence when scope or evidence is incomplete.
- Do not fill in missing rules, thresholds, data, environments, or results from convention; preserve unassessed, blocked, and pending items.
- Do not expand this specialist design or review into a complete strategy, full test cases, runtime execution, or a release decision.

## Best Practices

- Complete the six-part input audit before selecting the smallest traceable and verifiable finding scope.
- Keep the source, evidence state, impact/priority, owner role, close condition, validation method, and residual risk for every finding.
- Write validation suggestions as next actions; do not upgrade package structure, candidate counts, or local Eval configuration into real quality conclusions.

Files in this skill

  • SKILL.md4.5 KB
  • agents/openai.yaml359 B
  • evals/cases/basic-success.yaml866 B
  • evals/cases/domain-method-control.yaml1.3 KB
  • evals/cases/domain-method-success.yaml1.2 KB
  • evals/cases/edge-incomplete-input.yaml883 B
  • evals/cases/edge-scope-boundary.yaml948 B
  • evals/eval.yaml531 B
  • evals/local-rules.json143 B
  • evals/trigger-prompts.csv813 B
  • prompts/state-transition-testing.md4.3 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 testing →

Comments

Loading comments…

Newsletter

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