agentleFS
lexicalninjalexicalninja/my-little-scrum-team/skills/spacing-system-designer/SKILL.md

spacing-system-designer

Skill2 starsChanged 4 months agoMITView on GitHub

Creates spacing and sizing systems including margins, padding, gaps, and consistent spacing scales. Defines spacing tokens and usage guidelines for consistent layouts.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create spacing scale (4px, 8px, 16px base or similar)

    line 11
  2. Distinctive:

    Consider responsive spacing adjustments

    line 14

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spacing System Designer Skill

Instructions

  1. Analyze spacing requirements from task
  2. Create spacing scale (4px, 8px, 16px base or similar)
  3. Define spacing tokens for margins, padding, gaps
  4. Specify spacing usage guidelines
  5. Consider responsive spacing adjustments
  6. Return structured spacing system specifications with:
    • Spacing scale
    • Spacing tokens
    • Usage guidelines
    • Responsive variations

Examples

Input: "Create spacing system" Output:

### Spacing System

**Base Unit:** 4px

**Spacing Scale:**
- xs: 4px (0.25rem)
- sm: 8px (0.5rem)
- md: 16px (1rem)
- lg: 24px (1.5rem)
- xl: 32px (2rem)
- 2xl: 48px (3rem)
- 3xl: 64px (4rem)

**Spacing Tokens:**
- `spacing.xs`: 4px - Tight spacing, icon padding
- `spacing.sm`: 8px - Small gaps, compact layouts
- `spacing.md`: 16px - Standard spacing, component padding
- `spacing.lg`: 24px - Section spacing, larger gaps
- `spacing.xl`: 32px - Major section spacing
- `spacing.2xl`: 48px - Page section spacing
- `spacing.3xl`: 64px - Large page sections

**Usage Guidelines:**
- Component padding: md (16px)
- Component margins: lg (24px)
- Section spacing: xl (32px)
- Page margins: 2xl (48px)
- Grid gaps: md (16px)

**Responsive Spacing:**
- Mobile: Reduce spacing by 25% (md becomes 12px)
- Tablet: Standard spacing
- Desktop: Standard spacing

Spacing Types

  • Padding: Internal spacing within components
  • Margins: External spacing between components
  • Gaps: Spacing in grid/flex layouts
  • Gutters: Column spacing in grid systems
  • Section Spacing: Spacing between major sections
  • Component Spacing: Spacing between UI components

Spacing Scale Approaches

  • 4px Base: 4, 8, 12, 16, 24, 32, 48, 64px
  • 8px Base: 8, 16, 24, 32, 48, 64, 96px
  • Fibonacci: 4, 8, 12, 20, 32, 52px
  • Custom: Based on design needs

Responsive Considerations

  • Mobile: Tighter spacing (reduce by 20-25%)
  • Tablet: Standard spacing
  • Desktop: Standard or slightly increased spacing

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.