mcpField
W
w-form

w-form

github.com/blockmatic-iceboxDevelopment1647 installsUpdated 4w ago
Repository

About w-form

w-form is a Basilic workflow agent skill for implementing forms in an existing Next app. It emphasizes shared Zod validation, accessible states, and following the app's established submission path.

Key features

  1. 01Follow the app's existing form submission path
  2. 02Share a Zod schema for client and server validation
  3. 03Add accessible labels and error states
  4. 04Handle pending, empty, error, and success states
  5. 05Run lint and exercise form interactions

Use cases

  1. 01Implement a form in an existing Next app
  2. 02Validate form input on client and server
  3. 03Check submission, validation errors, and keyboard access

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/blockmatic-icebox/basilic-skills --skill w-form

After installing, type/w-formin Claude Code to confirm it loaded.

Details

From the project README

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.

  1. Inspect how neighboring forms submit. Reuse that path.
  2. Share one Zod schema for client UX and server validation.
  3. Wire accessible labels, errors, pending, and empty/error/success states with existing UI primitives.
  4. Run lint and exercise submit, validation failure, and keyboard path.
  5. Docs: /w-docs if behavior or commands changed.

Comments

Markdown supported