formisch
БесплатноБез исполняемых скриптовНе проверенForm handling with Formisch, the schema-first and type-safe form library for Angular, HonoX, Preact, Qwik, React, React Native, Solid, Svelte, and Vue. Use…
от open-circle★ 18 звёзд на GitHubОб этом скилле
Formisch
This skill helps AI agents work effectively with Formisch, the schema-based, headless form library for modern frameworks.
When to Use This Skill
- When the user asks about form handling with Formisch
- When managing form state and validation
- When working with Angular, HonoX, Preact, Qwik, React, React Native, Solid, Svelte, or Vue forms
- When integrating Valibot schemas with forms
Introduction
Formisch is a schema-based, headless form library that works across multiple frameworks. Key highlights:
- Small bundle size — Starting at ~2.5 kB
- Schema-based validation — Uses Valibot for type-safe validation
- Headless design — You control the UI completely
- Type safety — Full TypeScript support with autocompletion
- Framework-native — Native performance for each supported framework
Supported Frameworks
| Framework | Package | Hook/Primitive |
|---|---|---|
| Angular | @formisch/angular |
injectForm |
| HonoX | @formisch/honox |
useForm |
| Preact | @formisch/preact |
useForm |
| Qwik | @formisch/qwik |
useForm$ |
| React | @formisch/react |
useForm |
| React Native | @formisch/react-native |
useForm |
| SolidJS | @formisch/solid |
createForm |
| Svelte | @formisch/svelte |
createForm |
| Vue | @formisch/vue |
useForm |
Experimental SolidJS 2 support is available through the @formisch/solid/v2 entry point of @formisch/solid (v1.2.0 or later). It requires solid-js and @solidjs/web v2. The default @formisch/solid entry point targets SolidJS 1.
Installation
1. Install Valibot (peer dependency)
npm install valibot
2. Install Formisch for your framework
npm install @formisch/react # React
npm install @formisch/angular # Angular
npm install @formisch/vue # Vue
npm install @formisch/solid # SolidJS
npm install @formisch/preact # Preact
npm install @formisch/svelte # Svelte
npm install @formisch/qwik # Qwik
npm install @formisch/react-native # React Native
npm install @formisch/honox # HonoX
Core Concepts
Schema-First Design
Every form starts with a Valibot schema. Types are automatically inferred from the schema.
import * as v from "valibot";
const LoginSchema = v.object({
email: v.pipe(
v.string("Please enter your email."),
v.nonEmpty("Please enter your email."),
v.email("The email address is badly formatted."),
),
password: v.pipe(
v.string("Please enter your password."),
v.nonEmpty("Please enter your password."),
v.minLength(8, "Your password must have 8 characters or more."),
),
});
Form Store
The form store manages all form state. Access it via the framework-specific hook/primitive.
Form Store Properties:
isSubmitting— Form is currently being submittedisSubmitted— Form submission has been attemptedisValidating— Validation is in progressisTouched— At least one field has been touchedisEdited— At least one field has been editedisDirty— At least one field differs from initial valueisValid— All fields pass validationerrors— Root-level validation errors
Field Store
Each field has its own reactive store with:
path— Path array to the fieldinput— Current field valueerrors— Field-specific errorsisTouched— Field has been focusedisEdited— Field value has been editedisDirty— Field value differs from initial valueisValid— Field passes validationprops— Props to spread onto native elements (Angular connects controls with[formischControl]instead)onChange(React, React Native, and HonoX) /onInput(Solid, Svelte, Preact, and Qwik) /setInput(Angular) — Sets the field input value programmatically. Use this when the field cannot be connected to a native element. In Vue, setfield.inputdirectly (for example withv-model).
Store reactivity is framework-specific. React, React Native, HonoX, Solid, Svelte, and Vue expose plain reactive properties. Angular properties are signals and are called like field.errors(), except path, which is a plain value. Preact and Qwik properties are signals; use .value in conditions and ordinary TypeScript logic. Do not copy one framework's access syntax into another.
Dirty Tracking
Formisch tracks two inputs per field:
- Initial input — Baseline for dirty tracking (server state)
- Current input — What the user is editing (client state)
isDirty becomes true when current input differs from initial input.
Framework Examples
Angular Example
Angular uses signals, dependency injection, and directives instead of a JSX component API.
import { Component } from
Установить formisch в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл formisch?
Form handling with Formisch, the schema-first and type-safe form library for Angular, HonoX, Preact, Qwik, React, React Native, Solid, Svelte, and Vue. Use when creating forms, handling form state, validating inputs, working with field arrays, or using @formisch/* packages.
Как установить скилл formisch?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл formisch запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic