spacing
Skill4 starsChanged 7 months agoMITView on GitHub
Generate a spacing scale token file based on the spacing grid detected by /scan (4px, 8px, etc). Produces an 8-step t-shirt scale (xs/sm/md/lg/xl/2xl/3xl/4xl) anchored on the grid. Use when the user wants to formalize spacing tokens or scaffold a layout system. Defaults to dry-run; pass --apply to write. Run as `node ~/.claude/skills/dragoon/skills/spacing/scripts/spacing.js`.
In this repository37 other files it gives its agents.
- useforgekitSkill
- accessibilitySkill
- autoplanSkill
- benchmarkSkill
- briefSkill
- canarySkill
- carefulSkill
- colorSkill
- componentSkill
- critiqueSkill
- diffSkill
- docsSkill
- forgeSkill
- freezeSkill
- handoffSkill
- installSkill
- inventorySkill
- investigateSkill
- landSkill
- mapSkill
- memorySkill
- motionSkill
- perfSkill
- plan-designSkill
- plan-engSkill
- qaSkill
- researchSkill
- retroSkill
- reviewSkill
- scanSkill
- second-opinionSkill
- shipSkill
- slopSkill
- storybookSkill
- syncSkill
- tailwindSkill
- typographySkill
The file
Files
/spacing
Generates a spacing scale token file anchored on your detected grid.
When to use
- The user wants to formalize spacing tokens
- The user asks to "extract spacing", "create a spacing scale", "scaffold layout tokens"
- Cleaning up a codebase that has many off-grid values
Scale produced
8 steps as multiples of the detected grid:
- xs (0.5x), sm (1x), md (2x), lg (3x), xl (4x), 2xl (6x), 3xl (8x), 4xl (12x)
For an 8px grid: 4, 8, 16, 24, 32, 48, 64, 96.
Run it
dragoon spacing
dragoon spacing --apply
dragoon spacing --format tailwind --applyDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

