/grain:grain-ui-componentfrom grain
Builds reusable Grain Datastar UI components using Hiccup, scoped signals, and checked bindings for local state management.
Ships in grain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Return Hiccup and let the enclosing view compile the whole tree. Bind local
state with with-signals and pass the handle to child components that share it.
(require '[ai.obney.grain.datastar.ui :as ui])
(defn disclosure [label content]
(ui/with-signals [expanded {:init false}]
[:div
[:label [:input {:type "checkbox" :bind/value expanded}] label]
[:div {:bind/show expanded} content]]))
Each with-signals body returns one element vector. Render two instances together
with ui/hiccup to check independent state. Use :stable? true with an explicit
:name only for state shared across independent patches. Signal scoping
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (obneyai/grain) — no native marketplace selected
npx claudepluginhub p/obneyai-grain18 skills in this plugin
/event-modelAuthor and validate Grain service topology, CQRS flows, registry declarations and links to Allium./event-model-distillRecover a Grain Event Model from existing code and live registries./event-model-elicitDiscover Grain service topology for a new feature or service area./event-model-propagateDerive Grain tests for registered topology, boot validation and Allium trace links./event-model-tendEdit an existing Grain Event Model when blocks, schemas, dependencies, flows or trace links change./event-model-weedDiagnose drift between a Grain Event Model, the live registries and linked Allium declarations.Other plugins' skills for the same job