[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2GZ7VFWN9Z6C8064NB4AY":3,"skill-same:01M6C2GZ7VFWN9Z6C8064NB4AY":64},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6C2GZ7VFWN9Z6C8064NB4AY","auto-test-execution",null,"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","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fauto-test-execution\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"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\u002F${CLAUDE_PLUGIN_ROOT}\u002Fdocs\u002Fexecutable-feedback-guide.md - Guide\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\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\u002F${CLAUDE_PLUGIN_ROOT}\u002Fdocs\u002Fexecutable-feedback-guide.md - Guide\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Fdebug-memory.yaml - Memory schema\n- @.aiwg\u002Fresearch\u002Ffindings\u002FREF-013-metagpt.md - Research foundation\n",{"name":5,"namespace":37,"platforms":38,"description":7},"aiwg",[39],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\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":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jmagly\u002Faiwg --skill auto-test-execution",{"tool":56,"command":57},"bunx","bunx skills add jmagly\u002Faiwg --skill auto-test-execution",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill auto-test-execution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fauto-test-execution\u002FSKILL.md",true,[],[65,73,78,105,125,130],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"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":74,"name":67,"nameZh":6,"description":68,"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":72},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\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":32},"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",[],[85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":32},"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",[],[112,113,114,115,116,117,90,118,96,103,98,119,86,120,100,121,122,104,123,124],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":126,"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":127,"categories":128,"keywords":129,"publishedAt":32},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[85,86,87,102,103,104,97,101,93,89,90,91,92,94,95,96,88,98,99,100],{"skillNo":131,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":32},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[112,113,124,123,116,122,121,100,115,117,90,118,96,114,98,119,86,104,103,120]]