professional-test-case-generator

Generates human-readable and AI-executable test cases from PRDs, API docs, and UI designs.

2|Updated May 30, 2026
One-click install
npx skills add https://github.com/opensourceways/integration-tests --skill professional-test-case-generator-opensourceways
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: professional-test-case-generator
Source: https://github.com/opensourceways/integration-tests/tree/main/test_skills_base/test-case-generator
Command: npx skills add https://github.com/opensourceways/integration-tests --skill professional-test-case-generator-opensourceways

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing comprehensive test cases from requirements documents is slow and inconsistent, and cases written for humans often cannot be executed by AI agents. This Skill converts PRDs, API documentation, and UI designs into standardized test cases that humans can import into ZenTao/Tapd/Jira and AI agents can execute directly via curl or Playwright. ## Core Features & Use Cases - Dual-Mode Output: Generates Markdown test case sets by default, or a single runnable pytest .py file when Python trigger words (pytest, 转 py, 可执行脚本) are detected. - 9-Dimension Coverage: Systematically covers normal flow, exceptions, boundary values, null values, special characters, permissions, uniqueness, repeated operations, and malformed inputs, with a coverage matrix. - AI-Executable Blocks: Each case carries an agent-exec YAML block with concrete request/selector data and assertions, executable via curl, Bash, or Playwright. - Use Case: Paste a login API spec and login page design; receive TC-API and TC-UI case tables with P0-P3 priorities, plus a pytest file where automatable cases become test functions and manual cases become annotated SKIP-MANUAL comment blocks. ## Quick Start Ask the AI to generate test cases from your requirement document, for example: generate test cases from this login API documentation and output a pytest file.

Frequently Asked Questions about professional-test-case-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate test cases from a PRD or API document?▼

Provide the requirement document, API spec, or UI design as input and request test case generation. The Skill outputs an 8-column Markdown case table with agent-exec YAML blocks, covering 9 test dimensions with P0-P3 priorities.

How to convert test cases into a runnable pytest script?▼

Include trigger words like pytest, 转 py, or 可执行脚本 in your request. The Skill then outputs only a single .py file where automatable cases become pytest functions using requests or Playwright, and non-automatable cases become SKIP-MANUAL comment blocks.

Can generated test cases be imported into ZenTao, Tapd, or Jira?▼

Yes, the Markdown output uses a fixed 8-column table format compatible with ZenTao, Tapd, Jira/Xray, and TestRail via Excel or CSV conversion. The agent-exec code blocks are ignored by these tools and only parsed by AI agents.

What happens when the input documentation is incomplete?▼

The Skill stops and outputs a missing-information checklist instead of fabricating data. It lists exactly which items are needed, such as full URLs, auth header formats, field constraints, or stable selectors like data-testid.

Which test cases cannot be automated in the Python output?▼

Cases depending on human perception, manual actions like slider captchas, real SMS/email delivery, or ops changes are marked non-automatable. They appear as structured comment blocks with manual steps and expected results, never as skipped test functions.