AI Agent Hub
Back to skills
System Test Case Generator icon

System Test Case Generator

Development Updated 2026.08.30

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

Please install @user_0d92b3be/test-case-generator-v2 by following https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Before release, test design often relies on individual expertise. PRDs, prototypes, API specs, permission rules, and workflows are scattered across documents, which can leave out edge cases, permission gaps, security risks, and handoff details for automation.

How It Works

The capability turns test design into a traceable workflow:

  • Input parsing: extracts functional modules, inputs, outputs, business rules, state transitions, external dependencies, and compliance requirements from PRDs, OpenAPI, Swagger, Postman, diagrams, or plain text.
  • Functional decomposition: builds a module tree, then enables sections based on Web, mobile, AI, ERP, canary release, API, performance, or other traits; disabled sections need a reason.
  • Test point extraction: covers page, input, functional, business, permission, exception, and data consistency dimensions.
  • Case output: produces cases with fixed fields such as case ID, module, preconditions, steps, expected result, and priority, from P0 to P3.
  • Specialized depth: API testing covers parameter validation, HTTP status codes, idempotency, concurrency, rate limiting, and contract consistency; security testing follows OWASP Top 10 2021 with payload examples and expected defenses; performance testing defines baseline, load, stress, and soak models.

Boundaries

  • Output quality depends on input completeness; missing business rules, data constraints, or API contracts should be supplied manually.
  • Automation scripts are intended for copying into a project environment and debugging, not guaranteed to cover all dependencies, accounts, or private APIs.
  • Security cases support review and self-testing, but do not replace penetration testing, dependency scanning, or compliance audits.

Use Cases

  • A backend developer uses a Swagger spec before release to generate parameter validation, idempotency, rate limiting, and security cases.
  • A test engineer turns a PRD and prototype into executable cases covering features, permissions, exceptions, and data consistency.
  • A QA lead reviews an ERP procurement-to-payment flow and generates cases for document status, inventory, reports, and amount calculations.
  • A security engineer generates privilege escalation, injection, and authentication failure cases for external APIs using OWASP Top 10 2021.

Best For

  • Backend engineers delivering APIs: need to add parameter validation, idempotency, and error-code cases after Swagger changes.
  • Test engineers validating systems: need to turn PRDs and prototypes into positive, negative, boundary, permission, and data consistency cases.
  • QA leads shipping ERP systems: need end-to-end tests for procurement, inventory, document approval, and report definitions.
  • Security engineers reviewing external APIs: need OWASP injection, privilege escalation, and authentication failure checklists.