sima-form-creation

Community

Streamline form creation with best practices.

AuthorRosenGray
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured, best-practice guideline to simplify and standardize the creation of publish-form UIs, reducing boilerplate and ensuring consistency across ad campaigns.

Core Features & Use Cases

  • Component structure guidelines: forms should be placed in app/(private)/publish-ad/_components/{category}/{FormName}/ with files named {FormName}.tsx and {FormName}.styles.ts, using PascalCase form names and a top-level "use client" directive.
  • Validation and state management: integrate with the conform-to/react library for real-time validation, backed by a Zod schema, and manage form state with useActionState and server actions.
  • Data handling and UI behavior: support dependent dropdowns, image/file uploads via DropFilesInput, and server interactions to create or update ads.

Quick Start

Follow the Quick Start instructions to implement a CarPublishForm using the guidelines and wire it to a publishCarAd server action.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sima-form-creation
Download link: https://github.com/RosenGray/sima/archive/main.zip#sima-form-creation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.