better-result-adopt이란?
코드베이스를 try/catch 또는 Promise 기반 오류 처리에서 더 나은 결과로 마이그레이션하세요. 결과 유형을 채택하거나, 발생한 예외를 입력된 오류로 변환하거나, 기존 오류 처리를 철도 지향 프로그래밍으로 리팩토링할 때 사용합니다. 출처: dmmulroy/better-result.
코드베이스를 try/catch 또는 Promise 기반 오류 처리에서 더 나은 결과로 마이그레이션하세요. 결과 유형을 채택하거나, 발생한 예외를 입력된 오류로 변환하거나, 기존 오류 처리를 철도 지향 프로그래밍으로 리팩토링할 때 사용합니다.
명령줄에서 better-result-adopt AI 스킬을 개발 환경에 빠르게 설치
출처: dmmulroy/better-result.
Migrate existing error handling (try/catch, Promise rejections, thrown exceptions) to typed Result-based error handling with better-result.
Begin migration at I/O boundaries (API calls, DB queries, file ops) and work inward. Don't attempt full-codebase migration at once.
| Domain errors | NotFound, Validation | TaggedError + Result.err | | Infrastructure | Network, DB connection | Result.tryPromise + TaggedError | | Bugs/defects | null deref, type error | Let throw (becomes Panic if in Result callback) |
코드베이스를 try/catch 또는 Promise 기반 오류 처리에서 더 나은 결과로 마이그레이션하세요. 결과 유형을 채택하거나, 발생한 예외를 입력된 오류로 변환하거나, 기존 오류 처리를 철도 지향 프로그래밍으로 리팩토링할 때 사용합니다. 출처: dmmulroy/better-result.
AI/검색 인용용 안정적인 필드와 명령어.
npx skills add https://github.com/dmmulroy/better-result --skill better-result-adopt코드베이스를 try/catch 또는 Promise 기반 오류 처리에서 더 나은 결과로 마이그레이션하세요. 결과 유형을 채택하거나, 발생한 예외를 입력된 오류로 변환하거나, 기존 오류 처리를 철도 지향 프로그래밍으로 리팩토링할 때 사용합니다. 출처: dmmulroy/better-result.
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/dmmulroy/better-result --skill better-result-adopt 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다
https://github.com/dmmulroy/better-result