[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ARV4P4Q4H4DC74VT9JSHGA":3,"skill-same:01M7ARV4P4Q4H4DC74VT9JSHGA":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7ARV4P4Q4H4DC74VT9JSHGA","test-data-management",null,"Designs test data: builders with valid defaults, unique keys for each test, seeded reference data, synthetic data, masking of personal data and cleanup. Use when the user says 'test data', 'fixtures', 'factories' or 'our tests share data'. Not for environments and containers (use test-environments).","quark-sri\u002Fqestack","quark-sri","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89900424?v=4","01M7ARN6E370E8C9T165BKJB5G","Srinivas Pasupulati","01M7ARN6F6BCMFYCV5RC5HR9JC",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-data-management\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: test-data-management\ndescription: \"Designs test data: builders with valid defaults, unique keys for each test, seeded reference data, synthetic data, masking of personal data and cleanup. Use when the user says 'test data', 'fixtures', 'factories' or 'our tests share data'. Not for environments and containers (use test-environments).\"\nlicense: Apache-2.0\nargument-hint: \"[domain objects, test suite or environment]\"\n---\n\n# test-data-management\n\n## Objective\n\nShared or hand-made test data is a top cause of flaky and unreadable tests. Good test data is created by each test, is valid by default, shows only the values that matter for the case, and does not contain real personal data. This skill sets up such data.\n\n## Context\n\n1. Read `.agents\u002Fqa-project-context.md` if it exists. Use its test data approach, environments and data stores.\n2. If it does not exist, find the current approach in the tests (fixtures, factories, seed scripts). Suggest `qa-project-context` once. Do not stop the work for it.\n\n## Discovery questions\n\n1. How do tests get data today: shared seed data, fixtures, factories, copies of production?\n2. Which reference data must exist (countries, currencies, products, roles)?\n3. Which data is personal or secret? Which rules apply to it (privacy law, company policy)?\n4. Do tests run in parallel, and against shared environments?\n\n## Principles\n\n1. **Each test creates its own data,** with unique keys. It does not depend on data from another test.\n2. **Valid by default, explicit for the case.** A builder fills all required fields with valid values. The test sets only the values that matter, so the reader sees them.\n3. **Create through the fastest trusted path:** the API for the end-to-end and API tests, the repository or the database for integration tests, plain objects for unit tests.\n4. **Reference data is seeded and read-only.** Tests do not change it.\n5. **No real personal data.** Use synthetic data. If production data is needed for a migration or a volume test, mask it first, and follow the data policy.\n6. **Clean up, or isolate.** Delete what the test created, or use a fresh schema, tenant or namespace.\n\n## Workflow\n\n1. List the domain objects that tests need, with their required fields, rules and relations.\n2. Write a builder or factory for each one, with valid defaults and unique keys (a counter or a random value with a fixed seed).\n3. Add named variants for the common states (\"a paid order\", \"a locked user\").\n4. Seed the reference data once for each environment, and make it read-only for tests.\n5. Replace shared or fixed data in the existing tests, starting with the flaky ones.\n6. Add cleanup or isolation, and run the tests in parallel and in random order to prove it.\n7. For volume and performance tests, generate the data with a script and a fixed seed.\n\n## Stack recipes\n\nRead only the recipe for the stack of the project: [Java](references\u002Fjava.md), [TypeScript and JavaScript](references\u002Ftypescript.md), [Python](references\u002Fpython.md). For another stack, apply the principles with the project's own tools, and say so.\n\n## Anti-patterns\n\n- **The \"golden\" shared data set** that all tests change.\n- **Fixed IDs and emails** that collide in parallel runs.\n- **Copies of production** with real names, emails and payment data.\n- **Builders with random values for every field.** Failures do not repeat. Use a seed, and log it.\n- **Mystery data:** the test does not show which values matter.\n\n## Done when\n\n- Each domain object in scope has a builder or factory with valid defaults and unique keys.\n- Tests create their own data and pass in parallel and in random order.\n- Reference data is seeded and not changed by tests.\n- No real personal data is in the test data, and any masked data follows the policy.\n\n## Related skills\n\n- `test-environments`: where the data lives.\n- `database-testing` and `api-testing`: the paths to create data.\n- `flaky-test-detective`: data collisions as a cause of flakiness.\n- `edge-case-hunter`: the edge values to add as variants.\n","# test-data-management\n\n## Objective\n\nShared or hand-made test data is a top cause of flaky and unreadable tests. Good test data is created by each test, is valid by default, shows only the values that matter for the case, and does not contain real personal data. This skill sets up such data.\n\n## Context\n\n1. Read `.agents\u002Fqa-project-context.md` if it exists. Use its test data approach, environments and data stores.\n2. If it does not exist, find the current approach in the tests (fixtures, factories, seed scripts). Suggest `qa-project-context` once. Do not stop the work for it.\n\n## Discovery questions\n\n1. How do tests get data today: shared seed data, fixtures, factories, copies of production?\n2. Which reference data must exist (countries, currencies, products, roles)?\n3. Which data is personal or secret? Which rules apply to it (privacy law, company policy)?\n4. Do tests run in parallel, and against shared environments?\n\n## Principles\n\n1. **Each test creates its own data,** with unique keys. It does not depend on data from another test.\n2. **Valid by default, explicit for the case.** A builder fills all required fields with valid values. The test sets only the values that matter, so the reader sees them.\n3. **Create through the fastest trusted path:** the API for the end-to-end and API tests, the repository or the database for integration tests, plain objects for unit tests.\n4. **Reference data is seeded and read-only.** Tests do not change it.\n5. **No real personal data.** Use synthetic data. If production data is needed for a migration or a volume test, mask it first, and follow the data policy.\n6. **Clean up, or isolate.** Delete what the test created, or use a fresh schema, tenant or namespace.\n\n## Workflow\n\n1. List the domain objects that tests need, with their required fields, rules and relations.\n2. Write a builder or factory for each one, with valid defaults and unique keys (a counter or a random value with a fixed seed).\n3. Add named variants for the common states (\"a paid order\", \"a locked user\").\n4. Seed the reference data once for each environment, and make it read-only for tests.\n5. Replace shared or fixed data in the existing tests, starting with the flaky ones.\n6. Add cleanup or isolation, and run the tests in parallel and in random order to prove it.\n7. For volume and performance tests, generate the data with a script and a fixed seed.\n\n## Stack recipes\n\nRead only the recipe for the stack of the project: [Java](references\u002Fjava.md), [TypeScript and JavaScript](references\u002Ftypescript.md), [Python](references\u002Fpython.md). For another stack, apply the principles with the project's own tools, and say so.\n\n## Anti-patterns\n\n- **The \"golden\" shared data set** that all tests change.\n- **Fixed IDs and emails** that collide in parallel runs.\n- **Copies of production** with real names, emails and payment data.\n- **Builders with random values for every field.** Failures do not repeat. Use a seed, and log it.\n- **Mystery data:** the test does not show which values matter.\n\n## Done when\n\n- Each domain object in scope has a builder or factory with valid defaults and unique keys.\n- Tests create their own data and pass in parallel and in random order.\n- Reference data is seeded and not changed by tests.\n- No real personal data is in the test data, and any masked data follows the policy.\n\n## Related skills\n\n- `test-environments`: where the data lives.\n- `database-testing` and `api-testing`: the paths to create data.\n- `flaky-test-detective`: data collisions as a cause of flakiness.\n- `edge-case-hunter`: the edge values to add as variants.\n",{"name":5,"license":15,"description":7,"argument-hint":24},"[domain objects, test suite or environment]","main","33cd1b197739d1c9a7a907bc4bb50c00039c2371","plugins\u002Fqestack\u002Fskills\u002Ftest-data-management",0,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack","https:\u002F\u002Fgithub.com\u002Fquark-sri","2026-11-14 20:45:02",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add quark-sri\u002Fqestack --skill test-data-management",{"tool":38,"command":39},"bunx","bunx skills add quark-sri\u002Fqestack --skill test-data-management",{"tool":41,"command":42},"pnpm","pnpm dlx skills add quark-sri\u002Fqestack --skill test-data-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-data-management\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fjava.md","REFERENCE","参考文档",1581,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-data-management\u002Freferences\u002Fjava.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fpython.md",1116,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-data-management\u002Freferences\u002Fpython.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Ftypescript.md",1130,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-data-management\u002Freferences\u002Ftypescript.md",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7ARWD0Z563VXR17R8QMHWKE","unit-testing","Writes, fixes or improves unit tests for rules, calculations, validation and state logic: arrange-act-assert, exact oracles, boundary sets, doubles only at boundaries, controlled clock and randomness. Use when the user says 'write unit tests', 'TDD this' or 'mock this dependency'. Not for HTTP endpoints (use api-testing).","https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Funit-testing\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7ARW7HQKKAWQZ4K8128SBXC","ui-automation","Writes, fixes or structures browser end-to-end tests for critical journeys: role, label or test ID locators, auto-waiting assertions, API data setup, page objects, auth reuse and traces. Use when the user says 'UI test', 'end-to-end test' or 'our UI tests are brittle'. Not for business rules (use unit-testing).","https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Fui-automation\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7ARW22645WR7R6MKTAP1CVP","testcase-reviewer","Reviews automated tests or manual test cases like a senior test architect: scores fidelity, oracles, assertion depth, edge cases and determinism, and finds tests that pass on wrong code. Use when the user says 'review my tests', 'test smells' or 'review AI-written tests'. Not for fault injection (use mutation-probe).","https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftestcase-reviewer\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7ARVXYW0WTC5E7J5CR4S0EC","testability-review","Scores how testable a feature, module or design is before tests exist (seams for clock, randomness and network, hidden state, observability) and gives the smallest production change per blocker. Use when the user asks 'is this testable' or 'why is this hard to test'. Not for writing the tests (use unit-testing).","https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftestability-review\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7ARVTENW2RDMMKHDTGMYQBM","test-strategy","Writes a test strategy for a product, system or team: quality goals, test levels and their share, environments, data, automation scope, non-functional testing, metrics and a roadmap. Use when the user says 'test strategy' or 'QA strategy'. Not for one sprint or release plan (use test-planning).","https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-strategy\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7ARVMXVKN1XHB1QQCRNGXP5","test-runner","Finds how a project runs its tests, runs the right subset, and triages each failure as product bug, test defect, environment problem or flaky test, with evidence. Use when the user says 'run the tests' or asks 'which tests fail and why'. Not for pipeline design (use ci-cd-integration).","https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-runner\u002FSKILL.md",[],[]]