[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2H7Q15YVJ7ER82N3G582Q":3,"skill-same:01M6C2H7Q15YVJ7ER82N3G582Q":61},{"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":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6C2H7Q15YVJ7ER82N3G582Q","execute-feedback",null,"Execute tests on generated code and iterate until passing","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\u002Fexecute-feedback\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"feedback","execute","execute feedback","code","code-quality","quality","generated","tests","iterate","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: execute-feedback\nplatforms: [all]\ndescription: Execute tests on generated code and iterate until passing\ncommandHint:\n  category: code-quality\n---\n\n# Execute Feedback Command\n\nRun executable feedback loop on generated code: execute tests, analyze failures, fix, and retry.\n\n## Instructions\n\nWhen invoked, perform the executable feedback loop per REF-013 MetaGPT:\n\n1. **Identify Target**\n   - Load the specified file or recently modified code files\n   - Determine test framework (jest, pytest, cargo test, go test, etc.)\n   - Find existing tests or generate test stubs if none exist\n\n2. **Execute Tests**\n   - Run the specified test command (or auto-detect)\n   - Capture full output (stdout, stderr, exit code)\n   - Parse test results: passed, failed, errors, skipped\n\n3. **Analyze Failures**\n   - For each failing test:\n     - Extract error type and message\n     - Identify root cause (null check, type error, logic error, etc.)\n     - Map to source code location\n   - Check debug memory for similar past failures\n\n4. **Apply Fixes**\n   - Generate targeted fix based on root cause analysis\n   - Apply fix to source code\n   - Increment attempt counter\n\n5. **Re-Execute**\n   - Run tests again after fix\n   - Compare results to previous attempt\n   - If all pass: record success in debug memory, return\n   - If still failing: repeat from step 3\n\n6. **Escalate if Needed**\n   - After max attempts (default: 3), escalate to human\n   - Include: all test results, failure analyses, fix attempts\n   - Save debug memory session\n\n7. **Update Debug Memory**\n   - Record execution session in `.aiwg\u002Fralph\u002Fdebug-memory\u002Fsessions\u002F`\n   - Extract learned patterns to `.aiwg\u002Fralph\u002Fdebug-memory\u002Fpatterns\u002F`\n   - Update success metrics\n\n## Arguments\n\n- `[file-path]` - Source file to test (default: recently modified files)\n- `--test-command [cmd]` - Test command to run (default: auto-detect)\n- `--max-attempts [n]` - Maximum fix attempts (default: 3)\n- `--coverage [%]` - Minimum coverage target (default: 80)\n- `--no-fix` - Run tests only, report without fixing\n- `--verbose` - Show full test output\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fexecutable-feedback.md - Executable feedback rules\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fdocs\u002Fexecutable-feedback-guide.md - Implementation guide\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Fdebug-memory.yaml - Debug memory schema\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fflows\u002Fexecutable-feedback.yaml - Workflow schema\n- @.aiwg\u002Fresearch\u002Ffindings\u002FREF-013-metagpt.md - Research foundation\n","# Execute Feedback Command\n\nRun executable feedback loop on generated code: execute tests, analyze failures, fix, and retry.\n\n## Instructions\n\nWhen invoked, perform the executable feedback loop per REF-013 MetaGPT:\n\n1. **Identify Target**\n   - Load the specified file or recently modified code files\n   - Determine test framework (jest, pytest, cargo test, go test, etc.)\n   - Find existing tests or generate test stubs if none exist\n\n2. **Execute Tests**\n   - Run the specified test command (or auto-detect)\n   - Capture full output (stdout, stderr, exit code)\n   - Parse test results: passed, failed, errors, skipped\n\n3. **Analyze Failures**\n   - For each failing test:\n     - Extract error type and message\n     - Identify root cause (null check, type error, logic error, etc.)\n     - Map to source code location\n   - Check debug memory for similar past failures\n\n4. **Apply Fixes**\n   - Generate targeted fix based on root cause analysis\n   - Apply fix to source code\n   - Increment attempt counter\n\n5. **Re-Execute**\n   - Run tests again after fix\n   - Compare results to previous attempt\n   - If all pass: record success in debug memory, return\n   - If still failing: repeat from step 3\n\n6. **Escalate if Needed**\n   - After max attempts (default: 3), escalate to human\n   - Include: all test results, failure analyses, fix attempts\n   - Save debug memory session\n\n7. **Update Debug Memory**\n   - Record execution session in `.aiwg\u002Fralph\u002Fdebug-memory\u002Fsessions\u002F`\n   - Extract learned patterns to `.aiwg\u002Fralph\u002Fdebug-memory\u002Fpatterns\u002F`\n   - Update success metrics\n\n## Arguments\n\n- `[file-path]` - Source file to test (default: recently modified files)\n- `--test-command [cmd]` - Test command to run (default: auto-detect)\n- `--max-attempts [n]` - Maximum fix attempts (default: 3)\n- `--coverage [%]` - Minimum coverage target (default: 80)\n- `--no-fix` - Run tests only, report without fixing\n- `--verbose` - Show full test output\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fexecutable-feedback.md - Executable feedback rules\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fdocs\u002Fexecutable-feedback-guide.md - Implementation guide\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Fdebug-memory.yaml - Debug memory schema\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fflows\u002Fexecutable-feedback.yaml - Workflow schema\n- @.aiwg\u002Fresearch\u002Ffindings\u002FREF-013-metagpt.md - Research foundation\n",{"name":5,"namespace":33,"platforms":34,"commandHint":36,"description":7},"aiwg",[35],"all",{"category":23},"main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fexecute-feedback",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":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add jmagly\u002Faiwg --skill execute-feedback",{"tool":53,"command":54},"bunx","bunx skills add jmagly\u002Faiwg --skill execute-feedback",{"tool":56,"command":57},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill execute-feedback","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fexecute-feedback\u002FSKILL.md",true,[],[62,70,75,102,122,127],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":69},"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":71,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":69},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":28},"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",[],[82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":28},"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",[],[109,110,111,112,113,114,87,115,93,100,95,116,83,117,97,118,119,101,120,121],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":123,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":28},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[82,83,84,99,100,101,94,98,90,86,87,88,89,91,92,93,85,95,96,97],{"skillNo":128,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":28},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[109,110,121,120,113,119,118,97,112,114,87,115,93,111,95,116,83,101,100,117]]