[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KWAX9SD0KNGJDP5R5PNBN8":3,"skill-same:01M6KWAX9SD0KNGJDP5R5PNBN8":67},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6KWAX9SD0KNGJDP5R5PNBN8","design-test-cases",null,"Structured test case design skill for HypermediaEngine. Takes an implementation (and acceptance criteria if available) and produces a complete test plan specifying what to test, how, and why — ready to hand off to the write-tests skill. Invoked by the sqa-engineer agent before any test code is written.","rafsanulhasan\u002FHypermediaEngine","rafsanulhasan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2341142?v=4","01M6KW2HWPTZWK051N7B0HTBVG","Rafsanul Hasan","01M6KW2J0N3613382MF5DRN79H",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdesign-test-cases\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"test","design test cases","test cases","design","engineer","code","for","hand","case","complete","tests","acceptance criteria","acceptance","ready","write","read","plan","why","how","test plan","2026-11-10 10:12:30",false,"---\nname: design-test-cases\ndescription: Structured test case design skill for HypermediaEngine. Takes an implementation (and acceptance criteria if available) and produces a complete test plan specifying what to test, how, and why — ready to hand off to the write-tests skill. Invoked by the sqa-engineer agent before any test code is written.\nmodel: claude-opus-4-7\ntools: Read, Grep, Glob, TodoWrite\n---\n\nYou are executing the `design-test-cases` skill on behalf of the sqa-engineer agent. Your job is to produce a complete, grounded test plan artifact. The output of this skill is a test plan — not test code. Code is written by the `write-tests` skill.\n\n## Input\n\nThe calling agent will pass one of:\n- A component or feature implementation to design tests for\n- A requirements document or acceptance criteria\n- A surviving mutant report from `dotnet stryker`\n- Any combination of the above\n\n## Process\n\n### Phase 0 — Context Load (silent, no user interaction)\n\nBefore designing anything:\n\n1. Read `CLAUDE.md` to understand conventions and the `{ data, error }` return shape contract.\n2. Invoke `Skill(\"manage-memory\", args: \"sqa-engineer\")` to load prior knowledge about test patterns and recurring gaps in this codebase.\n3. Read every public interface and method on the component under test — understand what each one promises.\n4. If a requirements document or acceptance criteria were provided, read them fully. Map each AC to the method(s) that implement it.\n5. If a surviving mutant report from `dotnet stryker` was provided, read it — each mutant is a gap in the existing test suite.\n6. Locate the existing test projects with Glob. Read a sample of existing tests to understand naming conventions and fixture patterns.\n\n---\n\n### Phase 1 — Coverage Analysis\n\nAnalyze the component and identify every dimension that needs test coverage:\n\n#### 1.1 Method inventory\n\nFor each public method or boundary operation, enumerate:\n\n| Method | Happy path | Error paths | Edge cases | AC covered |\n|--------|-----------|-------------|------------|------------|\n| `MethodA` | valid inputs → expected result | dep throws, dep returns error | empty collection, null optional | AC-1, AC-3 |\n| `MethodB` | ... | ... | ... | AC-2 |\n\nFill this table completely before moving on. A method with no row is untested by design — that is a decision, not an accident.\n\n#### 1.2 Test type assignment\n\nFor each method, decide the test type:\n\n- **Unit test**: component is isolated with injected test doubles; no I\u002FO, no pipeline\n- **Integration test**: component is exercised inside the real DI container or middleware pipeline; use only when behavior cannot be verified without the surrounding infrastructure\n\nJustify every integration test — they are slower and harder to maintain. Default to unit tests.\n\n#### 1.3 Mutant gap analysis\n\nIf a surviving mutant report is provided, map each mutant to a missing test case:\n\n- State the mutant (e.g., \"changed `>` to `>=` on line 42\")\n- State the test case that would kill it (e.g., \"input equal to the boundary value must return error\")\n- Add that test case to the relevant method row\n\n---\n\n### Phase 2 — Test Case Specification\n\nFor each row in the method inventory, write a formal test case specification:\n\n```\n## \u003CMethodName>\n\n### TC-01: \u003CStateUnderTest> → \u003CExpectedBehavior>\n- Type: Unit | Integration\n- Arrange: \u003Cwhat to set up — inputs, mock behavior, initial state>\n- Act: \u003Cwhat to call>\n- Assert:\n  - data: \u003Cexpected value or null>\n  - error: \u003Cexpected error shape or null>\n  - \u003Cany side-effect assertions: logger called, dependency invoked N times, etc.>\n- AC: \u003CAC-N if applicable, or \"coverage gap\" if not tied to an AC>\n\n### TC-02: ...\n```\n\nRules for specifications:\n\n- Every method must have at least one TC for the happy path and one for the primary error path\n- Every AC must be covered by at least one TC — mark it explicitly\n- Edge cases must be specified as separate TCs, not lumped into the happy path\n- `{ data, error }` assertions must appear in every TC — assert both fields, never just one\n- Do not write C# code here — this is a specification, not an implementation\n\n---\n\n### Phase 3 — Test Plan Output\n\nProduce the complete **Test Plan** and present it to the user:\n\n```\n# Test Plan: \u003CComponent Name>\n\n## Scope\n- Component under test: \u003CClassName \u002F IInterfaceName>\n- File: \u003Cpath\u002Fto\u002Ffile.cs>\n- Test project: \u003Cpath\u002Fto\u002Ftest\u002Fproject>\n\n## AC Traceability\n\n| AC | Test Cases |\n|----|------------|\n| AC-1 | TC-01, TC-04 |\n| AC-2 | TC-02 |\n| (gap) | TC-03 — no AC; covers \u003Cedge case> |\n\n## Test Cases\n\n\u003Cfull TC specifications from Phase 2>\n\n## Fixture Requirements\n\n- Test doubles needed: \u003Clist interfaces that need mocking>\n- Integration test infrastructure: \u003Cin-memory host, WebApplicationFactory, etc. — only if integration tests are planned>\n- Shared setup: \u003Canything that belongs in a constructor or [ClassFixture]>\n\n## Implementation Notes for write-tests\n\n- Naming convention observed in existing tests: \u003Cpattern>\n- Test double library in use: \u003CNSubstitute \u002F hand-rolled \u002F etc.>\n- Any tricky setup the implementer should know about\n```\n\nAfter presenting the plan, ask the user to confirm or request changes. Do not hand off to `write-tests` until the plan is confirmed.\n\n---\n\n## Quality Gate\n\nDo not present the test plan until:\n\n- [ ] Every public method on the component has at least one TC\n- [ ] Every AC has at least one TC with explicit traceability\n- [ ] Every surviving mutant (if provided) maps to a new TC\n- [ ] Every TC specifies assertions for both `data` and `error` fields\n- [ ] Test type (unit vs. integration) is stated and justified for every TC\n- [ ] No C# code appears in the plan — this is specification only\n\n## Output\n\nReturn the complete Test Plan from Phase 3, preceded by a one-line summary:\n\n> **Test Plan for**: [component name] — [one sentence on scope and test strategy]\n","You are executing the `design-test-cases` skill on behalf of the sqa-engineer agent. Your job is to produce a complete, grounded test plan artifact. The output of this skill is a test plan — not test code. Code is written by the `write-tests` skill.\n\n## Input\n\nThe calling agent will pass one of:\n- A component or feature implementation to design tests for\n- A requirements document or acceptance criteria\n- A surviving mutant report from `dotnet stryker`\n- Any combination of the above\n\n## Process\n\n### Phase 0 — Context Load (silent, no user interaction)\n\nBefore designing anything:\n\n1. Read `CLAUDE.md` to understand conventions and the `{ data, error }` return shape contract.\n2. Invoke `Skill(\"manage-memory\", args: \"sqa-engineer\")` to load prior knowledge about test patterns and recurring gaps in this codebase.\n3. Read every public interface and method on the component under test — understand what each one promises.\n4. If a requirements document or acceptance criteria were provided, read them fully. Map each AC to the method(s) that implement it.\n5. If a surviving mutant report from `dotnet stryker` was provided, read it — each mutant is a gap in the existing test suite.\n6. Locate the existing test projects with Glob. Read a sample of existing tests to understand naming conventions and fixture patterns.\n\n---\n\n### Phase 1 — Coverage Analysis\n\nAnalyze the component and identify every dimension that needs test coverage:\n\n#### 1.1 Method inventory\n\nFor each public method or boundary operation, enumerate:\n\n| Method | Happy path | Error paths | Edge cases | AC covered |\n|--------|-----------|-------------|------------|------------|\n| `MethodA` | valid inputs → expected result | dep throws, dep returns error | empty collection, null optional | AC-1, AC-3 |\n| `MethodB` | ... | ... | ... | AC-2 |\n\nFill this table completely before moving on. A method with no row is untested by design — that is a decision, not an accident.\n\n#### 1.2 Test type assignment\n\nFor each method, decide the test type:\n\n- **Unit test**: component is isolated with injected test doubles; no I\u002FO, no pipeline\n- **Integration test**: component is exercised inside the real DI container or middleware pipeline; use only when behavior cannot be verified without the surrounding infrastructure\n\nJustify every integration test — they are slower and harder to maintain. Default to unit tests.\n\n#### 1.3 Mutant gap analysis\n\nIf a surviving mutant report is provided, map each mutant to a missing test case:\n\n- State the mutant (e.g., \"changed `>` to `>=` on line 42\")\n- State the test case that would kill it (e.g., \"input equal to the boundary value must return error\")\n- Add that test case to the relevant method row\n\n---\n\n### Phase 2 — Test Case Specification\n\nFor each row in the method inventory, write a formal test case specification:\n\n```\n## \u003CMethodName>\n\n### TC-01: \u003CStateUnderTest> → \u003CExpectedBehavior>\n- Type: Unit | Integration\n- Arrange: \u003Cwhat to set up — inputs, mock behavior, initial state>\n- Act: \u003Cwhat to call>\n- Assert:\n  - data: \u003Cexpected value or null>\n  - error: \u003Cexpected error shape or null>\n  - \u003Cany side-effect assertions: logger called, dependency invoked N times, etc.>\n- AC: \u003CAC-N if applicable, or \"coverage gap\" if not tied to an AC>\n\n### TC-02: ...\n```\n\nRules for specifications:\n\n- Every method must have at least one TC for the happy path and one for the primary error path\n- Every AC must be covered by at least one TC — mark it explicitly\n- Edge cases must be specified as separate TCs, not lumped into the happy path\n- `{ data, error }` assertions must appear in every TC — assert both fields, never just one\n- Do not write C# code here — this is a specification, not an implementation\n\n---\n\n### Phase 3 — Test Plan Output\n\nProduce the complete **Test Plan** and present it to the user:\n\n```\n# Test Plan: \u003CComponent Name>\n\n## Scope\n- Component under test: \u003CClassName \u002F IInterfaceName>\n- File: \u003Cpath\u002Fto\u002Ffile.cs>\n- Test project: \u003Cpath\u002Fto\u002Ftest\u002Fproject>\n\n## AC Traceability\n\n| AC | Test Cases |\n|----|------------|\n| AC-1 | TC-01, TC-04 |\n| AC-2 | TC-02 |\n| (gap) | TC-03 — no AC; covers \u003Cedge case> |\n\n## Test Cases\n\n\u003Cfull TC specifications from Phase 2>\n\n## Fixture Requirements\n\n- Test doubles needed: \u003Clist interfaces that need mocking>\n- Integration test infrastructure: \u003Cin-memory host, WebApplicationFactory, etc. — only if integration tests are planned>\n- Shared setup: \u003Canything that belongs in a constructor or [ClassFixture]>\n\n## Implementation Notes for write-tests\n\n- Naming convention observed in existing tests: \u003Cpattern>\n- Test double library in use: \u003CNSubstitute \u002F hand-rolled \u002F etc.>\n- Any tricky setup the implementer should know about\n```\n\nAfter presenting the plan, ask the user to confirm or request changes. Do not hand off to `write-tests` until the plan is confirmed.\n\n---\n\n## Quality Gate\n\nDo not present the test plan until:\n\n- [ ] Every public method on the component has at least one TC\n- [ ] Every AC has at least one TC with explicit traceability\n- [ ] Every surviving mutant (if provided) maps to a new TC\n- [ ] Every TC specifies assertions for both `data` and `error` fields\n- [ ] Test type (unit vs. integration) is stated and justified for every TC\n- [ ] No C# code appears in the plan — this is specification only\n\n## Output\n\nReturn the complete Test Plan from Phase 3, preceded by a one-line summary:\n\n> **Test Plan for**: [component name] — [one sentence on scope and test strategy]\n",{"name":5,"model":44,"tools":45,"description":7},"claude-opus-4-7","Read, Grep, Glob, TodoWrite","main","00b2c68281930728ee390bb16cec32b88d2caac7",".github\u002Fskills\u002Fdesign-test-cases","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine","https:\u002F\u002Fgithub.com\u002Frafsanulhasan","\r\n    MCSD || A-CSD || Software Architect\r\n\r\n","2026-06-06 07:47:06",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add rafsanulhasan\u002FHypermediaEngine --skill design-test-cases",{"tool":59,"command":60},"bunx","bunx skills add rafsanulhasan\u002FHypermediaEngine --skill design-test-cases",{"tool":62,"command":63},"pnpm","pnpm dlx skills add rafsanulhasan\u002FHypermediaEngine --skill design-test-cases","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdesign-test-cases\u002FSKILL.md",true,[],[68,86,106,125,148,168],{"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":39},"01M6KWEJD606FG3DBBRM0W4DKW","write-tests","Test implementation skill for HypermediaEngine. Takes a confirmed test plan from design-test-cases and produces compilable, runnable xUnit tests following project conventions. Validates coverage quality through mutation testing. Invoked by the sqa-engineer agent after the test plan is approved.","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[],[75,33,29,76,22,19,77,38,78,35,79,80,34,81,82,23,83,84,85,25],"write tests","testing","project conventions","Bash","quality","xunit","edit","coverage","mutation testing","project","mutation",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":39},"01M6KWEF2XQ00C1Y6QCK7YHZ1H","write-documentation","Structured documentation writing workflow for HypermediaEngine. Writes or updates README.md files at the repo root and in each project directory (src\u002F, tests\u002F, samples\u002F, etc.) based on current implementation, ADRs, and architecture decisions.","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fwrite-documentation\u002FSKILL.md",[],[93,33,94,95,96,97,98,78,99,100,101,102,34,81,103,84,29,104,105,25],"documentation","write documentation","writing","directory","workflow","architecture","src","repo","decisions","README","files","updates","at",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6KWEBDXTXAVPQ3BHS3YYYNT","write-adr","Writes a numbered Architecture Decision Record (ADR) for a significant architectural choice in the HypermediaEngine project. Invoked by the software-architect agent whenever a consequential design decision is made or ratified. Saves the ADR to docs\u002Farchitecture\u002Fdecisions\u002F.","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fwrite-adr\u002FSKILL.md",[],[113,33,114,22,115,98,116,117,118,119,101,34,120,121,84,122,123,25,124],"adr","write adr","docs","architect","decision","choice","grep","architecture decision record","record","software","opus","architecture decision",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":39},"01M6KWE76TM3QHGQ08PEB3KY6D","tunit-playwright-ui-testing","Comprehensive guidance for writing coded end-to-end UI tests in C# using TUnit.Playwright. Tests inherit from PageTest — the base class manages all browser lifecycle. Covers NuGet setup, PageTest inheritance, Page Object Model, browser configuration, parallelism limiting, and CI integration. Based on the official TUnit docs at https:\u002F\u002Ftunit.dev\u002Fdocs\u002Fexamples\u002Fplaywright.","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftunit-playwright-ui-testing\u002FSKILL.md",[],[76,132,133,134,135,136,137,95,138,139,140,141,142,143,144,145,29,146,147,25],"playwright","ui","playwright ui testing","ui testing","tunit","tunit playwright ui testing","official","dev","examples","ci","lifecycle","model","page","inheritance","end","object",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":39},"01M6KWE44A738GDK65QS02XJBG","triage","Task classification, decomposition, dependency mapping, and routing skill. Invoked by the triage-agent to break any user request into discrete, independently-routable work items with assigned priorities and agent chains.","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftriage\u002FSKILL.md",[],[150,155,156,157,158,159,160,161,162,163,164,165,166,167],"routing","classification","work","user","dependency","task","priorities","decomposition","user request","mapping","with","break","request",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":39},"01M6KWDZ3W9ZKPR7FTTTSX8H2K","system-design","Expert system design skill. Use PROACTIVELY to design systems, review architectures, and assist software engineers in learning design principles and implementing them in the code with design patterns.","https:\u002F\u002Fgithub.com\u002Frafsanulhasan\u002FHypermediaEngine\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsystem-design\u002FSKILL.md",[],[22,175,176,177,178,179,180,119,34,181,182,183,184,185,186,122,187,188,165,189],"system","system design","web","design systems","learning","haiku","use","design patterns","design principles","expert","patterns","systems","architectures","principles","implementing"]