fail-fast
✓エラーを処理するときに使用します。例外をキャッチして飲み込みたい場合に使用します。失敗を隠すためにデフォルト値を返す場合に使用します。
SKILL.md
Don't hide errors with try/catch that returns defaults. Don't let invalid state propagate. Fail at the point of failure, not three layers later with corrupted data.
| Hidden bugs | Errors become "it didn't work" | | Lost context | Stack trace shows catch, not cause | | Corrupted state | Invalid data propagates | | Debugging nightmare | Where did it actually fail? | | Silent data loss | Operations fail but app continues |
"The App Shouldn't Crash" Pressure: "Users will see errors if we throw"
エラーを処理するときに使用します。例外をキャッチして飲み込みたい場合に使用します。失敗を隠すためにデフォルト値を返す場合に使用します。 ソース: yanko-belov/code-craft。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/yanko-belov/code-craft --skill fail-fast- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
fail-fast とは?
エラーを処理するときに使用します。例外をキャッチして飲み込みたい場合に使用します。失敗を隠すためにデフォルト値を返す場合に使用します。 ソース: yanko-belov/code-craft。
fail-fast のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/yanko-belov/code-craft --skill fail-fast インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/yanko-belov/code-craft
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01