form-creator

Generate Zod validation schemas, typed form components, and protected CRUD API routes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/alisonbessa/bluemoon --skill form-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: form-creator
Source: https://github.com/alisonbessa/bluemoon/tree/main/.claude/skills/form-creator
Command: npx skills add https://github.com/alisonbessa/bluemoon --skill form-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building forms, validation schemas, and CRUD API scaffolds without boilerplate is time-consuming and error-prone.

Core Features & Use Cases

  • Validation Schema: Define and export a TypeScript Zod schema in src/lib/validations/{feature}.schema.ts and the inferred type for strong typing.
  • Form Component: Create interactive client-side forms in src/components/forms/{feature}-form.tsx, using useForm with zodResolver and Shadcn components.
  • API Routes: Implement RESTful endpoints in src/app/api/{feature}/route.ts with protected access and standard CRUD operations (GET, POST, PATCH).

Quick Start

Create a new feature form by following the outlined file structure to generate the validation schema, form component, and API routes.

Frequently Asked Questions about form-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to reduce boilerplate when building forms and CRUD APIs?

Scaffolding forms and CRUD APIs reduces boilerplate by generating typed validation schemas, interactive form components, and protected RESTful API routes. This approach speeds up development for data-entry features like admin dashboards and onboarding flows.

How do I set up validation schemas for frontend forms?

To set up validation schemas, define and export a TypeScript Zod schema within your validation file structure and infer the type for strong typing. This schema connects to your form component using a zodResolver to enforce client-side data validation.

Can I use Shadcn components with Zod validation for data entry flows?

Yes, you can build interactive client-side forms using Shadcn components integrated with useForm and zodResolver. This combination allows you to manage form state and validation schemas seamlessly for admin dashboards, surveys, and onboarding flows.

Does form scaffolding support protected API routes for CRUD operations?

Form scaffolding supports protected API routes by implementing RESTful endpoints with standard CRUD operations like GET, POST, and PATCH. This ensures your backend data-entry APIs have proper validation and protected access.

Why should I use a typed form component schema instead of manual validation?

Using a typed form component schema prevents errors by exporting an inferred TypeScript type directly from your Zod validation schema. This ensures your frontend forms and backend API routes share consistent data structures without manual boilerplate.