[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D7WVCMJT3R66B6HFP6X9Q1":3,"skill-same:01M6D7WVCMJT3R66B6HFP6X9Q1":66},{"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":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M6D7WVCMJT3R66B6HFP6X9Q1","agent-harness-construction",null,"设计和优化AI代理的动作空间、工具定义和观察格式，以提高完成率。","oabdelmaksoud\u002FSuperClaw","oabdelmaksoud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50699149?v=4","01M6D5CVVN778ZCDP1WHS816SP","Omar Abdelmaksoud","01M6D5CW1RHNSKCJR85GJACBFT",2,"MIT","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fagent-harness-construction\u002FSKILL.md",[],[19,20,21,22],"harness","agent harness","agent harness construction","design","2026-11-10 10:12:30",false,"---\nname: agent-harness-construction\ndescription: 设计和优化AI代理的动作空间、工具定义和观察格式，以提高完成率。\norigin: ECC\n---\n\n# 智能体框架构建\n\n当你在改进智能体的规划、调用工具、从错误中恢复以及收敛到完成状态的方式时，使用此技能。\n\n## 核心模型\n\n智能体输出质量受限于：\n\n1. 行动空间质量\n2. 观察质量\n3. 恢复质量\n4. 上下文预算质量\n\n## 行动空间设计\n\n1. 使用稳定、明确的工具名称。\n2. 保持输入模式优先且范围狭窄。\n3. 返回确定性的输出形状。\n4. 除非无法隔离，否则避免使用全能型工具。\n\n## 粒度规则\n\n* 对高风险操作（部署、迁移、权限）使用微工具。\n* 对常见的编辑\u002F读取\u002F搜索循环使用中等工具。\n* 仅当往返开销是主要成本时使用宏工具。\n\n## 观察设计\n\n每个工具响应都应包括：\n\n* `status`: success|warning|error\n* `summary`: 一行结果\n* `next_actions`: 可执行的后续步骤\n* `artifacts`: 文件路径 \u002F ID\n\n## 错误恢复契约\n\n对于每个错误路径，应包括：\n\n* 根本原因提示\n* 安全重试指令\n* 明确的停止条件\n\n## 上下文预算管理\n\n1. 保持系统提示词最少且不变。\n2. 将大量指导信息移至按需加载的技能中。\n3. 优先引用文件，而不是内联长文档。\n4. 在阶段边界处进行压缩，而不是任意的令牌阈值。\n\n## 架构模式指导\n\n* ReAct：最适合路径不确定的探索性任务。\n* 函数调用：最适合结构化的确定性流程。\n* 混合模式（推荐）：ReAct 规划 + 类型化工具执行。\n\n## 基准测试\n\n跟踪：\n\n* 完成率\n* 每项任务的重试次数\n* pass@1 和 pass@3\n* 每个成功任务的成本\n\n## 反模式\n\n* 太多语义重叠的工具。\n* 不透明的工具输出，没有恢复提示。\n* 仅输出错误而没有后续步骤。\n* 上下文过载，包含不相关的引用。\n","# 智能体框架构建\n\n当你在改进智能体的规划、调用工具、从错误中恢复以及收敛到完成状态的方式时，使用此技能。\n\n## 核心模型\n\n智能体输出质量受限于：\n\n1. 行动空间质量\n2. 观察质量\n3. 恢复质量\n4. 上下文预算质量\n\n## 行动空间设计\n\n1. 使用稳定、明确的工具名称。\n2. 保持输入模式优先且范围狭窄。\n3. 返回确定性的输出形状。\n4. 除非无法隔离，否则避免使用全能型工具。\n\n## 粒度规则\n\n* 对高风险操作（部署、迁移、权限）使用微工具。\n* 对常见的编辑\u002F读取\u002F搜索循环使用中等工具。\n* 仅当往返开销是主要成本时使用宏工具。\n\n## 观察设计\n\n每个工具响应都应包括：\n\n* `status`: success|warning|error\n* `summary`: 一行结果\n* `next_actions`: 可执行的后续步骤\n* `artifacts`: 文件路径 \u002F ID\n\n## 错误恢复契约\n\n对于每个错误路径，应包括：\n\n* 根本原因提示\n* 安全重试指令\n* 明确的停止条件\n\n## 上下文预算管理\n\n1. 保持系统提示词最少且不变。\n2. 将大量指导信息移至按需加载的技能中。\n3. 优先引用文件，而不是内联长文档。\n4. 在阶段边界处进行压缩，而不是任意的令牌阈值。\n\n## 架构模式指导\n\n* ReAct：最适合路径不确定的探索性任务。\n* 函数调用：最适合结构化的确定性流程。\n* 混合模式（推荐）：ReAct 规划 + 类型化工具执行。\n\n## 基准测试\n\n跟踪：\n\n* 完成率\n* 每项任务的重试次数\n* pass@1 和 pass@3\n* 每个成功任务的成本\n\n## 反模式\n\n* 太多语义重叠的工具。\n* 不透明的工具输出，没有恢复提示。\n* 仅输出错误而没有后续步骤。\n* 上下文过载，包含不相关的引用。\n",{"name":5,"origin":28,"description":7},"ECC","main","7b610356e36623652299fa2acb477ff821b1d920","upstream-sync\u002Fwork\u002Fecc\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fagent-harness-construction",0,"https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fo-abdelmaksoud\u002F","Full-Stack Engineer | AI Systems Architect | Building autonomous multi-agent systems","2026-03-08 21:12:53",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add oabdelmaksoud\u002FSuperClaw --skill agent-harness-construction",{"tool":44,"command":45},"bunx","bunx skills add oabdelmaksoud\u002FSuperClaw --skill agent-harness-construction",{"tool":47,"command":48},"pnpm","pnpm dlx skills add oabdelmaksoud\u002FSuperClaw --skill agent-harness-construction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fagent-harness-construction\u002FSKILL.md",true,[52,58,62],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fanti-patterns.md","REFERENCE","参考文档",6213,"https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgh-debug\u002Freferences\u002Fanti-patterns.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fdefense-in-depth.md",2828,"https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgh-debug\u002Freferences\u002Fdefense-in-depth.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Finvestigation-techniques.md",22888,"https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgh-debug\u002Freferences\u002Finvestigation-techniques.md",[67,83,97,117,143,161],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":23},"01M6D88QCPTBZVCRED0NZ1Y8K8","visa-doc-translate","Translate visa application documents (images) to English and create a bilingual PDF with original and translation","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fvisa-doc-translate\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82],"translate","doc","visa doc translate","translation","application","create","images","PDF","documents",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":23},"01M6D88NBM95T3TFM50CYYAP65","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[90,91,92,93,94,95,96],"verification","loop","verification loop","sessions","code","claude code sessions","system",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":23},"01M6D88JFZ2P996GVRHJNSZSTM","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[104,105,106,107,108,109,94,110,111,112,113,114,115,116],"tdd","workflow","tdd workflow","e2e tests","e2e","integration","development","use","test","refactoring","coverage","tests","writing",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":23},"01M6D88FTHRRSVJMXF2G7MQAK3","swiftui-patterns","SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS\u002FmacOS UI best practices.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswiftui-patterns\u002FSKILL.md",[],[124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142],"patterns","swiftui","swiftui patterns","architecture","macos","performance","state management","best practices","state","ui","Optimization","ios","architecture patterns","Composition","performance optimization","view","management","swiftui architecture","navigation",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":23},"01M6D88D527QTQT9DKHTRFN6EA","swift-protocol-di-testing","Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-protocol-di-testing\u002FSKILL.md",[],[150,151,152,153,94,154,155,156,157,96,158,159,160],"swift protocol di testing","protocol","swift","testing","protocols","file","network","injection","dependency","swift testing","dependency injection",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":23},"01M6D88AJW8H2QNWSW5ZY82R43","swift-concurrency-6-2","Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-concurrency-6-2\u002FSKILL.md",[],[168,169,152,170,171,29],"concurrency","swift concurrency","swift concurrency 6 2","default"]