free resource

Stop guessing your form spacing

Eyeballed spacing always comes out uneven: every field ends up at a different distance and the form looks amateur. This skill teaches your AI my spacing system, with fixed measures, so every form comes out aligned on mobile and desktop.

step 1

Download the skill

It's a .zip file with the skill inside: the rules, the measures ready in CSS and an example form. You install it once and it stays saved in your AI.

download the skill (.zip) Using Claude? Don't unzip it. It takes the .zip just as you downloaded it.
step 2

Install it where you use AI

Claude (web or app)

  1. Open Settings and go to Capabilities.
  2. Make sure code execution and file creation is on. Skills need it.
  3. In the Skills section, click upload skill and pick the .zip you downloaded.
  4. Turn on the form-spacing skill in the list.
  5. Open a new chat and ask for your form (examples in step 3).

Claude Code

  1. Unzip the file.
  2. Move the form-spacing folder into ~/.claude/skills/ (works for every project).
  3. Reopen Claude Code and ask for your form.

ChatGPT or Codex

  1. Create a project in ChatGPT just for this.
  2. Unzip the file. Open SKILL.md, copy everything and paste it into the project instructions.
  3. Upload what's in the assets folder to the project files.
  4. In a chat inside the project, ask for your form.
In Codex on your computer, just move the form-spacing folder to ~/.codex/skills/.
step 3

How to ask

It works for any screen with fields: login, sign up, checkout, contact, booking, settings. In HTML, React, Tailwind and even Figma.

1"Create the sign up form for my website using the form spacing skill."
2"My contact form looks cramped and uneven. Redo the spacing with the skill." (and send the file or a screenshot)
3"Review the spacing on this checkout screen and tell me what's off."
cheat sheet

The measures it uses

All on the 4px grid. Save it for your next project, with or without AI.

24pxFrom the form to the edge of the screen or card (32px on desktop). Nothing touches the edge.
8pxFrom the title to the caption.
24pxFrom one group to the next: header, fields and buttons.
8pxFrom the label to the input.
20pxFrom one field to the next.
4pxFrom the input to the helper text (or the error message, which takes the same spot).
24pxFrom the last field to the primary button.
8pxFrom one button to the next.
what's inside

The measures ready in CSS to paste into your project, a step by step on building the form in groups, the measures translated to Tailwind and to Figma auto layout, an example form with an error state and dark mode, and a checklist for the AI to run before handing it to you.

example

The same form, before and after

A contact form with eyeballed spacing, and the same form after asking the AI to fix it with the skill. The form is in Portuguese, the spacing speaks every language.

Before
Contact form on mobile with eyeballed spacing: content almost touching the edge, uneven distances between fields and buttons stuck together
After, with the skill
The same form with the skill: breathing room to the edge, the same distance between every field and buttons stacked 8px apart

Fictional company, made up for the test.

Copied!