hig-components-layout

hig-components-layout is a skill for Claude Code, Codex from chama-x/GroundRules. It costs 186 tokens per session (1,468 once invoked), scanned A, a copy of hig-components-layout, MIT.

Apple Human Interface Guidelines for arranging content and navigation with components such as sidebars, split views, tab bars, lists, tables, and scroll views. It covers how layouts should adapt across iPhone, iPad, Mac, and visionOS.

In plain words
What is it for?
Use it when designing app navigation, windows, panels, sidebars, tab views, split views, lists, tables, column views, outline views, and scrolling content.
Why use it?
It helps prevent navigation structures that become confusing or unusable on different screen sizes. It provides platform-specific patterns for hierarchy, multitasking, overflow content, and spatial layouts.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/chama-x/groundrules/hig-components-layout
Any agent
npx skills add chama-x/GroundRules --skill hig-components-layout
Clone the repo
git clone --depth 1 https://github.com/chama-x/GroundRules

Made for: Claude Code, Codex.

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 hig-components-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/chama-x/groundrules/hig-components-layout.svg)](https://agentmods.dev/skills/chama-x/groundrules/hig-components-layout)
Your own site
<a href="https://agentmods.dev/skills/chama-x/groundrules/hig-components-layout"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/hig-components-layout.svg" alt="Measured on agentmods" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.00186 $0.01468
Opus 5 $0.00093 $0.00734
Sonnet 5 $0.00037 $0.00294
Haiku 4.5 $0.00019 $0.00147

Measured 4d ago against content hash a600afc2c56f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hig-components-layout 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 4d 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

100% identical to hig-components-layout — 0 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.

.agents/archive/v3/skill_hig-doctor/skills/hig-components-layout/SKILL.md · 100 lines

How it starts

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

Apple HIG: Layout and Navigation Components

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Key Principles

  1. Organize hierarchically. Structure information from broad categories to specific details. Sidebars for top-level sections, lists for browsable items, detail views for individual content.

  2. Use standard navigation patterns. Tab bars for flat navigation between peer sections (iPhone). Sidebars for deep hierarchical navigation (iPad, Mac). Match the pattern to the information architecture and platform.

  3. Adapt to screen size. Three-column on iPad collapses to single-column on iPhone. Use size classes and adaptive APIs (NavigationSplitView) for automatic adaptation.

  4. Support multitasking on iPad. Respond gracefully to Split View, Slide Over, and Stage Manager. Test at every split ratio and size class transition.

  5. Maintain spatial consistency on visionOS. Windows, volumes, and ornaments in shared space. Position predictably. Use ornaments for toolbars and controls without occluding content.

  6. Use scroll views for overflow content. Enable paging for discrete content units. Support pull-to-refresh where appropriate. Respect safe areas.

  7. Keep navigation predictable. Users should always know where they are, how they got there, and how to go back. Use back buttons, breadcrumbs, and clear section titles.

  8. Prefer system components. UINavigationController, UISplitViewController, NavigationSplitView, and TabView provide built-in adaptivity, accessibility, and state restoration.

Reference Index

Reference Topic Key content
sidebars.md Sidebars Source lists, selection state, collapsible sections, iPad/Mac patterns
column-views.md Column Views Finder-style browsing, progressive disclosure through columns
outline-views.md Outline Views Expandable hierarchies, disclosure triangles, tree structures
split-views.md Split Views Two/three column layouts, NavigationSplitView, adaptive collapse
tab-views.md Tab Views Segmented tabs, page-style tabs, macOS tab grouping
tab-bars.md Tab Bars Bottom tab bars (iOS), badge counts, max tab count
scroll-views.md Scroll Views Paging, scroll indicators, content insets, pull-to-refresh
windows.md Windows macOS/visionOS window management, sizing, full-screen, restoration
panels.md Panels Inspector panels, utility panels, floating panels, macOS conventions
lists-and-tables.md Lists and Tables Plain/grouped/inset-grouped styles, swipe actions, section headers
boxes.md Boxes Content grouping containers, labeled boxes, macOS grouping
ornaments.md Ornaments visionOS toolbar attachments, positioning, visibility

Read the full file on GitHub · 100 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. 4d ago First seen · 100 lines · 186 tokens per session scan A a600afc2c56f

Subscribe to this mod's changes

hig-components-layout is a skill published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 21d ago), licensed MIT. It adds 186 tokens to every session and 1,468 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to hig-components-layout, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

netease-youdao/LobsterAI · 59 tokens

opencompany-design

Use this skill to generate well-branded interfaces and assets for OpenCompany (opencompany.sh), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

zeenie-ai/OpenCompany · 55 tokens

b2b-desktop-design-system

Generate modern B2B desktop design system specs — tokens, layout, information hierarchy — for Near delivery POC.

DemonDamon/AgenticX · 31 tokens

maintaining-dev-playground

Keeps the Dev Playground current with the application. Use when editing UI components in apps/client/src/ — assesses playground candidacy, checks existing playground coverage, and guides adding or updating showcases. Also use when directly editing files in apps/client/src/dev/, building new widgets or features, or…

dork-labs/dorkos · 95 tokens

visual-companion

Browser-based visual companion for showing mockups, diagrams, comparisons, and interactive options. Use when the user would understand something better by seeing it than reading it.

dork-labs/dorkos · 36 tokens