form-gen

Verified·Scanned 2/18/2026

This skill is a CLI tool that generates React form components by calling the OpenAI API. It requires the OPENAI_API_KEY environment variable and makes network requests via the openai SDK.

from clawhub.ai·vf1b6448·39.6 KB·0 installs
Scanned from 1.0.0 at f1b6448 · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/form-gen

@lxgicstudios/ai-form

Generate form components with validation from plain English descriptions.

Install

npm install -g @lxgicstudios/ai-form

Usage

npx @lxgicstudios/ai-form "signup form with email, password, name"
npx @lxgicstudios/ai-form "checkout form with address and payment" -t
npx @lxgicstudios/ai-form "contact form" -o ContactForm.tsx -t

Options

  • -t, --typescript - Generate TypeScript
  • -l, --library <lib> - Validation library (default: react-hook-form + zod)
  • -o, --output <file> - Write to file

Setup

export OPENAI_API_KEY=sk-...

License

MIT