[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AH4S9VJ05M9JXMXGEGMQ59":3,"skill-same:01M7AH4S9VJ05M9JXMXGEGMQ59":46},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7AH4S9VJ05M9JXMXGEGMQ59","dsh-error-handling",null,"Apply error-handling principles when designing or reviewing failures, recovery, retries, background tasks, and user-visible error reports.","cherrchen\u002FRivetdeck","cherrchen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113243001?v=4","01M7AH3EC0EWB5GRQMBPX46VN1","Cherry Chen","01M7AH3ED2YG2JDE7EWABXK4YA",2,"MIT","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdsh-error-handling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dsh-error-handling\ndescription: Apply error-handling principles when designing or reviewing failures, recovery, retries, background tasks, and user-visible error reports.\n---\n\n# DeepSeek Harness Error Handling\n\nDefine failures, their owners, and what remains safe after failure.\n\n## Typed, structured failures\n\nExpected failures need declared types, stable discriminants, and handling-relevant details. Reuse package error conventions, preserve causes, and separate machine identity from display text. Never route handling by parsing messages. Unexpected defects such as `assertNever` may remain plain `Error`; containment must never turn them into success.\n\n## Catch, recover, or stop\n\nFor each failure, define handling and reporting owners, containment, and guarantees in the owning API documentation: valid invariants, absent\u002Fpartial\u002Fcommitted\u002Funknown effects, and cleanup responsibility. Background work retains these obligations.\n\nCatching limits exception propagation, not mutations. Only the affected state's owner can establish safe continuation. Otherwise stop dependent work, discard invalid state or instances, or escalate. Logging alone is not recovery. Retries require safe repetition, cancellation, and an explicit owner; finite operations need budgets, while continuing supervision needs lifecycle ownership and observable degradation.\n\n## Localized, actionable, visible reports\n\nEvery final report needs a readable summary, affected operation, and safe next action. Localize through the receiving application's locale mechanism where one exists; other diagnostics use their existing output language. Keep sensitive internal details out of user-facing text.\n\nUntrusted state or unknown outcomes must be visible through UI or default-enabled, accessible logs: report the impact, uncertainty, system disposition, and safe next step. Persistent invalid state needs persistent visibility. Never claim success, rollback, or safe retry without guarantees. Reporting failures need an independent fallback.\n\nVerify resulting state and visible outcomes, not merely that an exception was caught.\n\n## Foundations\n\nMeyer's *Object-Oriented Software Construction* (1997): contracts and invariants; Sutter's *Exceptional C++* (1999): exception safety guarantees; Armstrong's [thesis](https:\u002F\u002Fwww.erlang.org\u002Fdownload\u002Farmstrong_thesis_2003.pdf) (2003): isolation and supervision.\n","# DeepSeek Harness Error Handling\n\nDefine failures, their owners, and what remains safe after failure.\n\n## Typed, structured failures\n\nExpected failures need declared types, stable discriminants, and handling-relevant details. Reuse package error conventions, preserve causes, and separate machine identity from display text. Never route handling by parsing messages. Unexpected defects such as `assertNever` may remain plain `Error`; containment must never turn them into success.\n\n## Catch, recover, or stop\n\nFor each failure, define handling and reporting owners, containment, and guarantees in the owning API documentation: valid invariants, absent\u002Fpartial\u002Fcommitted\u002Funknown effects, and cleanup responsibility. Background work retains these obligations.\n\nCatching limits exception propagation, not mutations. Only the affected state's owner can establish safe continuation. Otherwise stop dependent work, discard invalid state or instances, or escalate. Logging alone is not recovery. Retries require safe repetition, cancellation, and an explicit owner; finite operations need budgets, while continuing supervision needs lifecycle ownership and observable degradation.\n\n## Localized, actionable, visible reports\n\nEvery final report needs a readable summary, affected operation, and safe next action. Localize through the receiving application's locale mechanism where one exists; other diagnostics use their existing output language. Keep sensitive internal details out of user-facing text.\n\nUntrusted state or unknown outcomes must be visible through UI or default-enabled, accessible logs: report the impact, uncertainty, system disposition, and safe next step. Persistent invalid state needs persistent visibility. Never claim success, rollback, or safe retry without guarantees. Reporting failures need an independent fallback.\n\nVerify resulting state and visible outcomes, not merely that an exception was caught.\n\n## Foundations\n\nMeyer's *Object-Oriented Software Construction* (1997): contracts and invariants; Sutter's *Exceptional C++* (1999): exception safety guarantees; Armstrong's [thesis](https:\u002F\u002Fwww.erlang.org\u002Fdownload\u002Farmstrong_thesis_2003.pdf) (2003): isolation and supervision.\n",{"name":5,"description":7},"develop","fcb5706cc453a698b2523fd0da2f4b0d2a219a77",".agents\u002Fskills\u002Fdsh-error-handling",0,"https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck","https:\u002F\u002Fcherrchen.github.io\u002Frivetdeck-website","https:\u002F\u002Fgithub.com\u002Fcherrchen","2026-10-31 22:25:44",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add cherrchen\u002FRivetdeck --skill dsh-error-handling",{"tool":38,"command":39},"bunx","bunx skills add cherrchen\u002FRivetdeck --skill dsh-error-handling",{"tool":41,"command":42},"pnpm","pnpm dlx skills add cherrchen\u002FRivetdeck --skill dsh-error-handling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdsh-error-handling\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7AH7JP2AYE3M7P1YPATS12Z","user-only-skill","Prove model-disabled skills stay outside the model catalog.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fuser-only-skill\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7AH7GMX5T090G1KX1951VR8","snapshot-skill","Exercise project skill discovery and loading in snapshot tests.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fsnapshot-skill\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7AH7F07FQGHVX8FDD65VF8F","model-only-skill","Prove user-disabled skills remain available to the model.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fmodel-only-skill\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"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":19},"01M7AH7CRT84GJQ7BAS6XRCT7J","office","Create, edit, inspect, or convert Office documents, spreadsheets, presentations, and PDFs. Load to choose the relevant workflow.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice\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":19},"01M7AH7AY6691M35XHSNX8SGH7","office-xlsx","Read, create, edit, and validate Excel workbooks, data, and formulas (.xlsx).","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-xlsx\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7AH78Y7SNJA5KS9S18TE9ST","office-render","Render requested document images or inspect visual layout with LibreOffice Kit.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-render\u002FSKILL.md",[],[]]