refactor-form-to-builder
CommunityTurn forms into declarative builders, faster.
Authorhunmer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill converts verbose Flutter forms into a declarative FormBuilderWrapper configuration, reducing boilerplate and improving maintainability.
Core Features & Use Cases
- Automated form detection: analyzes TextField, TextFormField, DropdownButton, Switch, and date/time pickers to generate a FormFieldConfig list.
- Wrapper generation: creates missing field wrappers and maps existing ones to FormFieldConfig entries.
- OnSubmit integration: wires submit handlers and optional reset behavior for clean form flows.
- Use Case: refactor a settings screen to a single FormBuilderWrapper with a concise, declarative config.
Quick Start
Run the tool on a Flutter form file to generate a FormBuilderWrapper-compatible FormConfig. Example: /refactor-form-to-builder lib/screens/settings/settings_screen.dart The generated config can be pasted into a FormBuilderWrapper to replace the legacy form.
Dependency Matrix
Required Modules
None requiredComponents
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: refactor-form-to-builder Download link: https://github.com/hunmer/Memento/archive/main.zip#refactor-form-to-builder Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.