Skip to main content
skill CX Codex

form-field-labels — Claude Code skill: forms

form-field-labels — a Claude Code skill routes form titles through the shared Field component. It activates when adding or redesigning a field in apps/ui.

AGPL-3.0 ★ 1,120 updated 2026-11-16

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rerun-build/rerun --skill form-field-labels -a claude-code
Open on GitHub

What form-field-labels does

The skill sets one pattern for field titles in apps/ui: use the shared Field component with text-xs font-medium text-muted-foreground. Input and Textarea take a label prop; Select and Combobox sit inside Field. Use the row orientation for Switch and Checkbox. Hints and errors go through helperText and error.

The rule covers named settings, but not list rows labelled with an agent or provider name, or table-selection checkboxes. With react-hook-form, Field must not be the direct child of FormControl, which passes properties to its single child. Run cd apps/ui && npx tsc --noEmit to check types after a change.

What it helps with

  • give Input and Textarea fields consistent titles
  • add a title to Select or Combobox with Field
  • label a switch or checkbox with a horizontal layout
  • find hand-styled field titles in a form

Example prompts for the agent

  • Add a Select field in apps/ui and title it with the shared Field component.
  • Update a Textarea in apps/ui to use its label prop.
  • Check the new react-hook-form form against the form-field-labels skill.

How to install form-field-labels

1Skills CLI (Vercel)

npx skills add rerun-build/rerun --skill form-field-labels -a claude-code

2Manually: put the files in place

~/.claude/skills/form-field-labels/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/form-field-labels/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about form-field-labels

How do I install form-field-labels in Claude Code?

Run npx skills add rerun-build/rerun --skill form-field-labels -a claude-code. The skill file is at ~/.claude/skills/form-field-labels/SKILL.md.

What does form-field-labels do?

It sets a shared pattern for form titles through Field and its standard style. The skill covers different controls and integration with react-hook-form.

How should I use form-field-labels with react-hook-form?

Do not make Field the direct child of FormControl, which passes properties to its single child. For Select and Combobox, place FormControl inside Field.

Similar skills

All skills for Frontend and UI →

From the same set25

The whole set →
sort-components The sort-components Claude Code skill sorts UI components into folders by feature. It activates when adding a component or reorganizing apps/ui/components/. CX Codex +1 ★ 1,120repo stars confirm-destructive-actions The confirm-destructive-actions Claude Code skill sets confirmation rules for risky UI actions. It activates when adding a destructive button or writing a confirmation dialog. CX Codex +1 ★ 1,120repo stars loading-skeletons A Claude Code skill for building loading skeletons that match each component’s layout. It applies when adding a loading state or replacing a spinner in a content area. CX Codex +1 ★ 1,120repo stars investigate-bug investigate-bug — a skill for Claude Code that gathers evidence and traces a bug to its cause before a fix is written. It starts on bug reports, incidents, customer complaints, or requests to reproduce an issue. CX Codex +1 ★ 1,120repo stars create-dialog The create-dialog Claude Code skill sets patterns for creating and redesigning app dialogs. Short forms use a basic frame; lists that open detail views use a panel with stepped navigation. CX Codex +1 ★ 1,120repo stars shared-badge This Claude Code skill standardizes status and label pills with a shared Badge component. It activates when a badge is added to a list, table, or dialog. CX Codex +1 ★ 1,120repo stars update-docs The update-docs Claude Code skill checks Rerun’s documentation against code changes. It runs before work is marked done or a pull request is opened for changes to specified project areas, and on direct requests to update the docs. CX Codex +1 ★ 1,120repo stars menu-item-icons The menu-item-icons Claude Code skill helps decide which menu items need icons. It applies when creating or redesigning a DropdownMenu or ContextMenu, and when reviewing a menu where every item has an icon. CX Codex +1 ★ 1,120repo stars

Project sponsors

Companies that keep this analytics open