Tanstack Vue Form Skilld logo

Tanstack Vue Form Skilld

Organization
skilld-dev
tanstack-vue-form-skilld

Powerful, type-safe forms for Vue. ALWAYS use when writing code importing "@tanstack/vue-form". Consult for debugging, best practices, or modifying @tanstack/vue-form, tanstack/vue-form, tanstack vue-form, tanstack vue form, form.

Overview

Publisherskilld-dev
Repositoryvue-ecosystem-skills
Skill nametanstack-vue-form-skilld
Stars
180
Forks
8
Bundled files
195
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 195 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by skilld-dev on GitHub. Read the source before you install it.

Installation

Install the Tanstack Vue Form Skilld AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills.git /tmp/vue-ecosystem-skills
mkdir -p .claude/skills
cp -r /tmp/vue-ecosystem-skills/skills/tanstack-vue-form-skilld .claude/skills/tanstack-vue-form-skilld
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Tanstack Vue Form Skilld in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Tanstack Vue Form Skilld on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Tanstack Vue Form Skilld is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

TanStack/form @tanstack/vue-form@1.29.1

Tags: latest: 1.29.1

References: Docs

API Changes

This section documents version-specific API changes for @tanstack/vue-form.

  • BREAKING: field.errors — v1.28.0 flattens errors by default ([error] not [[error]]), use disableErrorFlat: true to restore old nested behavior source

  • DEPRECATED: field.getValue() — use field.state.value instead as direct accessor methods on FieldApi are deprecated in favor of state access source

  • NEW: field.parseValueWithSchema() — validates field value against Standard Schema V1 without affecting internal field error state source

  • NEW: form.parseValuesWithSchema() — form-level Standard Schema V1 validation helper for third-party schemas like Zod or Valibot source

  • NEW: formOptions() — helper to define reusable, type-safe form options with inference outside of the useForm hook source

  • NEW: Field component — declarative Vue component alternative to useField for defining form fields directly in templates source

  • NEW: Subscribe component — Vue component for fine-grained subscriptions to form or field state changes to optimize re-renders source

  • NEW: useStore() — Vue hook providing direct, reactive access to the underlying TanStack Store state for the form or field source

  • NEW: resetField()FormApi method to reset a specific field's value and metadata back to its default state source

  • NEW: clearFieldValues()FormApi utility to efficiently remove all items from an array field's data source

  • NEW: setErrorMap() — allows manual overriding of the internal validation error map for custom validation logic source

  • NEW: StandardSchemaV1 — native support for the Standard Schema validation protocol across all validator fields source

  • NEW: mode option — UseFieldOptions now supports explicit 'value' or 'array' modes for better type safety in complex forms

  • NEW: disableErrorFlat — new option in FieldApiOptions to opt-out of automatic error flattening introduced in v1.28.0 source

Also changed: resetFieldMeta() new helper · insertFieldValue() array utility · moveFieldValues() array utility · swapFieldValues() array utility · FieldApi.getInfo() metadata helper · VueFieldApi interface stabilization · VueFormApi interface stabilization

Best Practices

  • Use formOptions() to define type-safe, reusable form configurations that can be shared across components or used for better type inference source
ts
const options = formOptions({
  defaultValues: { email: '' },
  validators: {
    onChange: z.object({ email: z.string().email() })
  }
})

const form = useForm(options)
  • Link field validations with onChangeListenTo to trigger re-validation when dependent field values change, such as password confirmations source
vue
<form.Field
  name="confirm_password"
  :validators="{
    onChangeListenTo: ['password'],
    onChange: ({ value, fieldApi }) =>
      value !== fieldApi.form.getFieldValue('password') ? 'Passwords do not match' : undefined
  }"
>
  • Implement async-debounce-ms at the field or validator level to throttle expensive asynchronous validation calls like API checks source
vue
<form.Field
  name="username"
  :async-debounce-ms="500"
  :validators="{
    onChangeAsync: async ({ value }) => checkUsername(value)
  }"
>
  • Parse Standard Schemas manually within onSubmit to retrieve transformed values, as the form state preserves the raw input data source
ts
const form = useForm({
  onSubmit: ({ value }) => {
    // schema.parse converts string to number if transform is defined
    const validatedData = loginSchema.parse(value)
    api.submit(validatedData)
  }
})
  • Pass custom metadata via onSubmitMeta to differentiate between multiple submission actions within a single onSubmit handler source
vue
<button @click="form.handleSubmit({ action: 'save_draft' })">Save Draft</button>
<button @click="form.handleSubmit({ action: 'publish' })">Publish</button>
  • Combine canSubmit with isPristine to ensure the submit button remains disabled until the user has actually interacted with the form source
vue
<template v-slot="{ canSubmit, isPristine }">
  <button :disabled="!canSubmit || isPristine">Submit</button>
</template>
  • Use form.useStore with a selector in <script setup> for granular, reactive access to form state without re-rendering on unrelated changes source
ts
const canSubmit = form.useStore((state) => state.canSubmit)
  • Enable asyncAlways: true when you need asynchronous validators to execute regardless of whether synchronous validation has already failed source
ts
// Runs async validation even if local regex check fails
const validators = {
  onChange: ({ value }) => !value.includes('@') ? 'Invalid' : undefined,
  onChangeAsync: async ({ value }) => api.check(value),
  asyncAlways: true
}
  • Return a fields mapping from form-level validators to update errors across multiple fields simultaneously from a single validation logic source
ts
validators: {
  onChange: ({ value }) => ({
    fields: {
      startDate: value.startDate > value.endDate ? 'Must be before end' : undefined,
      endDate: value.startDate > value.endDate ? 'Must be after start' : undefined
    }
  })
}
  • Use reactive objects for defaultValues when binding the form to dynamic or asynchronous data sources like TanStack Query source
ts
const { data } = useQuery(...)
const defaultValues = reactive({
  name: computed(() => data.value?.name ?? '')
})
const form = useForm({ defaultValues })

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 135 more files.

Frequently asked questions

What does the Tanstack Vue Form Skilld AI skill do?

Powerful, type-safe forms for Vue. ALWAYS use when writing code importing "@tanstack/vue-form". Consult for debugging, best practices, or modifying @tanstack/vue-form, tanstack/vue-form, tanstack vue-form, tanstack vue form, form.

Why use Tanstack Vue Form Skilld on TypingMind?

Because you install it once and use it with any model. Tanstack Vue Form Skilld is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Tanstack Vue Form Skilld in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-form-skilld. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Tanstack Vue Form Skilld?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Tanstack Vue Form Skilld?

As many as you like. As long as a model supports skills, you can use Tanstack Vue Form Skilld with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Tanstack Vue Form Skilld AI skill free?

Yes. It is published on GitHub by skilld-dev under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇