law-of-common-region

law-of-common-region is a skill for Claude Code from Infrasity-Labs/dev-gtm-claude-skills. It costs 22 tokens per session (565 once invoked), scanned A, a copy of law-of-common-region, MIT.

A visual design guide based on grouping items inside a shared boundary or background. Cards, panels, borders, and colored sections make it clear which items belong together.

In plain words
What is it for?
It helps design cards, panels, sidebars, tab sections, and other interface areas that need an explicit shared container.
Why use it?
It helps communicate relationships when spacing alone is not clear enough. Strong visual boundaries can separate sections and make groups easier to identify.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the marketing-skills plugin — 166 skills, 8 commands, 23 agents, 1 hook shipped together , and of writing-skills

Good fit It helps design cards, panels, sidebars, tab sections, and other interface areas that need an explicit shared container.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/infrasity-labs/dev-gtm-claude-skills/law-of-common-region
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Infrasity-Labs/dev-gtm-claude-skills --skill law-of-common-region
Clone the repo
git clone --depth 1 https://github.com/Infrasity-Labs/dev-gtm-claude-skills

Made for: Claude Code.

Or install marketing-skills, the plugin that ships this one along with the rest of its 166 skills, 8 commands, 23 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for law-of-common-region

README.md
[![agentmods](https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/law-of-common-region/github.svg)](https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/law-of-common-region)
Your own site
<a href="https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/law-of-common-region"><img src="https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/law-of-common-region/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for law-of-common-region

Your own site · 80×15
<a href="https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/law-of-common-region"><img src="https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/law-of-common-region.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00565
Opus 5.5 $0.00009 $0.00226
Sonnet 5.5 $0.00004 $0.00113
Haiku 4.5 $0.00002 $0.00056

Measured 7d ago against content hash f299b30ea992, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

law-of-common-region scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

97% identical to law-of-common-region — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/law-of-common-region/SKILL.md · 42 lines

How it starts

The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Law of Common Region

You are an expert in Gestalt visual organization and containment-based grouping.

What You Do

You apply the Law of Common Region to create clear groupings using visual boundaries — backgrounds, borders, cards, and surfaces — so users understand which elements belong together.

The Principle

Elements enclosed within a shared boundary or placed on a shared background are perceived as a group, even when they are not especially close together. Containment is one of the strongest grouping signals available:

  • A card with a background creates an unambiguous group
  • A colored section background ties disparate content into a unit
  • A panel border tells users that everything inside belongs together

Common Region vs Proximity

Both signal grouping; they work differently:

Law of Proximity Law of Common Region
Mechanism Spatial closeness Shared boundary or background
Best for Related items already close Items that need a stronger or explicit boundary
Overhead Zero — just spacing Visual weight — a border or background is present
When to prefer Most layout grouping Cards, panels, sidebars, tabbed sections, modals
Use proximity first; add common region when proximity alone is insufficient or when the grouping boundary needs to be explicit (e.g. a card that can be acted on as a unit, a form section within a larger form).

Applications

Pattern Common Region Role
Cards Container clearly delimits a discrete item
Sidebar Background or border separates navigation from content
Modal / sheet Surface elevation signals an isolated task context
Form sections Background or rule divides logical groups within a long form
Table rows Hover/selection background shows a row as a unit
Tag groups Pill background makes each tag a discrete object
Tooltip Container boundary distinguishes overlay from page content

When Containment Is Counterproductive

  • Using cards for everything flattens hierarchy — not every group needs a container
  • Nested common regions create visual noise; limit nesting depth to two levels
  • A border for its own sake adds clutter; if proximity already communicates the grouping, the border is redundant

Read the full file on GitHub · 42 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 42 lines · 22 tokens per session scan A f299b30ea992

Subscribe to this mod's changes

law-of-common-region is a skill published in the GitHub repository Infrasity-Labs/dev-gtm-claude-skills (193 stars, last pushed 7d ago), licensed MIT. It adds 22 tokens to every session and 565 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to law-of-common-region, differing in 2 lines, and is treated as a copy.

Related

law-of-common-region compared with skills from other repositories

law-of-common-region next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
law-of-common-regionInfrasity-Labs/dev-gtm-claude-skillsSkill1937d agoMITA22Claude Code
user-research-synthesismohitagw15856/pm-claude-skillsSkill1.6ktodayMITA114Claude Code, Codex
sxonowork-studio/notfair-pluginSkill4.3k12d agoMITA211Claude Code
user-interview-synthesismohitagw15856/pm-claude-skillsSkill1.6ktodayMITA113Claude Code, Codex
prototypetobihagemann/turboSkill428yesterdayMITA46Claude Code
ultimate-design-system-masterfabricioctelles/skillsSkill1504d agoApache-2.0A88Claude Code, Codex
themingnimadorostkar/Claude-Skills-collectionSkill41todayMITA88Claude Code