本文へ移動
cccskills
無料GitHub で公開

group-related-elements

Use proximity and spacing to show relationships

日本語の概要は準備中です。原文の説明を表示しています。

karanmrn/karanagentskillsスター 3(GitHub 3 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Skill: Group Related Elements

Purpose

Use proximity and spacing to visually group related elements together and separate unrelated groups.

Type

Generative + Evaluative

Input

  • Element inventory
  • Relationship mapping (what belongs together)
  • Current spacing between elements

Output

  • Spacing recommendations to show relationships
  • Pass/Fail assessment of current grouping

Transformation Performed

Adjusts spacing so elements within a group are closer together than elements in different groups, using the Gestalt principle of proximity.

Decision Criteria

PASS (Good Grouping)

  • Related elements have small gap (8-16px)
  • Unrelated groups have larger gap (24-48px)
  • Form labels close to their inputs (4-8px)
  • Sections clearly separated
  • Hierarchy of space: tightest within component, looser between components, loosest between sections

FAIL (Poor Grouping)

  • Uniform spacing everywhere
  • Labels far from inputs
  • Related elements visually disconnected
  • Unrelated elements too close
  • Using borders instead of space to group

The Proximity Principle

Elements that are close together are perceived as more related than elements that are farther apart.

Spacing Hierarchy

Within component (label + input): 4-8px
Between related components: 16-24px
Between sections: 32-64px
Between major page areas: 64-96px

Common Grouping Patterns

PatternStructureSpacing
Form fieldLabel → Input4-8px between, 16-24px after
CardHeader → Content → Footer16-24px internal padding
List itemsItem 1 / Item 2 / Item 38-12px between items
Button groupPrimary + Secondary8-12px between
SectionsSection A (gap) Section B48-64px between

Common Failure Modes

FailureDescriptionFix
The Great DivideEqual spacing everywhereTighten within groups, expand between groups
Label DriftLabels 20px+ from inputsReduce to 4-8px
Section SmushSections barely separatedAdd 48px+ between major sections
Border DependencyBoxes around everythingUse space instead of borders
Card ClumpCards touching each otherAdd 16-24px gap between cards

Prerequisites

  • Spacing system defined
  • Content grouped logically

Dependencies

  • apply-consistent-spacing (uses spacing scale)

Refactoring UI References

  • "Group related information"
  • "Use whitespace to create relationships"
  • "Proximity beats similarity"

Example Assessment

Input: Form with: Title (24px margin), Label (8px margin), Input, Label (8px), Input, Section header (16px margin), Label (8px), Input

Evaluation: PARTIAL

  • Label to input spacing not specified
  • Section header too close to previous section
  • Consistent 8px but not creating hierarchy

Recommendation:

  • Label to input: 4px (tight coupling)
  • After input group: 24px
  • Section header margin-top: 48px (clear break)
  • Within section: 16px between fields

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

日本語の概要は準備中です。原文の説明を表示しています。

karanmrn/karanagentskills32026年8月28日 更新

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

日本語の概要は準備中です。原文の説明を表示しています。

karanmrn/karanagentskills32026年8月28日 更新

1password

無料

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

日本語の概要は準備中です。原文の説明を表示しています。

karanmrn/karanagentskills32026年8月28日 更新

Build integrated IS/BS/CF financial workbooks in Excel.

日本語の概要は準備中です。原文の説明を表示しています。

karanmrn/karanagentskills32026年8月28日 更新

9router

無料

Entry point for 9Router — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions 9Router, NINEROUTER_URL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability SKILL.md from the URLs below when needed.

日本語の概要は準備中です。原文の説明を表示しています。

karanmrn/karanagentskills32026年8月28日 更新

Chat / code generation via 9Router using OpenAI /v1/chat/completions or Anthropic /v1/messages format with streaming + auto-fallback combos. Use when the user wants to ask an LLM, generate code, summarize text, or run prompts through 9Router.

日本語の概要は準備中です。原文の説明を表示しています。

karanmrn/karanagentskills32026年8月28日 更新

karanmrn のスキルをすべて見る

このスキルの問題を報告する