Skip to main content

enhance-web-forms

星标7
分支0
更新时间2026年7月29日 01:28

Build or upgrade web forms to production quality: accessible structure (labels, fieldsets, autocomplete, correct input types), schema-driven validation with client↔server parity, inline errors correctly associated for screen readers, complete interaction states (loading, disabled, success, error, empty), multi-step flows, unsaved-changes guards, and optimistic/pending submit feedback. Auto-detects the form + validation stack (react-hook-form, Formik, TanStack Form, native; zod/yup/valibot). Use when "improve this form", "form validation", "accessible form", "multi-step form", "form error handling", "the form UX is bad", or "enhance-web-forms". Applies changes and verifies them. Delegates deep a11y to audit-accessibility, submit-contract checks to audit-fe-api, and micro-feedback to design-motion.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly