Build a Next.js form using the app's existing mutation path, not a second stack.
Install
npx skills add https://github.com/blockmatic/basilic-skills --skill w-formSKILL.md
Implement a form in the current Next app. Follow next-v16 and shadcn-v3. If the app already mutates through an API client (Fastify + TanStack Query), do not introduce Server Actions, useFormStatus, or useOptimistic for those flows.
- Inspect how neighboring forms submit. Reuse that path.
- Share one Zod schema for client UX and server validation.
- Wire accessible labels, errors, pending, and empty/error/success states with existing UI primitives.
- Run lint and exercise submit, validation failure, and keyboard path.
- Docs:
/w-docsif behavior or commands changed.
Related skills
w-a11yblockmaticAudit UI against repository a11y docs and tests; do not invent a WCAG level.w-api-docsblockmaticRefresh API docs from the owning schema source; never edit generated OpenAPI by hand.w-api-testblockmaticAdd API tests that exercise public HTTP behavior against existing harnesses.w-architectureblockmaticPlan an implementation structure; durable decisions belong in ADRs and architecture docs.