generate-form
Installation
SKILL.md
Generate Form
Generate a form component with validation and store integration.
Usage
When user requests to create a form component, ask for:
- Form name (e.g., "WaterIntakeForm", "SleepLogForm")
- Fields needed (name, type, validation rules)
- Store action to call on submit (e.g., "addWaterLog")
- Whether it includes a list (add/remove items like MealLogForm)
Implementation Pattern
Based on src/components/forms/MealLogForm.tsx pattern.