[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ARTRAE1M0DATWHVBFK05AD":3,"skill-same:01M7ARTRAE1M0DATWHVBFK05AD":52},{"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},"01M7ARTRAE1M0DATWHVBFK05AD","test-case-designer",null,"Designs traceable test cases from requirements with equivalence classes, boundary values, decision tables, state transitions and pairwise, each with an exact expected result and test level. Use when the user says 'design test cases', 'test scenarios for this story' or 'generate tests from this spec'. Not for requirement gaps (use requirement-gaps).","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-case-designer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: test-case-designer\ndescription: \"Designs traceable test cases from requirements with equivalence classes, boundary values, decision tables, state transitions and pairwise, each with an exact expected result and test level. Use when the user says 'design test cases', 'test scenarios for this story' or 'generate tests from this spec'. Not for requirement gaps (use requirement-gaps).\"\nlicense: Apache-2.0\nargument-hint: \"[feature, story or spec]\"\n---\n\n# test-case-designer\n\n## Objective\n\nA good test case can fail. It has a concrete input, an exact expected result from the requirement, and a reason to exist: the defect that it catches. This skill designs such cases with formal techniques, and puts each case at the cheapest level that can prove it.\n\n## Context\n\n1. Read `.agents\u002Fqa-project-context.md` if it exists. Use its test levels, conventions and requirement ID format.\n2. If it does not exist, find the test levels in the repository. Suggest `qa-project-context` once. Do not stop the work for it.\n\n## Discovery questions\n\n1. Where are the requirements, contracts and data models?\n2. Are there open gaps? If yes, run `requirement-gaps` first, or mark the affected cases as blocked.\n3. Which format does the team use for test cases: a document, a test management system, comments in code?\n\n## Principles\n\n1. **The requirement is the oracle.** Never take an expected result from the implementation.\n2. **Each case catches a named defect.** If no wrong implementation can fail a case, remove it.\n3. **The cheapest level wins.** Business rules in unit or API tests. Infrastructure effects in integration tests. Only journeys in end-to-end tests.\n4. **Technique follows the rule shape.** See [the design techniques](references\u002Fdesign-techniques.md).\n\n## Workflow\n\n1. **Requirement list** with IDs. Mark each one high, medium or low risk.\n2. **Technique** for each requirement. Use more than one technique for high risk.\n3. **Cases.** For each case, write:\n   - the ID and the covered requirement IDs\n   - the category: positive, negative, boundary, error, security, concurrency, idempotency, resilience\n   - the setup and data, and the action\n   - the expected result: each observable effect, and what must NOT change\n   - the source of the expected result\n   - \"fails when\": the defect that it catches\n   - the level\n4. **Traceability check.** Each requirement has a positive case. Each limit has boundary cases. Each error rule has an error case. List the requirements that do not.\n5. **Remove waste.** Merge cases that catch the same defect.\n\n## Output\n\n```\n## Test design: \u003Cfeature>\n\n| Req | Risk | Technique | Test cases | Categories | Gaps |\n|---|---|---|---|---|---|\n\n#### TC-001: \u003Cshort name>\n- Covers: R1, AC-2 | Category: boundary | Level: unit\n- Setup: ...   Action: ...\n- Expected: ... (source: R1 example 2)   Must not change: ...\n- Fails when: the limit uses \">\" instead of \">=\"\n```\n\n## Anti-patterns\n\n- **\"Verify it works\".** An expected result that is not an exact value or effect.\n- **The expected value from the code.** The test then confirms the bug.\n- **Everything end-to-end.** Slow, flaky, and the failure does not point to the cause.\n- **Two invalid inputs in one case.** The first error hides the second.\n\n## Done when\n\n- Each requirement has cases from the right technique, with exact expected results and a source.\n- Each case names the defect that it catches and its level.\n- Requirements without enough cases, and the blocked cases, are listed.\n\n## Related skills\n\n- `requirement-gaps`: before the design.\n- `edge-case-hunter`: more edge cases for high-risk rules.\n- `unit-testing`, `api-testing`, `ui-automation`: write the tests.\n- `testcase-reviewer`: reviews the written tests.\n","# test-case-designer\n\n## Objective\n\nA good test case can fail. It has a concrete input, an exact expected result from the requirement, and a reason to exist: the defect that it catches. This skill designs such cases with formal techniques, and puts each case at the cheapest level that can prove it.\n\n## Context\n\n1. Read `.agents\u002Fqa-project-context.md` if it exists. Use its test levels, conventions and requirement ID format.\n2. If it does not exist, find the test levels in the repository. Suggest `qa-project-context` once. Do not stop the work for it.\n\n## Discovery questions\n\n1. Where are the requirements, contracts and data models?\n2. Are there open gaps? If yes, run `requirement-gaps` first, or mark the affected cases as blocked.\n3. Which format does the team use for test cases: a document, a test management system, comments in code?\n\n## Principles\n\n1. **The requirement is the oracle.** Never take an expected result from the implementation.\n2. **Each case catches a named defect.** If no wrong implementation can fail a case, remove it.\n3. **The cheapest level wins.** Business rules in unit or API tests. Infrastructure effects in integration tests. Only journeys in end-to-end tests.\n4. **Technique follows the rule shape.** See [the design techniques](references\u002Fdesign-techniques.md).\n\n## Workflow\n\n1. **Requirement list** with IDs. Mark each one high, medium or low risk.\n2. **Technique** for each requirement. Use more than one technique for high risk.\n3. **Cases.** For each case, write:\n   - the ID and the covered requirement IDs\n   - the category: positive, negative, boundary, error, security, concurrency, idempotency, resilience\n   - the setup and data, and the action\n   - the expected result: each observable effect, and what must NOT change\n   - the source of the expected result\n   - \"fails when\": the defect that it catches\n   - the level\n4. **Traceability check.** Each requirement has a positive case. Each limit has boundary cases. Each error rule has an error case. List the requirements that do not.\n5. **Remove waste.** Merge cases that catch the same defect.\n\n## Output\n\n```\n## Test design: \u003Cfeature>\n\n| Req | Risk | Technique | Test cases | Categories | Gaps |\n|---|---|---|---|---|---|\n\n#### TC-001: \u003Cshort name>\n- Covers: R1, AC-2 | Category: boundary | Level: unit\n- Setup: ...   Action: ...\n- Expected: ... (source: R1 example 2)   Must not change: ...\n- Fails when: the limit uses \">\" instead of \">=\"\n```\n\n## Anti-patterns\n\n- **\"Verify it works\".** An expected result that is not an exact value or effect.\n- **The expected value from the code.** The test then confirms the bug.\n- **Everything end-to-end.** Slow, flaky, and the failure does not point to the cause.\n- **Two invalid inputs in one case.** The first error hides the second.\n\n## Done when\n\n- Each requirement has cases from the right technique, with exact expected results and a source.\n- Each case names the defect that it catches and its level.\n- Requirements without enough cases, and the blocked cases, are listed.\n\n## Related skills\n\n- `requirement-gaps`: before the design.\n- `edge-case-hunter`: more edge cases for high-risk rules.\n- `unit-testing`, `api-testing`, `ui-automation`: write the tests.\n- `testcase-reviewer`: reviews the written tests.\n",{"name":5,"license":15,"description":7,"argument-hint":24},"[feature, story or spec]","main","33cd1b197739d1c9a7a907bc4bb50c00039c2371","plugins\u002Fqestack\u002Fskills\u002Ftest-case-designer",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-case-designer",{"tool":38,"command":39},"bunx","bunx skills add quark-sri\u002Fqestack --skill test-case-designer",{"tool":41,"command":42},"pnpm","pnpm dlx skills add quark-sri\u002Fqestack --skill test-case-designer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-case-designer\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fdesign-techniques.md","REFERENCE","参考文档",3081,"https:\u002F\u002Fgithub.com\u002Fquark-sri\u002Fqestack\u002Fblob\u002Fmain\u002Fplugins\u002Fqestack\u002Fskills\u002Ftest-case-designer\u002Freferences\u002Fdesign-techniques.md",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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",[],[]]