kotlin-multiplatform-form-validation

Installation
SKILL.md

When to Use This Skill

Use when:

  • A screen has a form with required fields, format rules, or async checks (username availability)
  • Validation errors need to appear inline under each field as the user types or on submit
  • Submit button must be disabled until all fields are valid
  • Validation logic should be tested independently of the UI

Trigger keywords: form validation, field validation, required field, email validation, inline error, validation rule, form error, submit disabled, async validation, validate form, ValidationResult, FieldState, form state KMP, input validation, field error message, form, validate, validation, form field, input validation, form handling, form state, error message, check input, validate input, form submission.

Freshness rule: No external library is required — this pattern uses only kotlinx.coroutines and Compose. If you choose to add a validation library (Valiktor, Konform), verify its KMP support before adding to libs.versions.toml.


Installs
8
GitHub Stars
2
First Seen
Jun 21, 2026
kotlin-multiplatform-form-validation — ronjunevaldoz/kmp-agent-skills