test-data-generator
Skill28 starsChanged 4 months agoMITView on GitHub
Skill sinh test data có cấu trúc, unique, traceable cho automation tests, bao gồm positive, negative, boundary và edge cases.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- iamcaominhtien/kanban-board-mcptheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- iamcaominhtien/kanban-board-mcp★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-flaky-testsSkill
- analyze-requirement-documentSkill
- fetch-jira-requirementsSkill
- flaky-test-analyzerSkill
- framework-architectSkill
- generate-api-tests-from-swaggerSkill
- generate-application-test-planSkill
- generate-automation-frameworkSkill
- generate-automation-from-testcasesSkill
- generate-automation-from-ui-flowSkill
- generate-combinatorial-test-dataSkill
- generate-cross-module-test-planSkill
- generate-locatorSkill
- generate-manual-testcases-rbtSkill
- generate-requirements-from-websiteSkill
- generate-testcases-from-requirementsSkill
- generate-test-dataSkill
- import-test-results-xraySkill
- jira-integrationSkill
- locator-healer-agentSkill
- qa-automation-engineerSkill
- rbt-manual-testingSkill
- requirements-analyzerSkill
- smart-locator-agentSkill
- ui-debug-agentSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this skill when:
- Distinctive: line 38
All generated data must be:
- Distinctive: line 95
All required fields filled
- Distinctive: line 126
Avoid duplication across test runs
- Distinctive: line 127
Not contain real PII (personal data)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test Data Generator
Purpose: Generate reliable test data for automation tests.
When to Use
Use this skill when:
- Creating test data for new test cases
- Generating boundary and edge case data
- Setting up data-driven tests
- Creating API request payloads
Responsibilities
Generate test data for:
- Registration forms
- Login credentials
- Form submissions
- API payloads
- Search queries
- File uploads
Data Rules
All generated data must be:
- Unique — No duplication within test suite
- Deterministic — Same seed produces same data (when needed)
- Traceable — Can identify which test generated it
Unique Data Pattern
Recommended format:
<prefix>_<testName>_<timestamp>Examples:
auto_register_20260402133000
test_login_1712024100Common Data Types
auto_<testName>_<timestamp>@test.comExample: auto_register_20260402@test.com
Username
user_<testName>_<timestamp>Example: user_login_20260402133000
Phone
Random 10-digit number starting with valid prefixExample: 0912345678
Password
Mix of uppercase, lowercase, digits, special charsExample: Test@12345
Data Categories
Positive Data (Happy Path)
- Valid format, within constraints
- All required fields filled
- Standard business values
Negative Data
- Missing required fields
- Invalid format (wrong email, short password)
- Invalid characters
- Already existing values (duplicate check)
Boundary Values
- Minimum length (e.g., 1 character)
- Maximum length (e.g., 255 characters)
- Min + 1, Max - 1
- Empty string vs null
- Zero, negative numbers
Edge Cases
- Unicode / special characters
- Very long strings
- SQL injection patterns (for security testing)
- HTML tags in text fields
- Leading/trailing whitespace
Constraints
Test data must:
- Respect field validation rules (from DOM inspection)
- Match input format (date format, phone format)
- Avoid duplication across test runs
- Not contain real PII (personal data)
Output Format
Provide data in structured format:
{
"positive": [
{ "email": "auto_tc01_20260402@test.com", "password": "Test@12345" }
],
"negative": [
{ "email": "", "password": "Test@12345", "expectedError": "Email is required" },
{ "email": "invalid-email", "password": "Test@12345", "expectedError": "Invalid email format" }
],
"boundary": [
{ "email": "a@b.co", "password": "12345678", "note": "Min length" }
]
}Multi-Step Data Pipeline (Cross-Module)
Mở rộng cho bài toán: test data cần đi qua nhiều modules nối tiếp mới tạo ra được data hoàn chỉnh cho module cuối.
Khi nào dùng
- Tính năng đi qua chuỗi N modules (VD: Đối tác → Thanh toán → Thuế → Biên bản)
- Data module sau phụ thuộc output module trước (Reference fields)
- Cần tạo data thật trên hệ thống qua browser
Data Chain Pattern
Module 1 → Output: {id_1, code_1}
↓ (Reference)
Module 2 → Input: {id_1} → Output: {id_2}
↓ (Reference)
Module 3 → Input: {id_1, id_2} → Output: {id_3}
↓ (Reference)
Module N → Input: {id_1..id_N-1} → Output: Final ResultField Classification
| Loại field | Mô tả | Cách sinh data |
| Dimension field | Giá trị thuộc chiều kết hợp trong ma trận | Lấy chính xác từ bộ combo — KHÔNG random |
| Supporting field | Bắt buộc nhưng không phải dimension | Random + unique + traceable |
| Reference field | ID/code từ output module trước | Copy từ output module trước trong chuỗi |
| Computed field | Tự tính từ formula/business rules | Tính theo formula — phải verify |
Data Chain Tracing Format
auto_combo{XX}_{module_short}_{timestamp}Ví dụ cho combo 01:
Module 1: partner_name = "auto_c01_partner_1712049200"
Module 2: payment_desc = "auto_c01_payment_1712049200"
Module 3: tax_note = "auto_c01_tax_1712049200"
→ Có thể trace: combo 01 tạo ra những data nào ở mỗi moduleCombinatorial Data Generation
Sinh bộ data cho ma trận kết hợp đa chiều — mỗi bộ kết hợp = 1 bộ data hoàn chỉnh.
Khi nào dùng
- Đã có ma trận kết hợp (từ
$generate-cross-module-test-plan) - Cần sinh N bộ data tương ứng N bộ kết hợp
- Mỗi bộ data phải có expected output (template, formula, computed values)
Combinatorial Data Structure
{
"combination_id": "COMBO_01",
"dimensions": {
"D1": "value_from_matrix",
"D2": "value_from_matrix"
},
"module_data": {
"module_1": { "field1": "...", "field2": "..." },
"module_2": { "ref_from_module1": "...", "field3": "..." }
},
"expected_output": {
"template": "EXPECTED_TEMPLATE_CODE",
"formula": "Amount × Rate",
"computed_values": { "total": 110000000 }
}
}Rules cho Combinatorial Data
| # | Rule |
| 1 | Dimension values PHẢI đúng 100% so với ma trận — KHÔNG random |
| 2 | Mỗi combo dùng data riêng (unique per combo) |
| 3 | Computed values phải đúng theo formula |
| 4 | Mỗi combo PHẢI có expected output |
| 5 | Traceable: prefix auto_combo{XX} |
Workflow tham chiếu
$generate-cross-module-test-plan→ Sinh ma trận kết hợp (input cho skill này)$generate-combinatorial-test-data→ Workflow chính dùng skill này cho combinatorial data
Rules References
.agents/rules/automation_rules.md— Test data generation rules (Section 2)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

