[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C10NSP3NJRTQXA2PGN80D9":3,"skill-same:01M6C10NSP3NJRTQXA2PGN80D9":76},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6C10NSP3NJRTQXA2PGN80D9","auto-test-execution","代码生成后自动测试执行","Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern","当代码生成智能体修改源文件时自动执行测试，强制实施'先执行后返回'模式。","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\u002Faddons\u002Fagent-loop\u002Fskills\u002Fauto-test-execution\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],"test","execution","auto test execution","auto","test execution","auto test","code","execute","files","pattern","tests","source","when","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: auto-test-execution\nplatforms: [all]\ndescription: Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern\n---\n\n# auto-test-execution\n\nAutomatically execute tests when code-generating agents write to source files, enforcing the execute-before-return pattern.\n\n## Triggers\n\n\nPrimary phrases matched automatically from skill description. No additional alternate expressions defined.\n\n## Purpose\n\nThis skill enforces the MetaGPT executable feedback pattern: code-generating agents must execute tests before returning results to the user. It activates automatically when agents modify source code files.\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Detect modified files**:\n   - Track which source files the agent has written to\n   - Identify the relevant test framework\n\n2. **Find related tests**:\n   - Look for test files matching the modified source\n   - Convention: `src\u002Ffoo\u002Fbar.ts` -> `test\u002Funit\u002Ffoo\u002Fbar.test.ts`\n   - If no tests exist, prompt agent to generate them\n\n3. **Execute tests**:\n   - Run the project's test command focused on relevant tests\n   - Capture results: passed, failed, errors\n\n4. **Handle results**:\n   - All pass: Allow agent to return results\n   - Failures: Trigger debug-and-retry loop (max 3 attempts)\n   - Persistent failures: Escalate with debug memory context\n\n5. **Update debug memory**:\n   - Record session in `.aiwg\u002Fralph\u002Fdebug-memory\u002Fsessions\u002F`\n   - Extract patterns for future reference\n\n## Activation Conditions\n\n```yaml\nactivation:\n  always_active_for:\n    - software-implementer\n    - debugger\n    - test-engineer\n\n  triggered_by:\n    - file_write:\n        patterns:\n          - \"src\u002F**\u002F*.ts\"\n          - \"src\u002F**\u002F*.js\"\n          - \"src\u002F**\u002F*.py\"\n          - \"**\u002F*.go\"\n          - \"**\u002F*.rs\"\n\n  skip_when:\n    - test_files_only: true\n    - documentation_only: true\n    - configuration_only: true\n```\n\n## Integration\n\nThis skill uses:\n- `project-awareness`: Detect test framework and configuration\n- Debug memory at `.aiwg\u002Fralph\u002Fdebug-memory\u002F` for pattern learning\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fexecutable-feedback.md - Feedback rules\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Fagent-loop\u002Fdocs\u002Fexecutable-feedback-guide.md - Guide\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Fagent-loop\u002Fschemas\u002Fdebug-memory.yaml - Memory schema\n- @.aiwg\u002Fresearch\u002Ffindings\u002FREF-013-metagpt.md - Research foundation\n","# auto-test-execution\n\nAutomatically execute tests when code-generating agents write to source files, enforcing the execute-before-return pattern.\n\n## Triggers\n\n\nPrimary phrases matched automatically from skill description. No additional alternate expressions defined.\n\n## Purpose\n\nThis skill enforces the MetaGPT executable feedback pattern: code-generating agents must execute tests before returning results to the user. It activates automatically when agents modify source code files.\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Detect modified files**:\n   - Track which source files the agent has written to\n   - Identify the relevant test framework\n\n2. **Find related tests**:\n   - Look for test files matching the modified source\n   - Convention: `src\u002Ffoo\u002Fbar.ts` -> `test\u002Funit\u002Ffoo\u002Fbar.test.ts`\n   - If no tests exist, prompt agent to generate them\n\n3. **Execute tests**:\n   - Run the project's test command focused on relevant tests\n   - Capture results: passed, failed, errors\n\n4. **Handle results**:\n   - All pass: Allow agent to return results\n   - Failures: Trigger debug-and-retry loop (max 3 attempts)\n   - Persistent failures: Escalate with debug memory context\n\n5. **Update debug memory**:\n   - Record session in `.aiwg\u002Fralph\u002Fdebug-memory\u002Fsessions\u002F`\n   - Extract patterns for future reference\n\n## Activation Conditions\n\n```yaml\nactivation:\n  always_active_for:\n    - software-implementer\n    - debugger\n    - test-engineer\n\n  triggered_by:\n    - file_write:\n        patterns:\n          - \"src\u002F**\u002F*.ts\"\n          - \"src\u002F**\u002F*.js\"\n          - \"src\u002F**\u002F*.py\"\n          - \"**\u002F*.go\"\n          - \"**\u002F*.rs\"\n\n  skip_when:\n    - test_files_only: true\n    - documentation_only: true\n    - configuration_only: true\n```\n\n## Integration\n\nThis skill uses:\n- `project-awareness`: Detect test framework and configuration\n- Debug memory at `.aiwg\u002Fralph\u002Fdebug-memory\u002F` for pattern learning\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fexecutable-feedback.md - Feedback rules\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Fagent-loop\u002Fdocs\u002Fexecutable-feedback-guide.md - Guide\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Fagent-loop\u002Fschemas\u002Fdebug-memory.yaml - Memory schema\n- @.aiwg\u002Fresearch\u002Ffindings\u002FREF-013-metagpt.md - Research foundation\n",{"name":5,"namespace":49,"platforms":50,"description":7},"aiwg",[51],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Faddons\u002Fagent-loop\u002Fskills\u002Fauto-test-execution",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":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add jmagly\u002Faiwg --skill auto-test-execution",{"tool":68,"command":69},"bunx","bunx skills add jmagly\u002Faiwg --skill auto-test-execution",{"tool":71,"command":72},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill auto-test-execution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Fagent-loop\u002Fskills\u002Fauto-test-execution\u002FSKILL.md",true,[],[77,85,90,117,137,142],{"skillNo":78,"name":79,"nameZh":17,"description":80,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"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":86,"name":79,"nameZh":17,"description":80,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":84},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":44},"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",[],[97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":118,"name":119,"nameZh":17,"description":120,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":44},"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",[],[124,125,126,127,128,129,102,130,108,115,110,131,98,132,112,133,134,116,135,136],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":138,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":44},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[97,98,99,114,115,116,109,113,105,101,102,103,104,106,107,108,100,110,111,112],{"skillNo":143,"name":119,"nameZh":17,"description":120,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":44},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[124,125,136,135,128,134,133,112,127,129,102,130,108,126,110,131,98,116,115,132]]