home/categories/architecture-patterns/amanvarshney01-create-better-t-stack-opencode-skill-better-result-adopt-skill-md
architecture-patternsdevelopment

better-result-adopt

Migrate codebase from try/catch or Promise-based error handling to better-result. Use when adopting Result types, converting thrown exceptions to typed errors, or refactoring existing error handling to railway-oriented programming.

AmanVarshney01
maintainer
AmanVarshney01
آخر تحديث 1/19/2026
النجوم
4743
التفرعات
257
quick start

Installation and usage

Migrate codebase from try/catch or Promise-based error handling to better-result. Use when adopting Result types, converting thrown exceptions to typed errors, or refactoring existing error handling to railway-oriented programming.

التثبيت
$ install --globalskills.sh
الاستخدام

بعد التثبيت، يمكنك استخدام هذه المهارة بتشغيل الأمر التالي في الطرفية:

skills use better-result-adopt