[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ARV8VTWSN2TT1GX0C8KFE2":3,"skill-same:01M7ARV8VTWSN2TT1GX0C8KFE2":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},"01M7ARV8VTWSN2TT1GX0C8KFE2","test-environments",null,"Sets up reproducible test environments: containers, production engine versions, readiness checks, isolated parallel runs and preview environments. Use when the user says 'test environment' or 'tests fail in CI every time'. Not for intermittent failures (use flaky-test-detective) or test data (use test-data-management).","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-environments\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: test-environments\ndescription: \"Sets up reproducible test environments: containers, production engine versions, readiness checks, isolated parallel runs and preview environments. Use when the user says 'test environment' or 'tests fail in CI every time'. Not for intermittent failures (use flaky-test-detective) or test data (use test-data-management).\"\nlicense: Apache-2.0\nargument-hint: \"[service, test suite or environment]\"\n---\n\n# test-environments\n\n## Objective\n\nA test is only as trustworthy as the environment it runs in. Shared, drifting environments make results depend on the day and on other teams. This skill sets up environments that start the same way each time, match production where it matters, and do not leak state between runs.\n\n## Context\n\n1. Read `.agents\u002Fqa-project-context.md` if it exists. Use its environments, services and pipeline.\n2. If it does not exist, find them in the container files, the configuration and the pipeline. Suggest `qa-project-context` once. Do not stop the work for it.\n\n## Discovery questions\n\n1. Which services does each test level need (database, broker, cache, search, object storage, other services)?\n2. Which versions run in production?\n3. Where do tests run: developer machines, pipeline agents, shared test environments? Are containers available there?\n4. What differs between the test environment and production today?\n\n## Principles\n\n1. **Disposable over shared.** Start dependencies for each run or each test class, in containers. Use shared environments only for what cannot run locally.\n2. **Production parity where it matters:** the same engine and major version, the same configuration flags, the same time zone and locale rules.\n3. **Configuration from the environment,** not from code. The same build runs everywhere.\n4. **Ready means ready.** Wait for a health check or a log line, never for a fixed time.\n5. **Isolation for parallel runs:** random ports, a schema or a namespace for each worker, unique resource names.\n\n## Workflow\n\n1. List the dependencies for each test level and their production versions.\n2. Start each dependency for tests with a container library or a compose file. Pin the image versions.\n3. Wire the configuration: pass the dynamic addresses and credentials to the application through environment variables or test properties.\n4. Add readiness checks, and a clear error message when a dependency does not start.\n5. Make parallel runs safe: random ports, separate schemas or namespaces, unique names.\n6. Write a short parity table: each difference from production, its risk, and how other tests cover it.\n7. For pull requests, consider an ephemeral environment with the changed services and simulated third parties.\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- **One shared database** for all developers and pipelines.\n- **\"latest\" image tags.** Results change without a code change.\n- **Fixed sleeps** while a service starts.\n- **Hard-coded hosts and ports** in test code.\n- **A staging that nobody owns,** with old data and hand-made changes.\n\n## Done when\n\n- Each test level starts its dependencies the same way locally and in the pipeline, with pinned versions.\n- Configuration comes from the environment; readiness is checked.\n- Parallel runs do not collide.\n- The differences from production are listed with their risk.\n\n## Related skills\n\n- `test-data-management`: the data inside the environment.\n- `service-virtualization`: third-party services in the environment.\n- `ci-cd-integration`: the environment in the pipeline.\n- `database-testing`: database containers.\n","# test-environments\n\n## Objective\n\nA test is only as trustworthy as the environment it runs in. Shared, drifting environments make results depend on the day and on other teams. This skill sets up environments that start the same way each time, match production where it matters, and do not leak state between runs.\n\n## Context\n\n1. Read `.agents\u002Fqa-project-context.md` if it exists. Use its environments, services and pipeline.\n2. If it does not exist, find them in the container files, the configuration and the pipeline. Suggest `qa-project-context` once. Do not stop the work for it.\n\n## Discovery questions\n\n1. Which services does each test level need (database, broker, cache, search, object storage, other services)?\n2. Which versions run in production?\n3. Where do tests run: developer machines, pipeline agents, shared test environments? Are containers available there?\n4. What differs between the test environment and production today?\n\n## Principles\n\n1. **Disposable over shared.** Start dependencies for each run or each test class, in containers. Use shared environments only for what cannot run locally.\n2. **Production parity where it matters:** the same engine and major version, the same configuration flags, the same time zone and locale rules.\n3. **Configuration from the environment,** not from code. The same build runs everywhere.\n4. **Ready means ready.** Wait for a health check or a log line, never for a fixed time.\n5. **Isolation for parallel runs:** random ports, a schema or a namespace for each worker, unique resource names.\n\n## Workflow\n\n1. List the dependencies for each test level and their production versions.\n2. Start each dependency for tests with a container library or a compose file. Pin the image versions.\n3. Wire the configuration: pass the dynamic addresses and credentials to the application through environment variables or test properties.\n4. Add readiness checks, and a clear error message when a dependency does not start.\n5. Make parallel runs safe: random ports, separate schemas or namespaces, unique names.\n6. Write a short parity table: each difference from production, its risk, and how other tests cover it.\n7. For pull requests, consider an ephemeral environment with the changed services and simulated third parties.\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- **One shared database** for all developers and pipelines.\n- **\"latest\" image tags.** Results change without a code change.\n- **Fixed sleeps** while a service starts.\n- **Hard-coded hosts and ports** in test code.\n- **A staging that nobody owns,** with old data and hand-made changes.\n\n## Done when\n\n- Each test level starts its dependencies the same way locally and in the pipeline, with pinned versions.\n- Configuration comes from the environment; readiness is checked.\n- Parallel runs do not collide.\n- The differences from production are listed with their risk.\n\n## Related skills\n\n- `test-data-management`: the data inside the environment.\n- `service-virtualization`: third-party services in the environment.\n- `ci-cd-integration`: the environment in the pipeline.\n- `database-testing`: database containers.\n",{"name":5,"license":15,"description":7,"argument-hint":24},"[service, test suite or environment]","main","33cd1b197739d1c9a7a907bc4bb50c00039c2371","plugins\u002Fqestack\u002Fskills\u002Ftest-environments",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-environments",{"tool":38,"command":39},"bunx","bunx skills add quark-sri\u002Fqestack --skill test-environments",{"tool":41,"command":42},"pnpm","pnpm dlx skills add quark-sri\u002Fqestack --skill test-environments","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-environments\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fjava.md","REFERENCE","参考文档",1252,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-environments\u002Freferences\u002Fjava.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fpython.md",727,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-environments\u002Freferences\u002Fpython.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Ftypescript.md",1106,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-environments\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",[],[]]