better-result-adopt
dmmulroy · Development
将代码库中的try/catch或Promise-based错误处理迁移至更优的Result类型。适用于采用Result类型、将抛出异常转换为类型化错误,或重构现有错误处理以实现铁路式编程。
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.
npx skills add https://github.com/dmmulroy/better-result --skill better-result-adopt
星标 1531 · 安装量 0