grid

kostja94/marketing-skills · updated Apr 8, 2026

$npx skills add https://github.com/kostja94/marketing-skills --skill grid
0 commentsdiscussion
summary

Guides grid layout design for equal-hierarchy, multi-column content display. Grids display multiple items with equal emphasis; space-efficient and scannable. Used for products, templates, tools, features, blog indexes, and galleries.

skill.md

Components: Grid Layout

Guides grid layout design for equal-hierarchy, multi-column content display. Grids display multiple items with equal emphasis; space-efficient and scannable. Used for products, templates, tools, features, blog indexes, and galleries.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

When to Use Grid

Use grid when Use list when
Visual content (images, thumbnails) Text-heavy; scan by title
Equal emphasis across items Compact; many items; dense info
Products, templates, gallery, features Blog index, docs, search results
Browsing, discovery Reading, scanning

See list for list layout; card for card structure within grid.

Grid Structure

Element Purpose
Columns 1–4+ columns; adapt to viewport
Gap Consistent spacing between items
Items Equal or proportional sizing
Responsive 1 col mobile → 2–4 cols desktop

Implementation

  • CSS Grid: repeat(auto-fill, minmax(min, 1fr)) or repeat(auto-fit, minmax()) for fluid columns
  • Breakpoints: e.g., 1 col <768px; 2 cols 768–1024px; 3–4 cols >1024px
  • Consistency: Same padding, aspect ratios across items; see card for card structure

Best Practices

Principle Practice
Equal hierarchy Items compete equally; no single dominant item
Consistent sizing Same card/item dimensions in grid
Gap consistency Uniform gap (e.g., 16px, 24px)
No layout shift Reserve space for images; avoid CLS

Responsive

  • Mobile: Single column; full-width items
  • Tablet: 2 columns; touch targets ≥44×44px
  • Desktop: 3–4 columns; hover states OK

Infinite Scroll

If using infinite scroll with grid: crawlers cannot access content loaded on scroll. Provide paginated component pages for SEO-critical content. See site-crawlability for search-friendly implementation.

Related Skills

  • site-crawlability: Infinite scroll SEO; paginated component pages
  • card: Card structure within grid; product, template, tool cards
  • list: List layout vs grid; when to use each
  • masonry: Masonry for varying heights (Pinterest-style)
  • carousel: Carousel for slides/rotation; when grid is too dense
  • hero-generator: Hero above; grid below for content sections
  • products-page-generator: Product grid
  • template-page-generator: Template grid
  • features-page-generator: Feature grid

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.636 reviews
  • Kabir Anderson· Dec 28, 2024

    Solid pick for teams standardizing on skills: grid is focused, and the summary matches what you get after install.

  • Chaitanya Patil· Dec 16, 2024

    Solid pick for teams standardizing on skills: grid is focused, and the summary matches what you get after install.

  • Soo Srinivasan· Dec 16, 2024

    grid has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Carlos Li· Nov 19, 2024

    We added grid from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Piyush G· Nov 7, 2024

    We added grid from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Henry Srinivasan· Nov 7, 2024

    grid fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Shikha Mishra· Oct 26, 2024

    grid fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Mia Sharma· Oct 26, 2024

    We added grid from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Nia Yang· Oct 10, 2024

    grid fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Kabir Jain· Sep 9, 2024

    Useful defaults in grid — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 36

1 / 4