一键导入
add-form-manager
Introduce React Hook Form + Zod for form state, validation, and typed submission flows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Introduce React Hook Form + Zod for form state, validation, and typed submission flows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add or update URL redirects in the server redirect registry, with status-code rationale and E2E coverage.
Configure the private route as a hidden admin utility. Moves credentials to env vars; operator updates .env using .envTemplate instructions. No credentials passed to the skill.
Migrate the current REST API usage to TanStack Query with server-state caching, invalidation, and progressive rollout.
Replace GitHub Actions CI with GitLab CI/CD while preserving the same lint, typecheck, and Playwright E2E behavior and updating docs for gitlab.com settings.
Migrate the client UI layer from Chakra UI to shadcn/ui and fully remove Chakra dependencies.
Update the combined policy-writing guide page and keep linked routes, metadata, tests, and docs in sync.
| name | add-form-manager |
| description | Introduce React Hook Form + Zod for form state, validation, and typed submission flows. |
Use this skill when adding or migrating forms to a standardized form-management layer.
Adopt React Hook Form + Zod so form validation is declarative, typed, reusable, and easier to test.
src/client/pages/Login.tsx.package.json)react-hook-formzod@hookform/resolverssrc/client/pages/login-schema.ts) or shared src/client/utilities/validation/.z.object() schema and infer TS type from it.username, password, etc.).useForm.zodResolver for validation.Unreleased entry in CHANGELOG.md.npm run lintnpm run type-checknpm run test:e2e -- --spec playwright/e2e/auth/login.spec.ts