# form-field-labels

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1120 repo stars
- Author: rerun-build
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/rerun-build/rerun/tree/HEAD/.claude/skills/form-field-labels/SKILL.md
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/form-field-labels

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill form-field-labels -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/form-field-labels/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/form-field-labels/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill form-field-labels -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/form-field-labels/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill form-field-labels -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/form-field-labels/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install rerun-build/rerun .claude/skills/form-field-labels
```

2. **Manually: put the files in place**
- File: `.github/skills/form-field-labels/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill form-field-labels -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/rerun-build/rerun --path .claude/skills/form-field-labels
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/form-field-labels/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/rerun-build/rerun/tree/HEAD/.claude/skills/form-field-labels/SKILL.md

## When to use it
- 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
- 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.

## Similar
- [tanstack-form](https://affpapa.org/en/nevibecode/skills/tanstack-form.md) — skill · 4500 installs
- [react-hook-form-zod](https://affpapa.org/en/nevibecode/skills/react-hook-form-zod.md) — skill · 725 installs
- [form-wizard-builder](https://affpapa.org/en/nevibecode/skills/form-wizard-builder.md) — skill · 344 installs
- [form-design](https://affpapa.org/en/nevibecode/skills/form-design.md) — skill · 2400 installs
- [form-ux-patterns](https://affpapa.org/en/nevibecode/skills/form-ux-patterns.md) — skill · 120 installs
- [mantine-form](https://affpapa.org/en/nevibecode/skills/mantine-form.md) — skill · 2900 installs

From the same set: [rerun-build/rerun](https://affpapa.org/en/nevibecode/by/rerun-build/rerun.md) — 25 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
