本文へスキップ
Skillpedia
テスト48k · #4548

error-handling-patterns

できること

このツールは、より信頼性の高いコンピュータープログラムを作る手助けをします。エラーを適切に扱う方法を教えてくれるため、プログラムが停止しにくくなり、問題の原因も見つけやすくなります。

使う場面

  • ✓プログラムの新しい部分を作るとき。
  • ✓障害が起きても動き続ける必要があるシステムを設計するとき。
  • ✓プログラムに問題があり、原因を調べる必要があるとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/error-handling-patterns/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/error-handling-patterns/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“アプリがエラーで止まらないようにするには、どうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは、コード内のエラーを事前に想定して管理するための、最適な方法を提案します。実績のある手法を使い、プログラムが障害から回復できるようにするとともに、修正する人にとって役立つ情報を残す方法を示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Error Handling Patterns

Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.

Use this skill when

  • Implementing error handling in new features
  • Designing error-resilient APIs
  • Debugging production issues
  • Improving application reliability
  • Creating better error messages for users and developers
  • Implementing retry and circuit breaker patterns
  • Handling async/concurrent errors
  • Building fault-tolerant distributed systems

Do not use this skill when

  • The task is unrelated to error handling patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

「エラーハンドリングのパターン」とは何ですか?

プログラムが予期しない問題にぶつかったときに、どう対応するかを決めるためにプログラマーが使う、型やひな形のようなものです。

なぜエラーをうまく扱うことが大切なのですか?

プログラムが突然止まるのを防ぎ、障害が起きても使いやすさを保ち、開発者が修正しやすくするためです。

このツールがエラーを自動で直してくれますか?

いいえ、エラーをより効果的に扱うための考え方と、コードへの実装方法を教えたり提案したりするものです。

詳細

作者による元の説明

Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4548
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル