← スキル一覧に戻る

error-handling
by davidruzicka
Universal MCP server that generates MCP tools for any OpenAPI 3.x specification.
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: error-handling description: Use typed errors and consistent error handling across the codebase. Use when adding new error cases or adjusting error behavior.
Error handling
When to use
- Introducing new error cases
- Refactoring error messages or handling
- Updating error serialization
Steps
- Add or update error types in src/errors.ts.
- Use typed errors in feature code, avoid ad-hoc strings.
- Ensure correlation ids are included in client-facing errors.
- Sanitize tokens and secrets in error messages.
- Update tests in src/errors.test.ts and affected feature tests.
Checks and tests
- Run
npm run typecheckbefore finishing. - Run
npm test.
Notes
- Keep error handling consistent with canonical docs.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です