building-forms

building-forms is a skill for Claude Code, Codex 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 CodeCodex

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

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.

agentmods
npx agentmods add skills/ancoleman/ai-design-components/building-forms
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00102 $0.03381
Opus 5 $0.00051 $0.01690
Sonnet 5 $0.00020 $0.00676
Haiku 4.5 $0.00010 $0.00338

Measured 4d ago against content hash e7d715b1ade2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (517 stars, last pushed 8mo ago), licensed MIT. It adds 102 tokens to every session and 3,381 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

ux-design

Use when the user asks for UX, product flow, user journey, wireframes, usability, conversion, onboarding, checkout, signup, navigation, forms, state design, dashboard workflows, command palettes, settings, permissions, long-running task progress, admin/internal tools, activation, retention, or making an app easier to…

f0d010c/stark · 125 tokens

design-with-claude

Use when design work needs a product designer's eye: auditing a codebase for design-system gaps, fixing WCAG contrast and unlabeled inputs, choosing type scales or spacing steps, reviewing UI that looks generic or AI-generated, or designing forms, tables, dashboards, navigation, checkout, onboarding, dark mode, and…

imsaif/design-with-claude · 85 tokens

mimic-ai

Use when building, editing, or iterating on a Figma design via the Mimic AI MCP server (mimicstatus, mimicdiscoverds, figmacreateframe, figmainsertcomponent, mimicbuildtable, mimicbuildchart, etc. are available), or when the user asks to turn HTML, a prompt, or a Claude Design/Figma Make prototype into real Figma…

miapre/mimic-ai · 114 tokens

pencilplaybook

PencilPlaybook is the UI Skills / Taste-Skill for Pencil.dev + Claude Code — a design playbook that gives Claude real perceptual psychology and senior-level guardrails so it stops producing averaged-out AI slop.

stevembarclay/pencilplaybook · 50 tokens

screenshot-to-design-system

Extracts color tokens and component styles from UI screenshots by reading each control region individually (not full-page layout). Generates a complete design system demo with tokens.css and components.html. Ignores backgrounds and icons. Use when the user uploads a UI screenshot, asks for design tokens, color palette…

WCF900905/screenshot-to-design-system · 75 tokens

Brand

Complete brand development system with emotive foundation. Triggers on requests for brand identity, logos, visual systems, or design guidelines. Creates distinctive, anti-AI-slop design from strategy through delivery.

b1rdmania/claude-brand-skills · 42 tokens