[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FWXCF0B20BD1Y4TFBESC3T":3,"skill-same:01M6FWXCF0B20BD1Y4TFBESC3T":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6FWXCF0B20BD1Y4TFBESC3T","test-gen",null,"Generate unit tests from source files using AI. Use when adding test coverage.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flxgicstudios\u002Ftest-gen\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32],"test","test gen","unit tests","generate","coverage","use","test coverage","files","tests","unit","2026-11-10 10:12:30",false,"---\nname: test-gen\ndescription: Generate unit tests from source files using AI. Use when adding test coverage.\n---\n\n# Test Gen\n\nYour code has 12% test coverage and your manager is asking questions. This tool generates unit tests from your source files. Covers happy paths, edge cases, error conditions. Tests that actually test something, not just exist for coverage numbers.\n\n**One command. Zero config. Just works.**\n\n## Quick Start\n\n```bash\nnpx ai-test-gen .\u002Fsrc\u002Futils.ts\n```\n\n## What It Does\n\n- Generates unit tests for your functions and classes\n- Covers happy path, edge cases, and error conditions\n- Creates tests for Jest, Vitest, or Mocha\n- Mocks dependencies automatically\n- Includes meaningful assertions, not just \"expect(true).toBe(true)\"\n\n## Usage Examples\n\n```bash\n# Generate tests for a single file\nnpx ai-test-gen .\u002Fsrc\u002Fauth.ts\n\n# Generate for all files in a directory\nnpx ai-test-gen .\u002Fsrc\u002Fservices\u002F\n\n# Specify test framework\nnpx ai-test-gen .\u002Fsrc\u002Futils.ts --framework vitest\n\n# Output to a specific location\nnpx ai-test-gen .\u002Fsrc\u002Fparser.ts --output .\u002Ftests\u002Fparser.test.ts\n```\n\n## Best Practices\n\n- **Review generated tests** - AI tests are a starting point, not a finish line\n- **Run them immediately** - Catch issues while context is fresh\n- **Add your own edge cases** - You know your domain better than AI\n- **Don't trust coverage alone** - Good tests test behavior, not lines\n\n## When to Use This\n\n- Inheriting a codebase with no tests\n- Adding tests to a new feature quickly\n- Hitting a coverage target for CI\n- Learning what good tests look like for your code\n\n## Part of the LXGIC Dev Toolkit\n\nThis is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.\n\n**Find more:**\n- GitHub: https:\u002F\u002Fgithub.com\u002FLXGIC-Studios\n- Twitter: https:\u002F\u002Fx.com\u002Flxgicstudios\n- Substack: https:\u002F\u002Flxgicstudios.substack.com\n- Website: https:\u002F\u002Flxgicstudios.com\n\n## Requirements\n\nNo install needed. Just run with npx. Node.js 18+ recommended.\n\n```bash\nnpx ai-test-gen --help\n```\n\n## How It Works\n\nThe tool parses your source file, identifies testable units (functions, classes, methods), analyzes their signatures and implementations, then generates test cases that cover normal operation, edge cases, and error handling.\n\n## License\n\nMIT. Free forever. Use it however you want.\n\n---\n\n**Built by LXGIC Studios**\n\n- GitHub: [github.com\u002Flxgicstudios\u002Ftest-gen](https:\u002F\u002Fgithub.com\u002Flxgicstudios\u002Ftest-gen)\n- Twitter: [@lxgicstudios](https:\u002F\u002Fx.com\u002Flxgicstudios)\n","# Test Gen\n\nYour code has 12% test coverage and your manager is asking questions. This tool generates unit tests from your source files. Covers happy paths, edge cases, error conditions. Tests that actually test something, not just exist for coverage numbers.\n\n**One command. Zero config. Just works.**\n\n## Quick Start\n\n```bash\nnpx ai-test-gen .\u002Fsrc\u002Futils.ts\n```\n\n## What It Does\n\n- Generates unit tests for your functions and classes\n- Covers happy path, edge cases, and error conditions\n- Creates tests for Jest, Vitest, or Mocha\n- Mocks dependencies automatically\n- Includes meaningful assertions, not just \"expect(true).toBe(true)\"\n\n## Usage Examples\n\n```bash\n# Generate tests for a single file\nnpx ai-test-gen .\u002Fsrc\u002Fauth.ts\n\n# Generate for all files in a directory\nnpx ai-test-gen .\u002Fsrc\u002Fservices\u002F\n\n# Specify test framework\nnpx ai-test-gen .\u002Fsrc\u002Futils.ts --framework vitest\n\n# Output to a specific location\nnpx ai-test-gen .\u002Fsrc\u002Fparser.ts --output .\u002Ftests\u002Fparser.test.ts\n```\n\n## Best Practices\n\n- **Review generated tests** - AI tests are a starting point, not a finish line\n- **Run them immediately** - Catch issues while context is fresh\n- **Add your own edge cases** - You know your domain better than AI\n- **Don't trust coverage alone** - Good tests test behavior, not lines\n\n## When to Use This\n\n- Inheriting a codebase with no tests\n- Adding tests to a new feature quickly\n- Hitting a coverage target for CI\n- Learning what good tests look like for your code\n\n## Part of the LXGIC Dev Toolkit\n\nThis is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.\n\n**Find more:**\n- GitHub: https:\u002F\u002Fgithub.com\u002FLXGIC-Studios\n- Twitter: https:\u002F\u002Fx.com\u002Flxgicstudios\n- Substack: https:\u002F\u002Flxgicstudios.substack.com\n- Website: https:\u002F\u002Flxgicstudios.com\n\n## Requirements\n\nNo install needed. Just run with npx. Node.js 18+ recommended.\n\n```bash\nnpx ai-test-gen --help\n```\n\n## How It Works\n\nThe tool parses your source file, identifies testable units (functions, classes, methods), analyzes their signatures and implementations, then generates test cases that cover normal operation, edge cases, and error handling.\n\n## License\n\nMIT. Free forever. Use it however you want.\n\n---\n\n**Built by LXGIC Studios**\n\n- GitHub: [github.com\u002Flxgicstudios\u002Ftest-gen](https:\u002F\u002Fgithub.com\u002Flxgicstudios\u002Ftest-gen)\n- Twitter: [@lxgicstudios](https:\u002F\u002Fx.com\u002Flxgicstudios)\n",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Flxgicstudios\u002Ftest-gen",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add kbarbel640-del\u002Fskills --skill test-gen",{"tool":51,"command":52},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill test-gen",{"tool":54,"command":55},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill test-gen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flxgicstudios\u002Ftest-gen\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"_meta.json","REFERENCE","参考文档",463,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flxgicstudios\u002Ftest-gen\u002F_meta.json",[66,97,123,144,150,170],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":77,"publishedAt":33},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[72],{"categoryNo":73,"categoryName":74,"taxonomyType":75,"taxonomyTypeDesc":76},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":106,"publishedAt":33},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[103],{"categoryNo":104,"categoryName":105,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[107,80,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,85,28],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":132,"publishedAt":33},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[129],{"categoryNo":130,"categoryName":131,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",[133,134,135,136,137,138,139,81,140,121,28,141,80,142,143],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":145,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":149,"publishedAt":33},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[148],{"categoryNo":130,"categoryName":131,"taxonomyType":20,"taxonomyTypeDesc":21},[136,135,134,133,143,138,139,81,137,121,28,140,141,80,142],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":33},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[157,158,159,160,161,162,163,164,165,166,167,168,169],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":180,"publishedAt":33},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[176,177],{"categoryNo":104,"categoryName":105,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":178,"categoryName":179,"taxonomyType":75,"taxonomyTypeDesc":76},"01JBSEEDCAT000000000000037","律师与法务",[181,182,183,184,81,185,186,38,187,141,188,189,190,191,192,94,193,194,195],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]