← 返回 Skills 市场
kostja94

grid

作者 Kostja Zhang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
202
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install grid
功能描述
When the user wants to design, optimize, or audit grid layouts for content display. Also use when the user mentions "grid layout," "grid design," "multi-colu...
使用说明 (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
安全使用建议
This is an instruction-only design helper that reads like documentation — low risk. Before installing, verify you trust the skill source (unknown owner) because it will be available to the agent for invocation; confirm it won't be combined with other code-executing skills that have broader permissions. No credentials or installs are required, so the direct security impact is minimal.
功能分析
Type: OpenClaw Skill Name: grid Version: 1.0.1 The skill bundle is a purely informational guide for designing and implementing CSS grid layouts. It contains no executable code, scripts, or network activity, and the instructions in SKILL.md are strictly focused on UI/UX best practices and responsive design without any signs of prompt injection or malicious intent.
能力评估
Purpose & Capability
Name, description, and SKILL.md all describe grid layout design, optimization, and auditing; there are no unrelated requirements (no env vars, binaries, or config paths).
Instruction Scope
SKILL.md contains only guidance about grid structure, responsive behavior, best practices, and related skills; it does not instruct reading files, accessing credentials, hitting external endpoints, or performing system actions.
Install Mechanism
No install spec and no code files — instruction-only skill, so nothing is written to disk or fetched during install.
Credentials
Skill requests no environment variables, credentials, or config paths — proportional for a documentation/guidance skill.
Persistence & Privilege
always is false (default) and the skill does not request elevated persistence or cross-skill configuration changes; autonomous invocation is allowed by platform default but not combined with other concerning flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install grid
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /grid 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Batch: trust-badges through grid
v1.0.0
Automated batch sync
元数据
Slug grid
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

grid 是什么?

When the user wants to design, optimize, or audit grid layouts for content display. Also use when the user mentions "grid layout," "grid design," "multi-colu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 202 次。

如何安装 grid?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install grid」即可一键安装,无需额外配置。

grid 是免费的吗?

是的,grid 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

grid 支持哪些平台?

grid 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 grid?

由 Kostja Zhang(@kostja94)开发并维护,当前版本 v1.0.1。

💬 留言讨论