Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

vue-forms

/vue-forms

Buduje i sprawdza formularze w Vue 3: v-model, walidację schematem, kreatory wieloetapowe i dostępne komunikaty o błędach.

Repozytorium
vue-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
22.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
17
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Buduje i sprawdza formularze w Vue 3: v-model, walidację schematem, kreatory wieloetapowe i dostępne komunikaty o błędach.

Oryginalny opis (EN)

Forms and validation in Vue 3. v-model and defineModel, custom inputs, schema validation with VeeValidate and Zod or with Regle, async rules, multi-step wizards, submit states, unsaved-changes guards and accessible errors. Use when building or reviewing forms, inputs, validation or file uploads in Vue.

Jak działa

  1. Decision table
  2. Rules
  3. References
Sekcje z nagłówków SKILL.md, w oryginale · 34 linii, 296 słów
Podgląd SKILL.md
---
name: vue-forms
description: Forms and validation in Vue 3. v-model and defineModel, custom inputs, schema validation with VeeValidate and Zod or with Regle, async rules, multi-step wizards, submit states, unsaved-changes guards and accessible errors. Use when building or reviewing forms, inputs, validation or file uploads in Vue.
---

# Vue Forms

Versions checked on 2026-10-15: Vue 3.5 (`defineModel`), vee-validate 4.15 with zod 4.6, @regle/core 1.29. FormKit and @tanstack/vue-form are also fine; follow what the project already uses.

## Decision table

| Form | Approach |
|------|----------|
| One to three fields with trivial rules (login, search) | Native `v-model` plus a small validation composable |
| Business forms with a schema shared with the API | VeeValidate with Zod (`toTypedSchema`), one schema for client and server |
| Type-safe, model-based validation without a form wrapper | Regle (`useRegle`, the `r$` object, built-in rules, Standard Schema support) |
| Config-driven forms | FormKit, or a renderer on top of VeeValidate or Regle |
| A custom input component | `defineModel()`; never mutate props or sync with a watcher |

## Rules

- Validate on the server with the same schema. Client validation is for the user, not for security.
- Show errors on blur or after the first submit, not on every keystroke of a fresh field.
- Disable the submit button only while submitting, not while invalid; the click is how users find what is missing.
- Tie every error to its input with `aria-describedby` and set `aria-invalid`. The `vue-a11y` skill has details.
- Guard unsaved changes with `onBeforeRouteLeave` and a dirty flag.

## References

| Topic | Path |
|-------|------|
| `v-model`, `defineModel`, custom controls, a small validation composable | [native-form-patterns](references/native-form-patterns.md) |
| VeeValidate with Zod: typed schemas, `useForm`, `useField`, field arrays, async rules | [vee-validate-zod](references/vee-validate-zod.md) |
| Regle core: `useRegle`, validation properties, errors, modifiers | [regle-guide](references/regle-guide.md) |
| Regle rules: built-ins, custom rules, operators, wrappers | [regle-rules](references/regle-rules.md) |
| Regle with Zod, Valibot or ArkType through Standard Schema | [regle-schemas](references/regle-schemas.md) |
| Wizards, submit states, dirty guards, file uploads | [form-ux-patterns](references/form-ux-patterns.md) |
Pliki w paczce (17)
  • SKILL.md 2 KB
  • references/form-ux-patterns.md 4 KB
  • references/native-form-patterns.md 4 KB
  • references/regle-guide.md 3 KB
  • references/regle-rules.md 2 KB
  • references/regle-schemas.md 1 KB
  • references/vee-validate-zod.md 4 KB
  • references/regle/core-displaying-errors.md 2 KB
  • references/regle/core-modifiers.md 3 KB
  • references/regle/core-use-regle.md 3 KB
  • references/regle/core-validation-properties.md 3 KB
  • references/regle-rules/rules-built-in.md 5 KB
  • references/regle-rules/rules-custom.md 3 KB
  • references/regle-rules/rules-operators.md 2 KB
  • references/regle-rules/rules-wrappers.md 2 KB
  • references/regle-schemas/schemas-libraries.md 2 KB
  • references/regle-schemas/schemas-standard-schema.md 2 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · kimjinwoo4/vue-skills90MIT
aratkruglik/claude-sdlc100MIT

Migawka bazy z 13.11.2026 · wersja paczki 58900ebd13de (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90forms
    Buduje i naprawia dostępne formularze: komunikaty o błędach, stan wysyłania, kreatory wieloetapowe i stopniowe ujawnianie pól.
  • 100set-up-forms
    Dodaje formularze z walidacją: React Hook Form lub VeeValidate ze schematem Zod jako jednym źródłem prawdy i wysyłką przez mutację TanStack Query.
  • 100forms-pro
    Buduje dobre formularze webowe: wzorce UX, walidację, dostępność, wieloetapowe przepływy i przesyłanie plików.
  • 100forms
    Obejmuje architekturę formularzy: kreatory wieloetapowe, walidację po stronie klienta i serwera (także asynchroniczną), przesyłanie plików i dostępny projekt formularzy.
  • 100veevalidate-form-validator
    Tworzy formularze z walidacją w Nuxt.js i Vue 3 według wzorca VeeValidate z Zod, w tym logowanie, rejestrację i obsługę wysyłki.
  • 95form-vue
    Opisuje gotowe do produkcji wzorce formularzy w Vue 3 z VeeValidate lub Vuelidate i integracją z Zod, w Composition API.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.