home/categories/debugging/blockscout-blockscout-agents-skills-with-to-case-refactor-skill-md
debuggingtools

with-to-case-refactor

Replace `with` expressions that contain only a single `<-` clause and an `else` branch with a `case` expression. This addresses the Credo warning "with contains only one <- clause and an else branch, consider using case instead" and produces cleaner, more idiomatic Elixir code.

blockscout
maintainer
blockscout
업데이트됨 4/6/2026
스타
4492
포크
3032
quick start

Installation and usage

Replace `with` expressions that contain only a single `<-` clause and an `else` branch with a `case` expression. This addresses the Credo warning "with contains only one <- clause and an else branch, consider using case instead" and produces cleaner, more idiomatic Elixir code.

설치
$ install --globalskills.sh
사용법

설치 후 터미널에서 다음 명령을 실행하여 이 스킬을 사용할 수 있습니다:

skills use with-to-case-refactor