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

lustre-guide

Étoiles4
Forks0
Mis à jour11 mai 2026 à 20:16

Lustre framework patterns for Gleam UIs in client/ and examples/client/. Covers MVU architecture (init/update/view), application constructors (lustre.simple, lustre.application, lustre.component), message naming using Subject Verb Object (UserUpdatedX, BackendReturnedY), state management patterns (RemoteData, page-scoped state, EditState) to make invalid state unrepresentable, event handling (on_input, on_check, on_submit, on_keydown, custom event decoders), controlled vs uncontrolled inputs, side effects (effect.from, effect.batch, effect.before_paint, effect.after_paint), keyed list rendering, attributes vs properties, and pure functions. Use this whenever editing client.gleam, view/update/init functions, model types, or anything in the Lustre client. Also trigger on mentions of MVU, Effect, Msg, Model, view function, Lustre routing, or rsvp/modem/plinth packages.

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