From claude-code-starter
Generates validated, accessible form pages for contact forms, registrations, surveys, sign-ups, and multi-step wizards. Detects project tech stack to produce matching code with real-time validation, error handling, and a11y.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-starter:formThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
帮用户快速生成一个带验证的、可直接使用的表单。
帮用户快速生成一个带验证的、可直接使用的表单。
如果用户已经说了,直接开始。否则问:
你需要什么类型的表单?常见的有:
- 联系表单(姓名、邮箱、留言)
- 注册/登录表单
- 问卷调查
- 报名表
- 订单表单
- 多步骤向导(如注册流程:基本信息 > 偏好设置 > 确认提交) 也可以直接告诉我需要哪些字段。
根据表单类型列出默认字段,让用户确认:
这个表单包含以下字段: (列出字段名、类型、是否必填) 需要增减字段吗?
支持的字段类型:
检测项目技术栈,生成对应的表单代码:
多步骤向导额外包含:
无障碍要求(所有表单必须满足):
表单已生成。需要调整字段、样式或验证规则吗?
完成后提示:
用 /api 生成表单提交的后端接口。用 /email 配置表单提交后发送通知邮件。
npx claudepluginhub lightpointventures/claude-code-starterProvides form UX best practices: inline validation with 'reward early, punish late' strategy, auto-save vs explicit save, error messages, multi-step wizards, toggles.
Designs forms with progressive disclosure, smart defaults, forgiving formats, and error recovery. Guides validation timing (blur, keystroke, submit) and single-column layout for faster completion.
Ensures all form inputs are correctly labeled, errors are programmatically associated, and the form is operable with keyboard and screen reader.