dsh-error-handling SKILL.md skillA

dsh-error-handling from qufei1993/skills-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qufei1993/skills-hub/dsh-error-handling@git:20261030.1b17503

Pins git:20261030.1b17503 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qufei1993/skills-hub
Path
skills/dsh-error-handling/SKILL.md
Versions recorded
1
Latest version
git:20261030.1b17503, committed Oct 30, 2026
Size
1,650 bytes
Repository stars
1,863
License
MIT

实现或审查错误传播、部分成功、结果未知、恢复、重试、取消或失败反馈时使用,明确状态保证和错误处理责任。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 明确失败行为及处理责任

阅读[项目上下文](references/project-context.md)、[生命周期](references/lifecycle.md)和[验证证据](references/evidence.md)。沿用项目现有的错误约定。

1. 追踪操作的公开入口、状态负责方、外部副作用和最终报告。建立简短对应关系:触发条件 → 错误分类 → 状态保证 → 处理者 → 用户可见结果。区分响应失败与操作失败。
2. 用稳定标识区分已知业务错误;保留意外错误的原因,不把所有异常都转成成功默认值或同一个通用业务错误码。
3. 明确失败后状态属于未变化、部分完成、已提交还是结果未知。只有状态负责方能证明恢复和继续执行的前提;无法证明时停止依赖该状态的后续工作。写入结果不明确时,使用真实服务支持的核对或幂等机制,不能仅根据异常文字无条件重试。
4. 确保取消、回调错误和清理失败到达适当的处理位置。避免重复报告;保留足够的处理线索,不泄露秘密。
5. 通过真实调用方验证副作用发生前后的失败,包括“已经提交但响应丢失”。分别断言可观察状态和报告内容;支持恢复时,覆盖恢复成功和恢复失败。

完成时说明明确的状态保证、负责的处理者和实际测试的失败场景。服务行为约定不足以建立保证时,如实报告结果未知。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qufei1993/skills-hub/dsh-error-handling@sha256:28c4116addc27c9a

The line at the top of this page pins the label git:20261030.1b17503, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_f3fytxk6lixgkrgy.svg)](https://markdownregistry.com/a/art_f3fytxk6lixgkrgy)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 30, 2026.

versioncommittedcommitsizeaudit
git:20261030.1b17503 latest2026-10-30 1b17503 1,650 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1650 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

qufei1993/skills-hub · 1,863 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_f3fytxk6lixgkrgy
GET https://markdownregistry.com/api/v1/resolve?ref=qufei1993/skills-hub/dsh-error-handling
GET https://markdownregistry.com/api/v1/blob/28c4116addc27c9a366fde0beb54c31ba5f67fdc809ef1a1f5d4124ff2fe2605

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from qufei1993/skills-hub

AGENTS.md AGENTS.md file
qufei1993/skills-hub · AGENTS.md
git:20261031.fd923cf · audit A · 1,863 stars
CLAUDE.md CLAUDE.md file
qufei1993/skills-hub · CLAUDE.md
git:20260411.fabf493 · audit B · 1,863 stars
dsh-ci-test-reliability SKILL.md skill
qufei1993/skills-hub · skills/dsh-ci-test-reliability/SKILL.md · 设计或审查测试覆盖、选择单元/集成/真实入口/端到端测试及 mock 边界时使用;也用于诊断偶发失败、异步、并行及持有资源的测试。适用于测试计划、回归覆盖缺口和不可靠的 CI 证据。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-client-ui-ux SKILL.md skill
qufei1993/skills-hub · skills/dsh-client-ui-ux/SKILL.md · 设计、实现或审查客户端 UI、响应式布局、交互状态、焦点或失败反馈时使用,结合真实运行界面验证用户体验。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-code-review SKILL.md skill
qufei1993/skills-hub · skills/dsh-code-review/SKILL.md · 审查代码改动或 PR 时使用,依据目标项目的实际需求检查正确性、生命周期、接口行为、验证证据和文档,报告有依据且可采取行动的问题。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-doc SKILL.md skill
qufei1993/skills-hub · skills/dsh-doc/SKILL.md · 创建或维护工程文档、设计决策、事故复盘、归档提案或产品迁移指南时使用,保留事实依据、实际备选方案和准确状态。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-engineering SKILL.md skill
qufei1993/skills-hub · skills/dsh-engineering/SKILL.md · 用于功能开发、问题修复和实现设计,按项目现有约定处理默认值、输入校验、依赖和测试选择;也用于诊断、接入、更新或撤销项目 AI 工程规范,保留原有政策和本地修改。用户提出“按 DSH 规范开发”或“接入 AI 工程规范”时使用。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-find-simplifications SKILL.md skill
qufei1993/skills-hub · skills/dsh-find-simplifications/SKILL.md · 用户明确要求审查或实施简化时使用,识别不必要的抽象、重复状态和兼容机制,并验证受支持行为得到保留。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-pre-push-checks SKILL.md skill
qufei1993/skills-hub · skills/dsh-pre-push-checks/SKILL.md · 在交付或推送前验证改动时使用,核实项目必需检查、当前构建产物和真实用户行为,区分通过、失败、未运行与环境阻塞。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-record-browser-gif SKILL.md skill
qufei1993/skills-hub · skills/dsh-record-browser-gif/SKILL.md · 用户要求从真实浏览器应用录制 GIF 演示时使用,完成实际操作、采集、本地编码和结果核验。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-speed-up-perf SKILL.md skill
qufei1993/skills-hub · skills/dsh-speed-up-perf/SKILL.md · 调查性能问题或优化实际测量的用户路径时使用,建立优化前后对照,保留正确性、失败行为和真实运行证据。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-translate-docs SKILL.md skill
qufei1993/skills-hub · skills/dsh-translate-docs/SKILL.md · 仅在用户明确调用时翻译或同步指定文档,保留技术含义、结构、命令和两边的独立修改。
git:20261030.1b17503 · audit A · 1,863 stars

Every file in qufei1993/skills-hub

Browse by kind, by grade A, or by owner.