·fail-fast
</>

fail-fast

yanko-belov/code-craft

Use when handling errors. Use when tempted to catch and swallow exceptions. Use when returning default values to hide failures.

16Installs·0Trend·@yanko-belov

Installation

$npx skills add https://github.com/yanko-belov/code-craft --skill 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"

Use when handling errors. Use when tempted to catch and swallow exceptions. Use when returning default values to hide failures. Source: yanko-belov/code-craft.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/yanko-belov/code-craft --skill fail-fast
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is fail-fast?

Use when handling errors. Use when tempted to catch and swallow exceptions. Use when returning default values to hide failures. Source: yanko-belov/code-craft.

How do I install fail-fast?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yanko-belov/code-craft --skill fail-fast Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/yanko-belov/code-craft