agentleFS
cumabozkurtcumabozkurt/god-of-design/skills/god-layout/SKILL.md

god-layout

Skill0 starsChanged 2 months agoMITView on GitHub

Layout, grids and composition - column/modular/baseline grids, spacing scales, visual hierarchy, Gestalt principles, rule of thirds, golden ratio, Z/F reading patterns, whitespace, alignment, rhythm, focal points and responsive layout patterns (CSS Grid/Flexbox). Use when arranging elements on a page, poster, slide or screen, or when a design feels cluttered, unbalanced or flat.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Align everything: Every element should share an edge or centre line with something else.

    line 23

≈ “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

God Layout

Procedure

  1. One focal point per view. Decide what is seen first, second and third. Build hierarchy with size, contrast, position, isolation and colour, in roughly that order of strength.
  2. Pick a grid for the medium.
    • Web: 12 columns (desktop), 8 (tablet), 4 (mobile); gutters 16–32px; max content width 1120–1280px; reading column ≤ 720px.
    • App: 4/8pt spacing grid; margins 16–24px (mobile).
    • Poster/print: modular grid (e.g. 6×8 modules) with baseline grid, margins ≥ 5% of the short side.
    • Slides: 12-col on 1920×1080 with 96–120px safe margins.
    • Social: square/vertical modular grid with platform safe zones (see god-social-media).
  3. Use a spacing scale. 4, 8, 12, 16, 24, 32, 48, 64, 96, 128 (px). Related items sit closer than unrelated ones (proximity). Space between sections should be at least 2× the space within them.
  4. Align everything. Every element should share an edge or centre line with something else. Pick left alignment for reading layouts. Centre only short, symmetric compositions.
  5. Create rhythm and tension. Repeat a module, then break it once on purpose (a large image, an offset quote). Pure uniformity is boring; uncontrolled variety is noise.
  6. Check balance by squinting or blurring: is the visual weight distributed intentionally (symmetric or asymmetric)?

Composition toolkit

ToolRuleWhen
Rule of thirdsFocal points on the 1/3 intersectionsPhotos, heroes, posters
Golden ratio (1:1.618)Column splits like 62/38; type scale 1.618Editorial, classical
Z-patternEye moves top-left → top-right → diagonal → bottom-rightSparse pages, landing heroes
F-patternUsers scan the left edge and first linesText-heavy pages: front-load words
Gutenberg diagramStrong fallow areas top-right/bottom-leftAds and posters: put the CTA bottom-right
Gestalt: proximity, similarity, continuity, closure, figure-ground, common regionGrouping without boxesReduce borders and cards
Visual weightLarge, dark, saturated, complex and isolated elements weigh moreBalancing asymmetry
Negative spaceSpace is an active elementLuxury, focus, readability
Scale contrastDisplay:body ≥ 3:1 for drama (posters 8:1+)Energy
Grid breakingOne element crosses the grid deliberatelyInterest

Responsive patterns (CSS)

/* Intrinsic auto-fit grid: no media queries */
.grid { display:grid; gap: clamp(1rem, 2vw, 2rem);
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
/* Classic 12-col */
.page { display:grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
        max-width: 1200px; margin-inline:auto; padding-inline: clamp(16px, 4vw, 48px); }
/* Full-bleed inside a constrained column */
.content { display:grid; grid-template-columns: 1fr min(65ch, 100% - 2rem) 1fr; }
.content > * { grid-column: 2; } .content > .bleed { grid-column: 1 / -1; }
/* Container queries for components */
.card-wrap { container-type: inline-size; }
@container (min-width: 32rem) { .card { grid-template-columns: 1fr 2fr; } }

Breakpoints (content-driven, typical): 640, 768, 1024, 1280, 1536px (Tailwind defaults). Design mobile first. Test at 320px wide and at 200% zoom (WCAG 1.4.10 reflow).

Layout archetypes

  • Hero + proof + features + CTA (marketing). Vary the feature sections; don't repeat a 3-card row four times.
  • Split screen (50/50 or 60/40): image vs text, before vs after.
  • Bento (asymmetric modular tiles).
  • Editorial long-read (narrow column + full-bleed images + pull quotes).
  • Dashboard (top KPIs → trends → details; left nav; 8pt density).
  • Poster (one dominant image or type, a secondary info block, a tertiary small print strip).
  • Masonry / Pinterest (variable heights; use CSS columns or a grid with masonry where supported).

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.