bovinphang/frontend-craft/fec-form-handling
Claude Code and agent skill by bovinphang/frontend-craft
- community
Checking that the SKILL.md file is still in the repository.
Use when building or reviewing substantial forms with React Hook Form, Zod schemas, typed validation, dynamic fields, controlled third-party inputs, file upload, multi-step flows, dependent validation, or form performance. Do not use for trivial 1-3 field forms without validation; Chinese triggers include form, form validation, dynamic fields.
Install
npx vskill@latest install bovinphang/frontend-craft/fec-form-handlingSKILL.md
The same SKILL.md was published earlier as bovinphang/frontend-craft/fec-form-handling.
Form processing
Purpose
Manage form status, verification and submission to avoid lags in complex form input.
Procedure
- First identify the framework, existing form library of the project, schema verification library, component library and complexity; then introduce special form solutions when there are 10+ fields, dynamic fields, linkage verification, file upload, multi-step process or input lag.
- Select according to project stack: React can consider React Hook Form + Zod; Vue can consider vee-validate / FormKit + Zod, Yup or Valibot; simple forms can use the framework's native state and basic verification.
- Use runtime schema or explicit validation functions to guard external input boundaries; TypeScript types can be deduced from the schema, but don’t just write TS types.
- Clarify default values, field registration, controlled/uncontrolled boundaries and component library adaptation; use
aria-invalid,aria-describedbyandrole="alert"for error prompts. - Handle loading, server-side errors, repeated submissions and resets when submitting; use local subscriptions and sub-component isolation to control re-rendering of large forms.
React Quick Start
Detailed reference
When it comes to whether you need a form library, framework selection, Controller, useFieldArray, linkage verification, file upload, multi-step form, asynchronous verification and performance mode, load references/advanced-form-patterns.md.
Constraints
- Inherit the existing form library, schema library and component library adaptation method of the warehouse, and do not introduce a second system for a single form.
- Default values must be complete to avoid undefined triggering controlled/uncontrolled warnings or initialization flutter.
- reset should be passed the full default object returned by the server or explicit.
- Asynchronous validation must be debounced or placed on a commit boundary to avoid typing requests every time.
- The error path of schema cascade dynamic verification must point to the actual field.
Expected Output
The output form is type-safe, accessible, and has a clear submission status; complex fields and file uploads have schema constraints, there is no obvious lag in the input process, and server-side errors can be backfilled to a position that the user can understand.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fec-form-handling/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bovinphang/frontend-craft/fec-form-handling)