pattern matching
✓このスキルは、ユーザーが「エフェクト マッチ」、「パターン マッチング」、「Match.type」、「Match.tag」、「Match.when」、「Schema.is()」、「Match を使用した Schema.is」、「完全一致」、「判別共用体」、「Match.value」、「Switch を Match に変換」、「if/else を Match に変換」、「TaggedClass with Match」、またはEffect がタイプセーフな徹底的なパターン マッチングをどのように提供するかを理解する必要があります。
SKILL.md
Pattern matching replaces ALL imperative control flow in Effect code. There should be ZERO if/else statements, switch/case blocks, or ternary operators in idiomatic Effect code.
| if/else chains | Match.value + Match.when | | switch/case statements | Match.type + Match.tag | | Ternary operators (? :) | Match.value + Match.when | | Null checks | Option.match | | Error checks | Either.match or Effect.match | | Type guards | Match.when with Schema.is() |
When you encounter imperative control flow, refactor it to pattern matching immediately.
このスキルは、ユーザーが「エフェクト マッチ」、「パターン マッチング」、「Match.type」、「Match.tag」、「Match.when」、「Schema.is()」、「Match を使用した Schema.is」、「完全一致」、「判別共用体」、「Match.value」、「Switch を Match に変換」、「if/else を Match に変換」、「TaggedClass with Match」、またはEffect がタイプセーフな徹底的なパターン マッチングをどのように提供するかを理解する必要があります。 ソース: andrueandersoncs/claude-skill-effect-ts。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill pattern matching- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
pattern matching とは?
このスキルは、ユーザーが「エフェクト マッチ」、「パターン マッチング」、「Match.type」、「Match.tag」、「Match.when」、「Schema.is()」、「Match を使用した Schema.is」、「完全一致」、「判別共用体」、「Match.value」、「Switch を Match に変換」、「if/else を Match に変換」、「TaggedClass with Match」、またはEffect がタイプセーフな徹底的なパターン マッチングをどのように提供するかを理解する必要があります。 ソース: andrueandersoncs/claude-skill-effect-ts。
pattern matching のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill pattern matching インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/andrueandersoncs/claude-skill-effect-ts
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01