Install
$ agentstack add skill-skilld-dev-vue-ecosystem-skills-vee-validate-skilld ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
logaretm/vee-validate vee-validate@4.15.1
Tags: prev: 1.0.0-beta.10, next-edge: 4.5.0-alpha.2, edge: 4.5.0-alpha.6
References: [Docs](./references/docs/_INDEX.md)
API Changes
This section documents version-specific API changes for vee-validate v4.x — prioritize these over legacy patterns.
- BREAKING:
v-modelsupport disabled by default in v4.10.0 for performance; enable viaconfigure({ validateOnModelUpdate: true })or per-fieldsyncVModel[source](./references/releases/CHANGELOG.md)
- NEW:
defineFieldintroduced in v4.9.0 — replacesdefineComponentBindsanddefineInputBindsfor cleaner Composition API integration [source](./references/releases/CHANGELOG.md)
- DEPRECATED: Reactive initial values deprecated in v4.12.0; use non-reactive objects or getters to prevent unintended sync [source](./references/releases/CHANGELOG.md)
- NEW:
useFormContextexposed in v4.14.0 for accessing form state in deeply nested components without manual injection [source](./references/releases/CHANGELOG.md)
- NEW:
setValueexposed onFieldinstances and slot props in v4.13.0 for manual value updates [source](./references/releases/CHANGELOG.md)
- NEW: Composition setter hooks (
useSetFieldValue,useSetFormValues,useSetFormErrors) added in v4.11.0 for external state management [source](./references/releases/CHANGELOG.md)
- NEW:
handleBluracceptsshouldValidateparameter since v4.10.0 to control validation triggers on blur events [source](./references/releases/CHANGELOG.md)
- NEW:
syncVModelaccepts target model prop name as a string in v4.10.0 for custom model support [source](./references/releases/CHANGELOG.md)
- NEW:
isValidatingstate added touseFormand form slot props in v4.9.3 to track async validation status [source](./references/releases/CHANGELOG.md)
- NEW:
move(oldIdx, newIdx)added toFieldArrayin v4.6.0 for reordering items within array fields [source](./references/releases/CHANGELOG.md)
- NEW: Specialized state hooks (
useIsFieldDirty,useIsFormValid,useFieldValue) added in v4.1.0 for granular state access [source](./references/releases/vee-validate@4.1.0.md)
- DEPRECATED:
handleInputdeprecated in v4.4.0; usehandleChangefor both input and change events [source](./references/releases/CHANGELOG.md)
- NEW:
labelsupport indefineFieldadded in v4.12.0 for consistent error message generation [source](./references/releases/CHANGELOG.md)
- NEW:
ResetFormOptswithforceflag added touseResetFormin v4.13.0 to clear values without merging [source](./references/releases/CHANGELOG.md)
Also changed: defineComponentBinds deprecated · defineInputBinds deprecated · useFieldModel deprecated · unsetValueOnUnmount config added · keepValuesOnUnmount reactivity improved · useForm validate returns object · useResetForm hook added · nested field meta querying new v4.12.3
Best Practices
- Prefer
defineField()for binding components and inputs — returns av-modelref and a props object for clean, non-deprecated binding [source](./references/docs/src/pages/api/use-form.mdx)
const [email, emailProps] = defineField('email', {
validateOnBlur: true,
props: state => ({ 'aria-invalid': !!state.errors.length })
});
- Display errors conditionally using
meta.touched— prevents "aggressive" validation where error messages appear before the user interacts with the field [source](./references/docs/src/pages/guide/best-practices.mdx)
- Use
toTypedSchema()for comprehensive TypeScript safety — wraps Yup, Zod, or Valibot schemas to differentiate between input (UI) and output (submitted) types [source](./references/docs/src/pages/guide/composition-api/typed-schema.mdx)
import { toTypedSchema } from '@vee-validate/zod';
import * as z from 'zod';
const { values } = useForm({
validationSchema: toTypedSchema(z.object({ email: z.string().email() }))
});
- Mark validation schemas as non-reactive — wrap schemas in
markRawor declare them outside ofref/reactiveto avoid unnecessary deep reactivity overhead [source](./references/docs/src/pages/guide/best-practices.mdx)
- Tree-shake schema validator imports — only import the specific functions you need (e.g.,
import { string } from 'yup') to keep bundle sizes to a minimum [source](./references/docs/src/pages/guide/best-practices.mdx)
- Pass reactive field names as getters in
useField— use a function (e.g.,() => props.name) to ensure vee-validate tracks name changes in dynamic forms [source](./references/docs/src/pages/guide/composition-api/caveats.mdx)
- Enable
keepValuesOnUnmountfor multi-step forms — preserves field state when components are hidden viav-ifor tab switching [source](./references/docs/src/pages/guide/composition-api/nested-objects-and-arrays.mdx)
const { values } = useForm({
keepValuesOnUnmount: true
});
- Use
field.keyfor stable iteration inv-for—useFieldArrayprovides unique identifiers that persist through array operations, unlike indices [source](./references/docs/src/pages/guide/composition-api/nested-objects-and-arrays.mdx)
- Escape field names with
[]to disable automatic nesting — wrap names (e.g.,[user.name]) to treat dots as literal characters rather than object paths [source](./references/docs/src/pages/guide/composition-api/nested-objects-and-arrays.mdx)
- Filter submission values with
handleSubmit.withControlled()— ensures only fields explicitly registered viauseFieldordefineFieldare included in the payload [source](./references/docs/src/pages/api/use-form.mdx)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: skilld-dev
- Source: skilld-dev/vue-ecosystem-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.