[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BS5HM295AZ6QNFZQNP46N":3,"skill-same:01M69BS5HM295AZ6QNFZQNP46N":70},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":17,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M69BS5HM295AZ6QNFZQNP46N","error-recovery","错误恢复与自适应处理","Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.","适用于所有 squad agent 的标准恢复模式。当出现失败时，要自适应处理——而不是仅仅报告失败。","microsoft\u002Fgithub-vteam-industry-demos","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BGH3MXP66NFFBGHRCSQ5D",3,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fprofessional-services\u002Fai-proposal-factory\u002F.github\u002Fskills\u002Ferror-recovery\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",[31,32,33],"error recovery","squad","report","2026-11-10 10:12:30",false,"---\nname: \"error-recovery\"\ndescription: \"Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.\"\ndomain: \"reliability, agent-coordination\"\nconfidence: \"high\"\nlicense: MIT\n---\n\n# Error Recovery Patterns\n\nStandard recovery patterns for all squad agents. When something fails, **adapt** — don't just report the failure.\n\n---\n\n## 1. Retry with Backoff\n\n**When:** Transient failures — API timeouts, rate limits, network errors, temporary service unavailability.\n\n**Pattern:**\n1. Wait briefly, then retry (start at 2s, double each attempt)\n2. Maximum 3 retries before escalating\n3. Log each attempt with the error received\n\n**Example:** API call returns 429 Too Many Requests → wait 2s → retry → wait 4s → retry → wait 8s → retry → escalate if still failing.\n\n---\n\n## 2. Fallback Alternatives\n\n**When:** Primary tool or approach fails and an alternative exists.\n\n**Pattern:**\n1. Attempt primary approach\n2. On failure, identify alternative tool\u002Fmethod\n3. Try the alternative with the same intent\n4. Document which alternative was used and why\n\n**Example:** Primary CLI tool fails → fall back to direct API call for the same operation.\n\n---\n\n## 3. Diagnose-and-Fix\n\n**When:** Build failures, test failures, linting errors — structured errors with actionable output.\n\n**Pattern:**\n1. Read the full error output carefully\n2. Identify the root cause from error messages\n3. Attempt a targeted fix\n4. Re-run to verify the fix\n5. Maximum 3 fix-retry cycles before escalating\n\n**Example:** Build fails with a type error → check for missing import → add it → rebuild.\n\n---\n\n## 4. Escalate with Context\n\n**When:** Recovery attempts have been exhausted, or the failure requires human judgment.\n\n**Pattern:**\n1. Summarize what was attempted and what failed\n2. Include the exact error messages\n3. State what you believe the root cause is\n4. Suggest next steps or who might be able to help\n5. Hand off to the coordinator or the appropriate specialist\n\n**Example:** After 3 failed build attempts → \"Build fails on line 42 with null reference. Tried X, Y, Z. Likely a design issue in the Foo module. Recommend the code owner review.\"\n\n---\n\n## 5. Graceful Degradation\n\n**When:** A non-critical step fails but the overall task can still deliver value.\n\n**Pattern:**\n1. Determine if the failed step is critical to the task outcome\n2. If non-critical, log the failure and continue\n3. Deliver partial results with a clear note of what was skipped\n4. Offer to retry the skipped step separately\n\n**Example:** Generating a report with 5 sections — section 3 data source is unavailable → produce the report with 4 sections, note that section 3 was skipped and why.\n\n---\n\n## Applying These Patterns\n\nEach agent should reference these patterns in their charter's `## Error Recovery` section, tailored to their domain. The charter should list the agent's most common failure modes and map each to the appropriate pattern above.\n\n**Selection guide:**\n\n| Failure Type | Primary Pattern | Fallback Pattern |\n|---|---|---|\n| Network\u002FAPI transient | Retry with Backoff | Escalate with Context |\n| Tool\u002Fdependency missing | Fallback Alternatives | Escalate with Context |\n| Build\u002Ftest error | Diagnose-and-Fix | Escalate with Context |\n| Auth\u002Fpermissions | Retry with Backoff | Escalate with Context |\n| Non-critical data missing | Graceful Degradation | — |\n| Unknown\u002Fnovel error | Escalate with Context | — |\n","# Error Recovery Patterns\n\nStandard recovery patterns for all squad agents. When something fails, **adapt** — don't just report the failure.\n\n---\n\n## 1. Retry with Backoff\n\n**When:** Transient failures — API timeouts, rate limits, network errors, temporary service unavailability.\n\n**Pattern:**\n1. Wait briefly, then retry (start at 2s, double each attempt)\n2. Maximum 3 retries before escalating\n3. Log each attempt with the error received\n\n**Example:** API call returns 429 Too Many Requests → wait 2s → retry → wait 4s → retry → wait 8s → retry → escalate if still failing.\n\n---\n\n## 2. Fallback Alternatives\n\n**When:** Primary tool or approach fails and an alternative exists.\n\n**Pattern:**\n1. Attempt primary approach\n2. On failure, identify alternative tool\u002Fmethod\n3. Try the alternative with the same intent\n4. Document which alternative was used and why\n\n**Example:** Primary CLI tool fails → fall back to direct API call for the same operation.\n\n---\n\n## 3. Diagnose-and-Fix\n\n**When:** Build failures, test failures, linting errors — structured errors with actionable output.\n\n**Pattern:**\n1. Read the full error output carefully\n2. Identify the root cause from error messages\n3. Attempt a targeted fix\n4. Re-run to verify the fix\n5. Maximum 3 fix-retry cycles before escalating\n\n**Example:** Build fails with a type error → check for missing import → add it → rebuild.\n\n---\n\n## 4. Escalate with Context\n\n**When:** Recovery attempts have been exhausted, or the failure requires human judgment.\n\n**Pattern:**\n1. Summarize what was attempted and what failed\n2. Include the exact error messages\n3. State what you believe the root cause is\n4. Suggest next steps or who might be able to help\n5. Hand off to the coordinator or the appropriate specialist\n\n**Example:** After 3 failed build attempts → \"Build fails on line 42 with null reference. Tried X, Y, Z. Likely a design issue in the Foo module. Recommend the code owner review.\"\n\n---\n\n## 5. Graceful Degradation\n\n**When:** A non-critical step fails but the overall task can still deliver value.\n\n**Pattern:**\n1. Determine if the failed step is critical to the task outcome\n2. If non-critical, log the failure and continue\n3. Deliver partial results with a clear note of what was skipped\n4. Offer to retry the skipped step separately\n\n**Example:** Generating a report with 5 sections — section 3 data source is unavailable → produce the report with 4 sections, note that section 3 was skipped and why.\n\n---\n\n## Applying These Patterns\n\nEach agent should reference these patterns in their charter's `## Error Recovery` section, tailored to their domain. The charter should list the agent's most common failure modes and map each to the appropriate pattern above.\n\n**Selection guide:**\n\n| Failure Type | Primary Pattern | Fallback Pattern |\n|---|---|---|\n| Network\u002FAPI transient | Retry with Backoff | Escalate with Context |\n| Tool\u002Fdependency missing | Fallback Alternatives | Escalate with Context |\n| Build\u002Ftest error | Diagnose-and-Fix | Escalate with Context |\n| Auth\u002Fpermissions | Retry with Backoff | Escalate with Context |\n| Non-critical data missing | Graceful Degradation | — |\n| Unknown\u002Fnovel error | Escalate with Context | — |\n",{"name":5,"domain":39,"license":16,"confidence":40,"description":7},"reliability, agent-coordination","high","main","52a1e8c92456b3469b9a4afdc06d3f2cc4ab6796","industries\u002Fprofessional-services\u002Fai-proposal-factory\u002F.github\u002Fskills\u002Ferror-recovery",0,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-12 13:12:35",{"source":9,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add microsoft\u002Fgithub-vteam-industry-demos --skill error-recovery",{"tool":56,"command":57},"bunx","bunx skills add microsoft\u002Fgithub-vteam-industry-demos --skill error-recovery",{"tool":59,"command":60},"pnpm","pnpm dlx skills add microsoft\u002Fgithub-vteam-industry-demos --skill error-recovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fprofessional-services\u002Fai-proposal-factory\u002F.github\u002Fskills\u002Ferror-recovery\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"agents\u002Fopenai.yaml","REFERENCE","参考文档",113,"https:\u002F\u002Fgithub.com\u002Fagross\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents\u002Fagents\u002Fskills\u002Fgrilling\u002Fagents\u002Fopenai.yaml",[71,85,101,110,121,140],{"skillNo":72,"name":73,"nameZh":74,"description":75,"descriptionZh":76,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":77,"categories":78,"keywords":83,"publishedAt":34},"01M69BSDG009WVDPMVMEPS2YSF","reflect","对话经验学习与沉淀","Learning capture system that extracts HIGH\u002FMED\u002FLOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections (\"no\", \"wrong\"), praise (\"perfect\", \"exactly\"), or when discovering edge cases. Complements .squad\u002Fagents\u002F{agent}\u002Fhistory.md and .squad\u002Fdecisions.md.","学习捕获系统，从对话中提取高\u002F中\u002F低置信度的模式，以避免重复犯错。在用户纠正（「不」「错了」）、赞扬（「完美」「就是这样」）或发现边缘情况时使用。补充 .squad\u002Fagents\u002F{agent}\u002Fhistory.md 和 .squad\u002Fdecisions.md。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fprofessional-services\u002Fai-proposal-factory\u002F.github\u002Fskills\u002Freflect\u002FSKILL.md",[79,82],{"categoryNo":80,"categoryName":81,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[73,32,84],"memory",{"skillNo":86,"name":87,"nameZh":88,"description":89,"descriptionZh":90,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":97,"publishedAt":34},"01M69BSB2Q6B5AEPF45P89EGKF","iterative-retrieval","子智能体迭代检索协议","Max-3-cycle protocol for agent sub-tasks with WHY context and coordinator validation. Use when spawning sub-agents to complete scoped work.","针对智能体子任务的最多 3 轮循环协议，带有 WHY 上下文和协调器验证。在派生子智能体来完成限定范围的工作时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fprofessional-services\u002Fai-proposal-factory\u002F.github\u002Fskills\u002Fiterative-retrieval\u002FSKILL.md",[93,96],{"categoryNo":94,"categoryName":95,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRN0DBCRG4XGJMB6QQEP11","编码任务委派",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[98,99,100],"iterative retrieval","validation","tasks",{"skillNo":102,"name":73,"nameZh":103,"description":75,"descriptionZh":104,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":105,"categories":106,"keywords":109,"publishedAt":34},"01M69BQAXVB7E270QGBQ9W4VFW","对话经验沉淀","一种学习捕获系统，从对话中提取高\u002F中\u002F低置信度模式，以避免重复犯错。在用户纠正（“no”、“wrong”）、表扬（“perfect”、“exactly”）或发现边界情况时使用。作为 .squad\u002Fagents\u002F{agent}\u002Fhistory.md 和 .squad\u002Fdecisions.md 的补充。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fhealthcare-life-sciences\u002Fclaim-processing\u002F.squad\u002Ftemplates\u002Fskills\u002Freflect\u002FSKILL.md",[107,108],{"categoryNo":80,"categoryName":81,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[73,32,84],{"skillNo":111,"name":87,"nameZh":112,"description":89,"descriptionZh":113,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":114,"categories":115,"keywords":120,"publishedAt":34},"01M69BPJ5RC4M16E6518P4QWXD","智能体子任务迭代检索","针对智能体子任务的最多 3 轮循环协议，附带 WHY（原因）上下文和协调器验证。在派生子代理以完成范围限定的工作时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fhealthcare-life-sciences\u002Fclaim-processing\u002F.squad\u002Ftemplates\u002Fskills\u002Fiterative-retrieval\u002FSKILL.md",[116,117],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":118,"categoryName":119,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[98,99,100],{"skillNo":122,"name":123,"nameZh":124,"description":125,"descriptionZh":126,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":127,"categories":128,"keywords":135,"publishedAt":34},"01M69BNYABTXGDSYR7VN91WKE3","fact-checking","事实核查与验证","Review and validate claims using counter-hypothesis testing. Use when verifying technical content, checking references, validating API endpoints, or performing quality assurance on deliverables.","使用反假设检验审查并验证各类声明。适用于验证技术内容、检查引用、校验 API 端点，或对交付物进行质量保障。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fhealthcare-life-sciences\u002Fclaim-processing\u002F.squad\u002Ftemplates\u002Fskills\u002Ffact-checking\u002FSKILL.md",[129,132],{"categoryNo":130,"categoryName":131,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TMSBZZX4V1THHNVC815","回答复核",{"categoryNo":133,"categoryName":134,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",[136,32,137,138,139],"fact checking","validate","review","testing",{"skillNo":141,"name":5,"nameZh":142,"description":7,"descriptionZh":143,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":148,"publishedAt":34},"01M69BNRF68PHZWCPKMW365N5R","错误恢复策略","面向所有 squad agents 的标准恢复模式。当某些操作失败时，应自适应处理，而不只是报告失败。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fgithub-vteam-industry-demos\u002Fblob\u002Fmain\u002Findustries\u002Fhealthcare-life-sciences\u002Fclaim-processing\u002F.squad\u002Ftemplates\u002Fskills\u002Ferror-recovery\u002FSKILL.md",[146,147],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":118,"categoryName":119,"taxonomyType":23,"taxonomyTypeDesc":24},[31,33,32]]