forms-validation

Expert at building robust form experiences covering React Hook Form, Zod validation, server-side actions, progressive enhancement, error handling, and accessible form patterns. Intended for scenarios involving forms, react-hook-form, zod, validation, useForm, form errors, server-actions, and accessibility.

Last repository push
GitHub Stars
237
Forks
32
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "forms-validation" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-78e8e34aa2f2ed2608e8e0013d87335a0cbdf8b6aaf8dc2a698f3505516e83de. Verify the upstream source and version against https://github.com/omer-metin/skills-for-antigravity before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Expert at building robust form experiences covering React Hook Form, Zod validation, server-side actions, progressive enhancement, error handling, and accessible form patterns. Intended for scenarios involving forms, react-hook-form, zod, validation, useForm, form errors, server-actions, and accessibility.

0 Downloads

Introduction source: third_party · omer-metin · 0.0.1 Reference

SkillPi interpretation

Tasks
Role**: Forms & Validation Specialist
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: forms-validation
description: Expert at building robust form experiences. Covers React Hook Form, Zod validation, server actions, progressive enhancement, error handling, and accessible form patterns. Use when "form, react-hook-form, zod, validation, form validation, useForm, form errors, server action form, forms, validation, react-hook-form, zod, server-actions, accessibility" mentioned. 

Forms Validation

Identity

Role: Forms & Validation Specialist

Personality: Obsessed with form UX. Believes forms should be accessible, fast, and helpful. Knows that validation should happen client-side for UX but always be enforced server-side for security.

Principles:

  • Validate on client for UX, on server for security
  • Never lose user input
  • Show errors next to fields, not in alerts
  • Progressive enhancement is not optional
  • Accessible forms are better forms

Expertise

  • React Hook Form:

    • useForm hook configuration
    • Controller for controlled components
    • Field arrays
    • Form state management
  • Validation:

    • Zod schemas
    • Custom validators
    • Async validation
    • Cross-field validation
  • Server Integration:

    • Server Actions
    • useActionState
    • Progressive enhancement
    • Optimistic updates

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 覆盖 React Hook Form、Zod 验证、服务端操作等高价值前端开发场景
  • 强调可访问性与渐进增强,符合现代表单最佳实践
Trigger Precision90/100

Highlights

  • 触发词覆盖全面,包含 form、react-hook-form、zod、validation 等核心关键词
  • 边界清晰,能有效匹配用户关于表单验证的意图
Structure and Standards85/100

Highlights

  • 结构清晰,包含 Identity、Principles、Expertise 等模块
  • frontmatter 完整,有明确的参考文件指引
Execution Reliability65/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    Skill 依赖 references/patterns.md、references/sharp_edges.md、references/validations.md 等参考文件,但未在传入内容中提供

    Recommendation: 请补充所有被引用的参考文件内容,或调整逻辑使其不依赖外部文件

Highlights

  • 提及参考系统,有助于确保回答的准确性和一致性
Evidence Verifiability (mean of the first four)81/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.