agentleFS
LoserLabLoserLab/gridlock/AGENTS.md

gridlock

AGENTS.md1 starsChanged 9 months agoMITView on GitHub

Screenshot-to-layout-system analyzer for Claude Skills. Extracts grid systems, spacing rhythms, and density profiles from design screenshots. Part of a 5-skill design system pipeline: Hexed (colors) → Specimen (typography) → Gridlock (layout) → Eyes Peeled (accessibility) → Devourer (components)

  • In this repository2 other files it gives its agents.

The file

Files
AGENTS.md

Gridlock

Screenshot-to-layout-system analyzer for Claude Skills. Extracts grid systems, spacing rhythms, and density profiles from design screenshots.

When to suggest this skill

  • User uploads a screenshot and asks to extract the layout or grid system
  • User wants spacing scales, breakpoints, or layout tokens from a design reference
  • User needs to understand grid structure for design-to-code workflow
  • User mentions "grid system", "spacing scale", "layout analysis", "breakpoints"
  • User is doing design system work alongside Hexed (colors) or Specimen (typography)

What it produces

  • Grid configuration (column count, container width, margins, gutters)
  • Spacing scale (base unit, rhythm type, scale values)
  • Breakpoint patterns (inferred responsive behavior)
  • Nested grid structures within sections
  • Layout method recommendations (CSS Grid vs Flexbox by section)
  • Density profiles (whitespace-to-content ratio)

Key files

  • SKILL.md - Full skill instructions with step-by-step analysis workflow
  • scripts/grid_analyzer.py - Grid detection and nested grid utilities
  • scripts/spacing_analyzer.py - Spacing scale extraction
  • scripts/breakpoint_analyzer.py - Responsive pattern inference
  • scripts/layout_classifier.py - CSS Grid vs Flexbox classification
  • scripts/density_analyzer.py - Whitespace and density analysis
  • references/grid_patterns.md - Common grid system patterns
  • references/spacing_systems.md - Standard spacing scales

Suite context

Part of a 5-skill design system pipeline: Hexed (colors) → Specimen (typography) → Gridlock (layout) → Eyes Peeled (accessibility) → Devourer (components)

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.