[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MBWEJPY2EQQE2P5EC71WV":3,"skill-same:01M75MBWEJPY2EQQE2P5EC71WV":70},{"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":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M75MBWEJPY2EQQE2P5EC71WV","Test Generator",null,"Creates test plans and test cases (unit, integration, edge cases) based on existing or planned code","Razaib-khan\u002FForgeWeave","Razaib-khan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160170334?v=4","01M75M7QPJVP3N29AZVG6RN6R7","Razaib Khan","01M75M7QQS6KEPD0W2ZB99ENKK",1,"MIT","https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fgemini\u002F.gemini\u002Fskills\u002Ftest-generator\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nskill_id: test-generator\nname: Test Generator\nversion: 1.0.0\ndescription: Creates test plans and test cases (unit, integration, edge cases) based on existing or planned code\nauthor: ForgeWeave Core\ntui_compatibility:\n  - opencode\n  - claude\n  - gemini\n  - qwen\ntags:\n  - testing\n  - quality\n  - coverage\n---\n\n# Test Generator\n\n## Purpose\n\nAnalyze existing or planned code and produce comprehensive test suites. Covers unit tests for individual functions, integration tests for module interactions, and edge case tests for boundary conditions. Detects the project's test framework automatically.\n\n## When to Use\n\n- New code has been written without tests\n- Existing code lacks coverage in critical paths\n- A bug was fixed and a regression test is needed\n- The user explicitly asks for tests\n\n## When Not to Use\n\n- The code is prototype or throwaway\n- The user asked for debugging, not testing\n- The testing strategy needs architectural design first\n\n## Inputs\n\n| Input | Type | Required | Description |\n|---|---|---|---|\n| `target` | string | Yes | File, module, or feature to test |\n| `type` | enum | No (default: all) | unit, integration, edge-case, all |\n| `framework` | string | No | Test framework (auto-detected if omitted) |\n\n## Expected Outputs\n\n| Output | Description |\n|---|---|\n| Test files | New test files following project conventions |\n| Coverage report | What's covered and what's not |\n| Test run command | How to execute the tests |\n\n## Exact Workflow Steps\n\n1. Detect test framework from project config (Jest, Vitest, pytest, etc.)\n2. Read the target code and identify all exported functions, classes, and behaviors\n3. For each function: test happy path, error cases, edge cases (empty input, null, boundaries)\n4. Create test file following existing test conventions (naming, location, patterns)\n5. Mock external dependencies (APIs, databases, file system)\n6. Run tests to confirm they pass\n\n## Required Checks\n\n- [ ] All tests pass\n- [ ] Edge cases are covered (not just happy path)\n- [ ] Mocks are used for external dependencies\n- [ ] Tests are deterministic (no flaky tests)\n\n## Failure Modes\n\n| Failure Condition | Response |\n|---|---|\n| Test framework not detectable | Ask user to specify framework |\n| Tests fail due to code bugs | Report failing tests and suggest fixes |\n| Mock is too complex | Suggest integration test instead of mocked unit test |\n\n## References\n\n| Reference | Path |\n|---|---|\n| Code Builder skill | `..\u002Fcode-builder\u002FSKILL.md` |\n| Debugger skill | `..\u002Fdebugger\u002FSKILL.md` |\n","# Test Generator\n\n## Purpose\n\nAnalyze existing or planned code and produce comprehensive test suites. Covers unit tests for individual functions, integration tests for module interactions, and edge case tests for boundary conditions. Detects the project's test framework automatically.\n\n## When to Use\n\n- New code has been written without tests\n- Existing code lacks coverage in critical paths\n- A bug was fixed and a regression test is needed\n- The user explicitly asks for tests\n\n## When Not to Use\n\n- The code is prototype or throwaway\n- The user asked for debugging, not testing\n- The testing strategy needs architectural design first\n\n## Inputs\n\n| Input | Type | Required | Description |\n|---|---|---|---|\n| `target` | string | Yes | File, module, or feature to test |\n| `type` | enum | No (default: all) | unit, integration, edge-case, all |\n| `framework` | string | No | Test framework (auto-detected if omitted) |\n\n## Expected Outputs\n\n| Output | Description |\n|---|---|\n| Test files | New test files following project conventions |\n| Coverage report | What's covered and what's not |\n| Test run command | How to execute the tests |\n\n## Exact Workflow Steps\n\n1. Detect test framework from project config (Jest, Vitest, pytest, etc.)\n2. Read the target code and identify all exported functions, classes, and behaviors\n3. For each function: test happy path, error cases, edge cases (empty input, null, boundaries)\n4. Create test file following existing test conventions (naming, location, patterns)\n5. Mock external dependencies (APIs, databases, file system)\n6. Run tests to confirm they pass\n\n## Required Checks\n\n- [ ] All tests pass\n- [ ] Edge cases are covered (not just happy path)\n- [ ] Mocks are used for external dependencies\n- [ ] Tests are deterministic (no flaky tests)\n\n## Failure Modes\n\n| Failure Condition | Response |\n|---|---|\n| Test framework not detectable | Ask user to specify framework |\n| Tests fail due to code bugs | Report failing tests and suggest fixes |\n| Mock is too complex | Suggest integration test instead of mocked unit test |\n\n## References\n\n| Reference | Path |\n|---|---|\n| Code Builder skill | `..\u002Fcode-builder\u002FSKILL.md` |\n| Debugger skill | `..\u002Fdebugger\u002FSKILL.md` |\n",{"name":5,"tags":24,"author":28,"version":29,"skill_id":30,"description":7,"tui_compatibility":31},[25,26,27],"testing","quality","coverage","ForgeWeave Core","1.0.0","test-generator",[32,33,34,35],"opencode","claude","gemini","qwen","main","93f2582acd699b8d3917b2b61fdd2178b69f921c","src\u002Fforgeweave\u002Ftemplates\u002Fgemini\u002F.gemini\u002Fskills\u002Ftest-generator",0,"https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave","https:\u002F\u002Fgithub.com\u002FRazaib-khan","Web dev & AI explorer | Building, breaking, learning | Long-term mindset","2026-06-22 22:46:11",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Razaib-khan\u002FForgeWeave --skill \"Test Generator\"",{"tool":50,"command":51},"bunx","bunx skills add Razaib-khan\u002FForgeWeave --skill \"Test Generator\"",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Razaib-khan\u002FForgeWeave --skill \"Test Generator\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fgemini\u002F.gemini\u002Fskills\u002Ftest-generator\u002FSKILL.md",true,[58,64],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Ftesting-guidelines.md","REFERENCE","参考文档",931,"https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fgemini\u002F.gemini\u002Fskills\u002Ftest-generator\u002Freferences\u002Ftesting-guidelines.md",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fdetect_framework.py","SCRIPT","脚本",1752,"https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fgemini\u002F.gemini\u002Fskills\u002Ftest-generator\u002Fscripts\u002Fdetect_framework.py",[71,78,85,92,99,104],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M75MEJ4J1S2ZERWSM5ZBKRTE","Workflow Orchestrator","Coordinates multi-skill execution pipelines (e.g., research → plan → build → test)","https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fqwen\u002F.qwen\u002Fskills\u002Fworkflow-orchestrator\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M75MEEZQ0V89BABKZF5XQ3MW","Web Research","Browser-driven or scraping-based skill for real-time internet extraction using Playwright and HTTP-based fetching","https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fqwen\u002F.qwen\u002Fskills\u002Fweb-research\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M75MECJV3NEN6GY89ZT7NWFA","Validation Engine","Checks outputs from other skills for consistency, correctness, and adherence to AGENTS.md rules","https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fqwen\u002F.qwen\u002Fskills\u002Fvalidation-engine\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M75MEAAXKRA9HJWWQH0MMBGY","Tool Selector","Determines which tools, APIs, MCP actions, or system capabilities are required for a given task","https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fqwen\u002F.qwen\u002Fskills\u002Ftool-selector\u002FSKILL.md",[],[],{"skillNo":100,"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":101,"categories":102,"keywords":103,"publishedAt":19},"01M75ME7JAXQG26T1NEB3VNDM6","https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fqwen\u002F.qwen\u002Fskills\u002Ftest-generator\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M75ME52949X3D8JQSYAWGDRB","Skill Generator","Meta-skill that creates new SKILL.md files from research outputs and patterns discovered in execution","https:\u002F\u002Fgithub.com\u002FRazaib-khan\u002FForgeWeave\u002Fblob\u002Fmain\u002Fsrc\u002Fforgeweave\u002Ftemplates\u002Fqwen\u002F.qwen\u002Fskills\u002Fskill-generator\u002FSKILL.md",[],[]]