.codex/prompts/forge-spacing/SKILL.md
Regenerate the spacing scale from your system's base unit. Outputs 13 steps from 4px to 128px.
npx skillsauth add Dragoon0x/forge forge-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.
Base unit: 4px (from .forge.json).
Scale: 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96, 128
Output as CSS custom properties: --space-1: 4px through --space-32: 128px
Plus Tailwind spacing config and suggested usage per step.
content-media
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
development
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
tools
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
development
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.