This helps you introduce better-result into an existing TypeScript codebase without rewriting everything at once. It walks through replacing try/catch blocks, null sentinels, and thrown domain exceptions with typed Result workflows. The migration strategy is practical: start at I/O boundaries like HTTP clients and database calls, define your TaggedError types first, then refactor callers to propagate Result values using andThen or Result.gen. The transformation examples are concrete and cover the most common patterns you'll encounter. It's opinionated about not over-wrapping everything and keeping defects as throws instead of forcing them into Results. If you're tired of losing error context in catch blocks or passing around nulls to signal failure, this gives you a clear incremental path forward.
npx skills add https://github.com/dmmulroy/better-result --skill better-result-adopt