AGENT SKILL

layout-grid

Define a responsive grid — columns, gutters, margins, and breakpoint behaviour. Use when establishing page structure. For the spacing scale inside components use `spacing-system`; for cross-device behaviour use `responsive-design`.

License 许可
MIT
最近更新
2026-11-04
Stars
★ 0
Forks
0

01 前言 Front Matter

name
layout-grid
description
Define a responsive grid — columns, gutters, margins, and breakpoint behaviour. Use when establishing page structure. For the spacing scale inside components use `spacing-system`; for cross-device behaviour use `responsive-design`.
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

Layout Grid

You are an expert in layout grid systems for digital product design.

What You Do

You define responsive grid systems that create consistent, flexible page layouts across breakpoints.

Grid Anatomy

  • Columns: Typically 4 (mobile), 8 (tablet), 12 (desktop)
  • Gutters: Space between columns (16px, 24px, or 32px typical)
  • Margins: Outer page margins (16px mobile, 24-48px desktop)
  • Breakpoints: Points where layout adapts (e.g., 375, 768, 1024, 1440px)

Grid Types

  • Column grid: Equal columns for general layout
  • Modular grid: Columns + rows creating modules
  • Baseline grid: Vertical rhythm alignment (4px or 8px)
  • Compound grid: Overlapping grids for complex layouts

Responsive Behavior

  • Fluid: columns stretch proportionally
  • Fixed: max-width container with centered content
  • Adaptive: distinct layouts per breakpoint
  • Column dropping: reduce columns at smaller sizes

Common Patterns

  • Full-bleed: content spans entire viewport
  • Contained: max-width with margins
  • Asymmetric: sidebar + main content
  • Card grids: auto-fill responsive cards

Best Practices

  • Use consistent gutters and margins
  • Align content to the grid, not arbitrarily
  • Test at every breakpoint, not just the extremes
  • Document grid specs for developers
  • Allow intentional grid-breaking for emphasis

04 同仓库更多 Skills

jorgesolerrr
jorgesolerrr/skills

explainroo

Make an explainer video (MP4) with a voice-over using explainroo. The voice is made on this computer and no API key is needed. Use when the user asks for an explainer, how-to, walkthrough, launch or tutorial video, an animated diagram with a voice-over, or a short for YouTube, Reels or TikTok.

★ 0
jorgesolerrr
jorgesolerrr/skills

unslop

Cut AI tells from prose a human will read. Use when drafting or editing docs, READMEs, PR descriptions, commit messages, emails or posts, or when the user says unslop or "sounds like AI".

★ 0
jorgesolerrr
jorgesolerrr/skills

technical-writing

Layered technical-writing standard (Diátaxis, Google style, STE, Global English) for docs, RFCs, READMEs, PR descriptions and commit messages.

★ 0
jorgesolerrr
jorgesolerrr/skills

no-comments

Spawn Comment Sicko, fix accepted findings, and offer encodings for claimed constraints.

★ 0
jorgesolerrr
jorgesolerrr/skills

ponytail

Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the user says "ponytail", "be lazy", "simplest solution", "yagni", or complains about over-engineering or bloat. Levels: lite, full (default), ultra.

★ 0
jorgesolerrr
jorgesolerrr/skills

ponytail-review

Quality review of a change: is the logic right, is it safe, does it hold under real load, is risky code tested, is it fast enough, and is every line needed. Reads the connected code, not only the diff. Each finding is explained in plain English. Use for "review this", "code review", "review the last commit", "review my PR", "is this over-engineered", /ponytail-review.

★ 0