AI Agent Hub
Back to skills
Test Case Generator icon

Test Case Generator

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_23548b01/test-case-generator01 according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

During requirements reviews, test teams often need to turn feature specs, user stories, API docs, or acceptance criteria into executable test cases. Manual drafting tends to miss boundary values, permission differences, state transitions, and error paths, while hiding assumptions inside cases and causing repeated rework.

How It Works

The skill organizes output around test design methods:
- It identifies the test target, preconditions, input fields, business rules, permissions, and acceptance criteria;
- Applies boundary value analysis to numbers, dates, length, pagination, and amounts, decision tables to combination rules, and state transition testing to lifecycle flows;
- Covers valid inputs, invalid inputs, abnormal operations, network failures, concurrent submissions, and unauthorized access;
- Generates an .xlsx workbook by default with Test Cases, Test Analysis, and Requirement Questions sheets;
- Keeps case columns in a fixed order: Case ID, Priority, Test Type, Design Method, Case Title, Preconditions, Test Data, Steps, and Expected Result.

Boundaries

It is best suited for functional test case design from clear requirement materials, and does not replace interface automation, performance load testing, or security penetration testing. If the requirements lack role matrices, error codes, state rules, or supported ranges, the skill records the gaps in Requirement Questions instead of inventing hidden rules.

Use Cases

  • After receiving a login-page requirement doc, generate executable Chinese test cases using equivalence classes and boundaries, with Excel output.
  • During an order API review, extract request, response, auth, and error scenarios into interface test cases.
  • With acceptance criteria and a state diagram, organize state transitions and retry exceptions into a test analysis sheet.
  • For vague permission requirements, list role matrix and unauthorized-access questions in the requirement questions sheet.

Best For

  • Functional test engineers who need to turn a PRD or user stories into review-ready Chinese cases.
  • Backend engineers who need interface cases covering requests, responses, auth, and error scenarios.
  • QA leads who need to check boundary values, state transitions, and requirement gaps before review.
  • Product engineers who need to convert acceptance criteria into test analysis and expose unconfirmed rules.