with one click
form-handling
// Form handling is a critical aspect of web applications that collect data from users. React Hook Form and Zod provide a powerful combination for building forms in React: React Hook Form reduces re-rend
// Form handling is a critical aspect of web applications that collect data from users. React Hook Form and Zod provide a powerful combination for building forms in React: React Hook Form reduces re-rend
[HINT] Download the complete skill directory including SKILL.md and all related files
| id | SKL-form-FORMHANDLING |
| name | Form Handling |
| description | Form handling is a critical aspect of web applications that collect data from users. React Hook Form and Zod provide a powerful combination for building forms in React: React Hook Form reduces re-rend |
| version | 1.0.0 |
| status | active |
| owner | @cerebra-team |
| last_updated | 2026-02-22 |
| category | Backend |
| tags | ["api","backend","server","database"] |
| stack | ["Python","Node.js","REST API","GraphQL"] |
| difficulty | Intermediate |
(Select at least one profile to enable specific modules)
Form handling is a critical aspect of web applications that collect data from users. React Hook Form and Zod provide a powerful combination for building forms in React: React Hook Form reduces re-renders and improves performance, while Zod provides validation that is runtime-safe and type-safe. This skill covers using React Hook Form and Zod to create forms with high validation quality, error handling, async validation, dynamic fields, and integration with UI libraries.
# Example implementation following best practices
def example_function():
# Your implementation here
pass
.env.example keys: API_KEY, DATABASE_URL (no values)| Type | Focus Area | Required Scenarios / Mocks |
|---|---|---|
| Unit | Core Logic | Must cover primary logic and at least 3 edge/error cases. Target minimum 80% coverage |
| Integration | DB / API | All external API calls or database connections must be mocked during unit tests |
| E2E | User Journey | Critical user flows to test |
| Performance | Latency / Load | Benchmark requirements |
| Security | Vuln / Auth | SAST/DAST or dependency audit |
| Frontend | UX / A11y | Accessibility checklist (WCAG), Performance Budget (Lighthouse score) |
request_iderror_rate, latency, queue_depth(ข้อกำหนดสำหรับ AI Agent ในการคิดและแก้ปัญหาเมื่อเกิดข้อผิดพลาด)