
Forms and input
Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware
Forms and input is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- JavaScript, TypeScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 16
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Forms and input
This skill sets up forms in an Expo app around react-hook-form with a single valibot schema per form, so the field types, runtime checks and error messages all come from one definition. Every validation message is a translation catalog key rather than English text, and a shared TextField component takes a field kind that sets keyboard type, autofill, capitalization and secure entry together.
The skill covers the rest of the input path too: the return key moves focus down the form and submits on the last field, the keyboard is kept from covering the focused field or the Done bar, and errors appear only after a field is blurred. Async checks, such as verifying a name is free, run in a separate hook with debouncing and deadlines rather than inside the schema. A zero-dependency checker script scans the app source against these rules and reports pass or fail.
The skill expects a project that already has the theme, translation catalogs, and helper skills it names as prerequisites. It installs react-native-keyboard-controller and the react-hook-form, resolver and valibot packages, and its templates are TypeScript and JavaScript files for the field kit, hooks and a sample task editor form.
When your agent uses it
Builds react-hook-form + valibot forms: one schema, catalog-key errors, TextField kinds (keyboard, autofill), focus chain. Use when adding a form, text field or validation, or the keyboard hides a field. Not for sign-in (auth-and-secure-storage).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript and TypeScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 93 files (405 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the react-native plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skillsOr copy only this skill to ~/.claude/skills/forms-and-input:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/forms-and-input &&
cp -R "$tmp/skills/forms-and-input" ~/.claude/skills/forms-and-input &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/forms-and-input inside it instead.
Copy the skill folder to ~/.agents/skills/forms-and-input to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/forms-and-input &&
cp -R "$tmp/skills/forms-and-input" ~/.agents/skills/forms-and-input &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/forms-and-input inside it instead.
Copy the skill folder to ~/.cursor/skills/forms-and-input to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/forms-and-input &&
cp -R "$tmp/skills/forms-and-input" ~/.cursor/skills/forms-and-input &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/forms-and-input inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/forms-and-inputOr copy the folder to ~/.gemini/skills/forms-and-input yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/forms-and-input:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/forms-and-input &&
cp -R "$tmp/skills/forms-and-input" ~/.copilot/skills/forms-and-input &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/forms-and-input inside it instead.
Get the folder:
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.gitThen copy ReactNative-Skills/skills/forms-and-input into your agent's skills folder as forms-and-input. Agents that support SKILL.md read one folder per skill.
What it does
- Single schema validation
- Each form is defined once as a valibot schema wired into react-hook-form through a resolver.
- Translatable error messages
- Validation messages are catalog keys translated at the field, not hard-coded English.
- Field kinds for input
- A TextField kind sets keyboard, autofill, capitalization and secure entry together.
- Keyboard-aware layout
- Forms scroll so the focused field and a Done bar stay above the on-screen keyboard.
- Return-key focus chain
- The return key moves to the next field and submits from the last one.
- Async availability checks
- A dedicated hook runs server-side checks with debouncing, deadlines and stale-answer protection.
- Form source checker
- A zero-dependency script scans the app source for the form rules and reports pass or fail.
Good for
- Add a sign-up form with name, email and password fields
- Validate a numeric amount field that accepts Arabic or Persian digits
- Check whether a list name is already taken while the user types
- Make a long form keep the focused input visible above the keyboard
- Translate form validation messages into several languages
Forms and input FAQ
Which libraries does Forms and input need installed?
It installs react-native-keyboard-controller through Expo, and react-hook-form, @hookform/resolvers and valibot via npm at pinned versions.
Does Forms and input cover sign-in forms?
No. Sign-in flows are handled by the separate auth-and-secure-storage skill.
How is the form checker run?
From the repository root, run node scripts/check-forms.mjs on the app folder; it prints RESULT: PASS or lists problems.
Does Forms and input depend on other skills?
Yes. It names prerequisites from several owner skills, including the theme, translation catalogs and async helpers, which must exist first.
How do I install Forms and input in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/forms-and-input to use it in all your projects, or to .claude/skills/forms-and-input in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.
Does Forms and input run scripts?
Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Forms and input?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Forms and input?
The closest alternatives to Forms and input are Formisch, Vue forms, I18n strings and catalogs, Error handling typed results and Adaptive layout.
Where this comes from
- Description: from the skill's own SKILL.md.
More from zakariaf/ReactNative-Skills

Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout
- Open source
- 16 GitHub stars
- Developer tools

Adds a gated debug menu, debug deep link and simulated clock and offline mode to React
- Open source
- 16 GitHub stars
- Developer tools

Checks React Native code for accessibility labels, touch targets, text scaling
- Open source
- 16 GitHub stars
- Developer tools

Sells a one-time Premium unlock through the App Store and Google Play
- Open source
- 16 GitHub stars
- Finance and payments

Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit
- Open source
- 16 GitHub stars
- Developer tools

Headless seeded bot sims that measure and tune difficulty in React Native games
- Open source
- 16 GitHub stars
- Developer tools



