# uniform-forms

> Claude/Codex skill by [@uniformdev](https://omgskills.com/library/uniformdev/index.md) · 2 stars · Updated 2026-10-08

Use when adding a form (like contact, signup, newsletter, lead-capture or survey) to a Uniform project, when creating form field component definitions or building a generic form submission endpoint. Do not use when embedding an iframe for an external form provider.

## Install

```sh
git clone https://github.com/uniformdev/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/skills/uniform-forms ~/.claude/skills/uniform-forms
```

## From README

Uniform forms A form in Uniform is not a special entity — it is a composition of components. A Form container component renders the element and owns the resulting submit action; each input is its own component placed in the container's slot. Authors assemble forms in Uniform's visual editor; developers own the markup, state, and submission. Architecture Field components self-register with that context on mount and read/write their own value through it. The container never inspects its slot contents. Author-set Field name and identifier Every field must have a stable, author-set identifier. The name parameter is required on every field component. Slugify it to get the identifier used for the HTML name/id, and the payload key. Never fall back to a generated identifier, warn in the Uniform's visual editor when a field is missing an identifier. Form Submit or Fields should self-register Do not introspect slots. Do not walk component.slots.formFields to build fields.

## Links

- HTML page: https://omgskills.com/library/uniformdev/agent-skills/skills/uniform-forms/
- GitHub: https://github.com/uniformdev/agent-skills
- Author: [@uniformdev](https://omgskills.com/library/uniformdev/index.md)

## More from this repo

- [uniform-content-modeling](https://omgskills.com/library/uniformdev/agent-skills/skills/uniform-content-modeling/index.md) — Best practices for content modeling in Uniform — designing content types with well-chosen fields, validations, and...
   - [@uniformdev](https://omgskills.com/library/uniformdev/index.md) · 2 stars
- [uniform-enrichment-recommendations](https://omgskills.com/library/uniformdev/agent-skills/skills/uniform-enrichment-recommendations/index.md) — Used to add personalized, relevance-ranked content recommendations to a Uniform + React/Next.js project by boosting...
   - [@uniformdev](https://omgskills.com/library/uniformdev/index.md) · 2 stars
- [uniform-experience-modeling](https://omgskills.com/library/uniformdev/agent-skills/skills/uniform-experience-modeling/index.md) — Best practices for experience modeling in Uniform — designing component definitions with well-chosen parameters, slots,...
   - [@uniformdev](https://omgskills.com/library/uniformdev/index.md) · 2 stars
