plugins/tailwindcss/skills/tailwindcss-spacing/SKILL.md
Spacing utilities Tailwind CSS v4.1. Margin (m-*, mx-*, my-*, mt-*, mr-*, mb-*, ml-*, -m-* negative, m-auto), Padding (p-*, px-*, py-*, pt-*, pr-*, pb-*, pl-*), Space between (space-x-*, space-y-*). Use when: setting margin or padding on any side, centering with m-auto, applying negative margins, or spacing flex/grid children with space-x-*/space-y-*.
npx skillsauth add fusengine/agents tailwindcss-spacingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Complete reference for Tailwind CSS v4.1 spacing utilities: margin, padding, and space-between.
Tailwind CSS v4.1 uses a configurable spacing scale where --spacing is the base unit (default: 0.25rem/4px).
| Class | Value | |-------|-------| | 0 | 0 | | px | 1px | | 0.5 | calc(var(--spacing) * 2) = 0.5rem | | 1 | calc(var(--spacing) * 4) = 1rem | | 2 | calc(var(--spacing) * 8) = 2rem | | 3 | calc(var(--spacing) * 12) = 3rem | | 4 | calc(var(--spacing) * 16) = 4rem | | 6 | calc(var(--spacing) * 24) = 6rem | | 8 | calc(var(--spacing) * 32) = 8rem | | 12 | calc(var(--spacing) * 48) = 12rem | | 16 | calc(var(--spacing) * 64) = 16rem |
<div class="mx-auto">Centered content</div>
<div class="p-6 bg-white rounded-lg shadow">Card content</div>
<div class="flex space-x-4">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
</div>
<div class="space-y-4">
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>Paragraph 3</p>
</div>
See detailed references:
testing
Copy self-audit and ban-lists — filler verbs/hype adjectives, slop placeholder names, fake-precise numbers, Title Case headlines, humor in error copy ('Oops!'), em-dash crutch, one copy register per page.
development
Logged-in web apps — dashboards, auth flows, settings, onboarding, data tables, command palettes, modals, toasts. Register `product`: density and glance-speed over marketing polish, no hero/CTA-tricks, every data surface covers empty/loading/error explicitly, tables and dataviz follow preattentive-processing rules.
development
Marketing sites, landing pages, campaign pages — register `brand` (design IS the product). Structure comes from the register's POV + a macrostructure pick, never from copying an inspiration site's section flow. Hero discipline, deviated section order, asymmetric grids, and a silhouette lookalike-test gate before ship.
development
Token-strategy core — OKLCH color rules, neutral tinting, accent-commitment levels, type scale, 8pt spacing grid, touch targets, and the canonical output format of design-system.md (the file the harness gates on). This is routing step 1 of design-method/SKILL.md — read it before design-web/design-webapp/design-ios/design-android, before picking or auditing a single color/type/spacing value.