Skip to main content

exhaustive-switches

スター5
フォーク0
更新日2026年2月20日 20:18

Use switch statements with an exhaustive default for discriminated unions and enum-like types. Use when handling union types with a discriminant (e.g. type field), message shapes, or variant types.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly