[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C28EFBS9QVYZ9HGDMVM2RG":3,"skill-same:01M6C28EFBS9QVYZ9HGDMVM2RG":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":65,"repositoryHtmlUrl":66,"repositoryHomepageUrl":67,"ownerHtmlUrl":68,"ownerBlogUrl":69,"ownerDescription":70,"updatedAt":71,"install":72,"resources":85},"01M6C28EFBS9QVYZ9HGDMVM2RG","generate-tests","测试套件自动生成","Generate comprehensive test suite for $ARGUMENTS following project testing conventions and best practices.","遵循项目测试规范和最佳实践，为 $ARGUMENTS 生成全面的测试套件。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fgenerate-tests\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"generate","tests","generate tests","suite","testing","for","project testing","project","testing conventions","code-analysis","options","test suite","interactive","text","analysis","specify","best practices","code","test generation","test","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: generate-tests\nplatforms: [all]\ndescription: Generate comprehensive test suite for $ARGUMENTS following project testing conventions and best practices.\ncommandHint:\n  argumentHint: 'Specify test generation options [--interactive] [--guidance \"text\"]'\n  category: code-analysis-testing\n---\n\n# Test Generator\n\nGenerate comprehensive test suite for $ARGUMENTS following project testing conventions and best practices.\n\n## Task\n\nI'll analyze the target code and create complete test coverage including:\n\n1. Unit tests for individual functions and methods\n2. Integration tests for component interactions  \n3. Edge case and error handling tests\n4. Mock implementations for external dependencies\n5. Test utilities and helpers as needed\n6. Performance and snapshot tests where appropriate\n\n## Process\n\nI'll follow these steps:\n\n1. Analyze the target file\u002Fcomponent structure\n2. Identify all testable functions, methods, and behaviors\n3. Examine existing test patterns in the project\n4. Create test files following project naming conventions\n5. Implement comprehensive test cases with proper setup\u002Fteardown\n6. Add necessary mocks and test utilities\n7. Verify test coverage and add missing test cases\n\n## Test Types\n\n### Unit Tests\n- Individual function testing with various inputs\n- Component rendering and prop handling\n- State management and lifecycle methods\n- Utility function edge cases and error conditions\n\n### Integration Tests\n- Component interaction testing\n- API integration with mocked responses\n- Service layer integration\n- End-to-end user workflows\n\n### Framework-Specific Tests\n- **React**: Component testing with React Testing Library\n- **Vue**: Component testing with Vue Test Utils\n- **Angular**: Component and service testing with TestBed\n- **Node.js**: API endpoint and middleware testing\n\n## Testing Best Practices\n\n### Test Structure\n- Use descriptive test names that explain the behavior\n- Follow AAA pattern (Arrange, Act, Assert)\n- Group related tests with describe blocks\n- Use proper setup and teardown for test isolation\n\n### Mock Strategy\n- Mock external dependencies and API calls\n- Use factories for test data generation\n- Implement proper cleanup for async operations\n- Mock timers and dates for deterministic tests\n\n### Coverage Goals\n- Aim for 80%+ code coverage\n- Focus on critical business logic paths\n- Test both happy path and error scenarios\n- Include boundary value testing\n\nI'll adapt to your project's testing framework (Jest, Vitest, Cypress, etc.) and follow established patterns.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Examine existing test patterns before generating new tests; match project conventions\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fanti-laziness.md — Never skip test cases or weaken assertions to make coverage targets easier to hit\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fexecutable-feedback.md — Execute generated tests before returning; retry on failure with root cause analysis\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fsecurity-gate\u002FSKILL.md — Security gate may require test evidence before approving a release\n","# Test Generator\n\nGenerate comprehensive test suite for $ARGUMENTS following project testing conventions and best practices.\n\n## Task\n\nI'll analyze the target code and create complete test coverage including:\n\n1. Unit tests for individual functions and methods\n2. Integration tests for component interactions  \n3. Edge case and error handling tests\n4. Mock implementations for external dependencies\n5. Test utilities and helpers as needed\n6. Performance and snapshot tests where appropriate\n\n## Process\n\nI'll follow these steps:\n\n1. Analyze the target file\u002Fcomponent structure\n2. Identify all testable functions, methods, and behaviors\n3. Examine existing test patterns in the project\n4. Create test files following project naming conventions\n5. Implement comprehensive test cases with proper setup\u002Fteardown\n6. Add necessary mocks and test utilities\n7. Verify test coverage and add missing test cases\n\n## Test Types\n\n### Unit Tests\n- Individual function testing with various inputs\n- Component rendering and prop handling\n- State management and lifecycle methods\n- Utility function edge cases and error conditions\n\n### Integration Tests\n- Component interaction testing\n- API integration with mocked responses\n- Service layer integration\n- End-to-end user workflows\n\n### Framework-Specific Tests\n- **React**: Component testing with React Testing Library\n- **Vue**: Component testing with Vue Test Utils\n- **Angular**: Component and service testing with TestBed\n- **Node.js**: API endpoint and middleware testing\n\n## Testing Best Practices\n\n### Test Structure\n- Use descriptive test names that explain the behavior\n- Follow AAA pattern (Arrange, Act, Assert)\n- Group related tests with describe blocks\n- Use proper setup and teardown for test isolation\n\n### Mock Strategy\n- Mock external dependencies and API calls\n- Use factories for test data generation\n- Implement proper cleanup for async operations\n- Mock timers and dates for deterministic tests\n\n### Coverage Goals\n- Aim for 80%+ code coverage\n- Focus on critical business logic paths\n- Test both happy path and error scenarios\n- Include boundary value testing\n\nI'll adapt to your project's testing framework (Jest, Vitest, Cypress, etc.) and follow established patterns.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Examine existing test patterns before generating new tests; match project conventions\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fanti-laziness.md — Never skip test cases or weaken assertions to make coverage targets easier to hit\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fexecutable-feedback.md — Execute generated tests before returning; retry on failure with root cause analysis\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fsecurity-gate\u002FSKILL.md — Security gate may require test evidence before approving a release\n",{"name":5,"namespace":56,"platforms":57,"commandHint":59,"description":7},"aiwg",[58],"all",{"category":60,"argumentHint":61},"code-analysis-testing","Specify test generation options [--interactive] [--guidance \"text\"]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fgenerate-tests",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":73,"prompt":83,"zipAvailable":84},[74,77,80],{"tool":75,"command":76},"npx","npx skills add jmagly\u002Faiwg --skill generate-tests",{"tool":78,"command":79},"bunx","bunx skills add jmagly\u002Faiwg --skill generate-tests",{"tool":81,"command":82},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill generate-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fgenerate-tests\u002FSKILL.md",true,[],[87,95,100,127,146,151],{"skillNo":88,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":96,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":94},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":51},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":128,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":51},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[45,134,135,136,137,138,112,139,118,125,120,140,108,141,122,142,143,126,144,145],"exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":147,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":51},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[107,108,109,124,125,126,119,123,115,111,112,113,114,116,117,118,110,120,121,122],{"skillNo":152,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":51},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[45,134,145,144,137,143,142,122,136,138,112,139,118,135,120,140,108,126,125,141]]