building-forms

building-forms is a skill for Claude Code from ancoleman/ai-design-components. It costs 102 tokens per session (3,381 once invoked), scanned A, original, MIT.

Guidance for building forms and other interfaces that collect structured information, such as contact forms, registrations, checkouts, surveys, and settings pages. It covers input choices, validation, multi-step flows, and accessibility for people using assistive technologies.

In plain words
What is it for?
Use it to build forms with many input types, inline or multi-step validation, conditional fields, checkout flows, surveys, and accessible interfaces.
Why use it?
It helps turn user-entered information into clear, checked data while making forms easier to use. It also addresses accessibility requirements described by WCAG 2.1, a set of web-accessibility guidelines.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ui-input-skills plugin — 2 skills shipped together

Good fit Use it to build forms with many input types, inline or multi-step validation, conditional fields, checkout flows, surveys, and accessible interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ancoleman/ai-design-components/building-forms
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ancoleman/ai-design-components --skill building-forms
Clone the repo
git clone --depth 1 https://github.com/ancoleman/ai-design-components

Made for: Claude Code.

Or install ui-input-skills, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for building-forms

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancoleman/ai-design-components/building-forms/github.svg)](https://agentmods.dev/skills/ancoleman/ai-design-components/building-forms)
Your own site
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/building-forms"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/building-forms/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for building-forms

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/building-forms"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/building-forms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.03381
Opus 5.5 $0.00041 $0.01352
Sonnet 5.5 $0.00020 $0.00676
Haiku 4.5 $0.00010 $0.00338

Measured 3mo ago against content hash e7d715b1ade2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

building-forms scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 12 executable files (examples/python/async_database_validation.py, examples/python/basic_form.py, examples/python/django_forms_example.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/building-forms/SKILL.md · 430 lines

How it starts

The opening of the file, as written. The whole thing — 430 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Form Systems & Input Patterns

Build accessible, user-friendly forms with systematic component selection, validation strategies, and UX best practices.

Purpose

Forms are the primary mechanism for user data input in web applications. This skill provides systematic guidance for:

  • Selecting appropriate input types based on data requirements
  • Implementing validation strategies that enhance user experience
  • Ensuring WCAG 2.1 AA accessibility compliance
  • Creating complex patterns (multi-step wizards, conditional fields, dynamic forms)

When to Use This Skill

Triggers:

  • Building contact forms, login/registration flows, checkout processes
  • Implementing surveys, questionnaires, or settings pages
  • Adding validation to user inputs
  • Creating multi-step workflows or wizards
  • Ensuring form accessibility
  • Collecting structured data (addresses, credit cards, dates)

Common Requests:

  • "Create a registration form with validation"
  • "Build a multi-step checkout flow"
  • "Add inline validation to email input"
  • "Make this form accessible for screen readers"
  • "Implement a survey with conditional questions"

Universal Form Concepts

Component Selection Framework

The Golden Rule: Data Type → Input Component → Validation Pattern

Start by identifying the data type to collect, then select the appropriate component:

Quick Reference:

  • Short text (<100 chars) → Text input, Email input, Password input
  • Long text (>100 chars) → Textarea, Rich text editor, Code editor
  • Numeric → Number input, Currency input, Slider
  • Date/Time → Date picker, Time picker, Date range picker
  • Boolean → Checkbox, Toggle switch
  • Single choice → Radio group (2-7 options), Select dropdown (>7 options), Autocomplete (>15 options)
  • Multiple choice → Checkbox group, Multi-select, Tag input
  • File/Media → File upload, Image upload
  • Structured → Address input, Credit card input, Phone number input

For detailed decision tree: See references/decision-tree.md

Read the full file on GitHub · 430 lines

Files

What ships with it

42 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 430 lines · 102 tokens per session scan A e7d715b1ade2

Subscribe to this mod's changes

building-forms is a skill published in the GitHub repository ancoleman/ai-design-components (536 stars, last pushed 11mo ago), licensed MIT. It adds 102 tokens to every session and 3,381 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

building-forms compared with skills from other repositories

building-forms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
building-formsancoleman/ai-design-componentsSkill53611mo agoMITA102Claude Code
ui-ux-lawsAmirGhl/ui-ux-lawsSkill24mo agoMITA203Claude Code, Codex
Brandb1rdmania/claude-brand-skillsSkill289mo agononeA42Claude Code, Codex
canvas-designb1rdmania/claude-brand-skillsSkill289mo agononeA59Claude Code, Codex
frontend-designb1rdmania/claude-brand-skillsSkill289mo agononeA43Claude Code, Codex
Artb1rdmania/claude-brand-skillsSkill289mo agononeC25Claude Code, Codex
agb-begriff-vorformuliert-305Klotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A68Claude Code