[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X7M4WDBHKMZAMGTYPY4P08":3,"skill-same:01M6X7M4WDBHKMZAMGTYPY4P08":82},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":6,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":81},"01M6X7M4WDBHKMZAMGTYPY4P08","test-generator",null,"Auto-generate Vitest unit tests and Playwright e2e tests from product spec acceptance criteria using TDD. Use when writing tests before implementation, generating test stubs from acceptance criteria, enforcing TDD red-green workflow, evaluating test quality for brittleness or looseness, or gating features on code coverage thresholds.","Cheggin\u002Frequest-for-startups","Cheggin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F79483996?v=4","01M6X6MGT5512GJHE8DY5B1ZQJ","Reagan Hsu","01M6X6MGY03X7ZJNVRFM3R1040",1,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Ftest-generator\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"test","generator","test generator","coverage","when","gating","playwright e2e tests","unit","sprint","green","auto","writing","pipeline","ci","product","acceptance","code","generate","e2e tests","workflow","2026-11-10 10:12:30",false,"---\nname: test-generator\ndescription: Auto-generate Vitest unit tests and Playwright e2e tests from product spec acceptance criteria using TDD. Use when writing tests before implementation, generating test stubs from acceptance criteria, enforcing TDD red-green workflow, evaluating test quality for brittleness or looseness, or gating features on code coverage thresholds.\nuser-invocable: true\ngroup: build\nprerequisites: [sprint-contracts]\nnext: [verify, ultraqa, ci-cd-pipeline]\nworkflows: [ship-feature, full-startup]\n---\n\n# Test Generator\n\n## Criteria Extraction\n\n1. Parse the product spec or feature checklist to extract testable acceptance criteria.\n2. Classify each criterion as unit-testable (logic, data transforms, validation) or e2e-testable (user flows, page interactions, navigation).\n\n## Test Generation\n\n1. For unit criteria, generate Vitest test files with descriptive names derived from the acceptance criteria text.\n2. For e2e criteria, generate Playwright test files covering happy path and key error paths.\n3. Generate mock fixtures and test doubles for external dependencies (APIs, databases, third-party services).\n\n## TDD Enforcement\n\n1. Verify all generated tests fail before implementation begins (red phase). Block implementation if any test already passes.\n2. Hand off to the coding agent for implementation until all tests pass (green phase).\n\n## Test Quality Evaluation\n\n- **Brittle tests**: Flag tests asserting on DOM structure, exact string matches, or timing-dependent values.\n- **Loose tests**: Flag tests checking only truthy values, lacking meaningful assertions, or missing edge case coverage.\n\n## Coverage and Reporting\n\n1. Measure code coverage (line, branch, function); compare against thresholds in `stacks.yml`.\n2. Block feature completion if coverage drops below the configured minimum.\n3. Generate a test report: pass\u002Ffail\u002Fskip counts with links to originating acceptance criteria.\n4. Update the feature checklist to auto-check items when corresponding tests pass.\n","# Test Generator\n\n## Criteria Extraction\n\n1. Parse the product spec or feature checklist to extract testable acceptance criteria.\n2. Classify each criterion as unit-testable (logic, data transforms, validation) or e2e-testable (user flows, page interactions, navigation).\n\n## Test Generation\n\n1. For unit criteria, generate Vitest test files with descriptive names derived from the acceptance criteria text.\n2. For e2e criteria, generate Playwright test files covering happy path and key error paths.\n3. Generate mock fixtures and test doubles for external dependencies (APIs, databases, third-party services).\n\n## TDD Enforcement\n\n1. Verify all generated tests fail before implementation begins (red phase). Block implementation if any test already passes.\n2. Hand off to the coding agent for implementation until all tests pass (green phase).\n\n## Test Quality Evaluation\n\n- **Brittle tests**: Flag tests asserting on DOM structure, exact string matches, or timing-dependent values.\n- **Loose tests**: Flag tests checking only truthy values, lacking meaningful assertions, or missing edge case coverage.\n\n## Coverage and Reporting\n\n1. Measure code coverage (line, branch, function); compare against thresholds in `stacks.yml`.\n2. Block feature completion if coverage drops below the configured minimum.\n3. Generate a test report: pass\u002Ffail\u002Fskip counts with links to originating acceptance criteria.\n4. Update the feature checklist to auto-check items when corresponding tests pass.\n",{"name":5,"next":49,"group":53,"workflows":54,"description":7,"prerequisites":57,"user-invocable":59},[50,51,52],"verify","ultraqa","ci-cd-pipeline","build",[55,56],"ship-feature","full-startup",[58],"sprint-contracts",true,"main","92dddf7f6e7b55d1424795ce11586b05dba9d8c8","skills\u002Ftest-generator",3,"https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups","https:\u002F\u002Fgithub.com\u002FCheggin","reaganhsu.com","MTS @datacurve-ai, prev. founding eng @browser-use ","2026-04-24 08:33:47",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":59},[71,74,77],{"tool":72,"command":73},"npx","npx skills add Cheggin\u002Frequest-for-startups --skill test-generator",{"tool":75,"command":76},"bunx","bunx skills add Cheggin\u002Frequest-for-startups --skill test-generator",{"tool":78,"command":79},"pnpm","pnpm dlx skills add Cheggin\u002Frequest-for-startups --skill test-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Ftest-generator\u002FSKILL.md",[],[83,107,127,166,181,201],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":44},"01M6X7PHK069RZH25A3RXN5049","writer-memory","Agentic memory system for writers - track characters, relationships, scenes, and themes","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fwriter-memory\u002FSKILL.md",[],[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106],"memory","writer","writer memory","system","characters","track","for","themes","memory system","scenes","relationships","query","export","status","validate","init","agentic",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":44},"01M6X7PC3G9228Z323X5YAKTVW","wiki","LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fwiki\u002FSKILL.md",[],[109,114,115,116,117,118,119,120,121,122,123,124,125,101,126],"wiki lint","knowledge","model","llm wiki","markdown","wiki query","knowledge base","lint","sessions","karpathy","add","across","base",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":147,"publishedAt":44},"01M6X7P5XFW5C16H3JE4NFQ7MF","website-creation","Build production-quality SaaS websites with opinionated design presets. Use when creating any startup website. The user MUST pick a design style before building. Enforces shadcn\u002Fui, Figma design principles, specific CSS values per style, and anti-AI-writing. Load alongside anti-ai-writing skill. LIGHT MODE ONLY.","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-creation\u002FSKILL.md",[133,136,139,144],{"categoryNo":134,"categoryName":135,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":140,"categoryName":141,"taxonomyType":142,"taxonomyTypeDesc":143},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",{"categoryNo":145,"categoryName":146,"taxonomyType":142,"taxonomyTypeDesc":143},"01JBSEEDCAT000000000000036","内容创作者",[148,149,150,28,151,152,153,154,155,35,156,157,158,159,160,161,162,163,164,165],"website creation","website","creation","design style","mode","brand-guidelines","full","ui","design principles","only","pick","polish","audit","shadcn","figma","css","Anti-AI","design",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":44},"01M6X7P3PCEAKA2SBETXHHTNBA","visual-verdict","Structured visual QA verdict for screenshot-to-reference comparisons","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[],[173,174,175,96,176,177,178,179,180],"visual verdict","verdict","visual","visual qa","structured","reference","screenshot","qa",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":193,"publishedAt":44},"01M6X7NXEWWC4NFT0ZK1RRSGES","visual-qa-pipeline","Screenshot every page with Playwright, feed to visual QA agent for design evaluation, report results to Slack. Use after every build phase to verify UI matches the chosen design preset. Integrates with the Playwright skill and the website-creation preset system.","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-qa-pipeline\u002FSKILL.md",[187,190,191,192],{"categoryNo":188,"categoryName":189,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000005","邮件与沟通",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":140,"categoryName":141,"taxonomyType":142,"taxonomyTypeDesc":143},[175,36,176,180,194,195,129,150,154,196,159,197,155,149,179,96,198,165,199,200],"visual qa pipeline","slack","page","Evaluation","review","verify ui","phase",{"skillNo":202,"name":50,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":44},"01M6X7NSNW00RQ8J531F52YHV9","Verify that a change really works before you claim completion","https:\u002F\u002Fgithub.com\u002FCheggin\u002Frequest-for-startups\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[50,207,208,209,210,211,36,212,213],"deploy-pipeline","true","you","claim","quality","deploy","change"]