Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

kotlin-sum-types

Étoiles14
Forks2
Mis à jour5 juin 2026 à 19:52

Parse, don't validate - using sealed classes for type-safe validation and state representation. Model valid/invalid states explicitly, validate at boundaries, operate on valid types internally. Use when implementing validation with sealed classes, modeling valid/invalid states, or applying parse-don't-validate patterns in Kotlin. The pattern is transferrable to other languages, though the mechanism will differ.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly