by user_39spWGp5TKQ3qXQQppMcR1O9PIf
Automatically generates valid, invalid, and boundary test data based on field names and validation rules. Use when the user provides field specifications and needs a comprehensive data set for testing forms, APIs, or database constraints.
npx @qaskills/cli add test-data-generation-based-on-field-namesAuto-detects your AI agent and installs the skill. Works with Claude Code, Cursor, Copilot, and more.
When to use this skill
When a user provides a field name (e.g., "Password", "Email", "Age") and a set of validation rules. When asked to generate "Valid", "Invalid", or "Boundary" test data sets. When preparing data for automated tests or manual regression testing.
Workflow
Rule Analysis: Parse the provided rules for each field (min/max length, character types, patterns). Identify the "Boundary" values (e.g., if max is 10, boundary values are 9, 10, and 11).
Data Set Construction:
Valid Data: Generate 3-5 strings/values that satisfy ALL rules.
Invalid Data: Generate values that violate exactly one rule at a time to isolate validation logic.
Boundary Data: Specifically target minimum and maximum limits.
Reporting: Present the data in a clear table format categorized by data type.
Instructions
Identify tokens like "Min", "Max", "Uppercase", "Special Character", "Numeric Only", "Regex". Example Input:
Field: Username Rules: Min 5, Max 12, Alpha-numeric only
- name: Install QA Skills
run: npx @qaskills/cli add test-data-generation-based-on-field-names0 of 29 agents supported