agentleFS
TeFuirneverTeFuirnever/azhou-ai-hub/.agents/skills/dsh-error-handling/SKILL.md

dsh-error-handling

Skill3 starsChanged 4 days agoMITView on GitHub

设计或审查错误、重试、后台任务和用户可见失败报告。

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

dsh-error-handling

本 Skill 仅用于当前项目。用户授权、项目 AGENTS.md 和实际宿主能力优先。

  1. 识别输入边界、状态所有者、提交点、报告者和清理者;使用项目已有的结构化错误和原因。
  2. 分别表达副作用未发生、部分发生、已提交或未知;捕获异常不等于回滚。
  3. 未知结果时停止依赖它的操作并由状态所有者对账;仅在安全、有限、可取消且明确负责时重试。
  4. 报告用户可执行的下一步,保留意外错误;错误报告失败时使用独立回退。

来源、适配边界和许可证见 provenance.md。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.