Codex Vant Flow Runtime for Step Validation and Host Callbacks
Maintain renderer, field state, form context, and host actions for an existing Vant Flow schema. Verify per-step and full-form validation.
中文Install in Codex
Codex with a vant-flow checkout, the runtime matrix, host integration checklist, and a local schema fixture.
- Copy the entire pinned `.codex/skills/vant-flow-runtime/` directory to `.agents/skills/vant-flow-runtime/` in the target checkout.
- Open Codex in that checkout and invoke `$vant-flow-runtime` with the example task and desired output.
Example task
Invoke `$vant-flow-runtime` for a practice two-step form. Check the first step with an empty required field and the final payload with valid values.What to check
The tests distinguish step and full-form validation and record both blocked navigation feedback and the successful payload fields.
Original SKILL.md on GitHub · Updated
Frequently asked question
Where do field visibility and page-level state belong?
Use the form context for in-form reactions. Use host inputs and callbacks for page-level state and external actions.