·error-handling
</>

error-handling

A skill for applying error-handling best practices. Helps design errors based on recoverability, use Either/Result types, and properly classify domain vs. system errors. Use during code reviews, new implementations, or refactoring when error-handling patterns need improvement. Target languages: Go, Rust, Scala, Java, TypeScript, JavaScript, Python. Triggered by error-handling-related requests such as “improve error handling,” “want to use Result types,” “review exception design,” or “design recoverable errors.”

13Installs·3Trend·@j5ik2o

Installation

$npx skills add https://github.com/j5ik2o/okite-ai --skill error-handling

How to Install error-handling

Quickly install error-handling AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/j5ik2o/okite-ai --skill error-handling
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: j5ik2o/okite-ai.

SKILL.md

View raw

| ビジネスルール違反 | 引数の不正 (IllegalArgumentException) | | 外部システムエラー | 状態の矛盾 (IllegalStateException) | | 権限不足・リソース競合 | 到達不可コード (unreachable) |

| TypeScript | neverthrow | Result のみで十分な場合(軽量・シンプル) | | TypeScript | fp-ts | 関数型全般を使う場合(Option, Task, IO, Reader 等) | | JavaScript | neverthrow | TypeScript と同様 | | Rust | 標準 Result | 常にこれを使用。エラー定義には thiserror | | Go | 標準 (T, error) | Go らしいシンプルなコードを書く場合 | | Go | samber/mo | Result/Either でチェーン処理したい場合 | | Scala | 標準 Either[L, R] | 標準で十分。cats は大規模 FP 向け |

| Java | vavr.io Either | 関数型コレクションも使うなら vavr 一択 | | Python | returns (dry-python) | 本番環境向け。型アノテーション充実 | | Python | result | 軽量。Rust ライクなシンプルな API |

A skill for applying error-handling best practices. Helps design errors based on recoverability, use Either/Result types, and properly classify domain vs. system errors. Use during code reviews, new implementations, or refactoring when error-handling patterns need improvement. Target languages: Go, Rust, Scala, Java, TypeScript, JavaScript, Python. Triggered by error-handling-related requests such as “improve error handling,” “want to use Result types,” “review exception design,” or “design recoverable errors.” Source: j5ik2o/okite-ai.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/j5ik2o/okite-ai --skill error-handling
Category
</>Dev Tools
Verified
First Seen
2026-03-10
Updated
2026-03-10

Browse more skills from j5ik2o/okite-ai

Quick answers

What is error-handling?

A skill for applying error-handling best practices. Helps design errors based on recoverability, use Either/Result types, and properly classify domain vs. system errors. Use during code reviews, new implementations, or refactoring when error-handling patterns need improvement. Target languages: Go, Rust, Scala, Java, TypeScript, JavaScript, Python. Triggered by error-handling-related requests such as “improve error handling,” “want to use Result types,” “review exception design,” or “design recoverable errors.” Source: j5ik2o/okite-ai.

How do I install error-handling?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/j5ik2o/okite-ai --skill error-handling Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/j5ik2o/okite-ai