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.
maintainer
AmanVarshney01
Updated 1/19/2026
Stars
4743
Forks
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.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use better-result-adopt