hig-components-content

hig-components-content is a skill for Claude Code from raintree-technology/hig-doctor. It costs 178 tokens per session (1,167 once invoked), scanned A, original, MIT.

A skill containing Apple’s Human Interface Guidelines for components that display content, such as charts, image views, collections, and web views.

In plain words
What is it for?
Use it when designing or reviewing Apple-platform screens that display images, charts, collections, colors, or web content.
Why use it?
It helps developers choose suitable system components and handle layout, accessibility, platform differences, and empty states.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the apple-hig-skills plugin — 14 skills shipped together

not rated 126repo +4 6d ago A scan Socket: passSnyk: passSkillSpector: pass 178 tokens original MIT

Good fit Use it when designing or reviewing Apple-platform screens that display images, charts, collections, colors, or web content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/raintree-technology/hig-doctor/hig-components-content
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 raintree-technology/hig-doctor --skill hig-components-content
Clone the repo
git clone --depth 1 https://github.com/raintree-technology/hig-doctor

Made for: Claude Code.

Or install apple-hig-skills, the plugin that ships this one along with the rest of its 14 skills.

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-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/raintree-technology/hig-doctor/hig-components-content/github.svg)](https://agentmods.dev/skills/raintree-technology/hig-doctor/hig-components-content)
Your own site
<a href="https://agentmods.dev/skills/raintree-technology/hig-doctor/hig-components-content"><img src="https://agentmods.dev/badge/skills/raintree-technology/hig-doctor/hig-components-content/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 hig-components-content

Your own site · 80×15
<a href="https://agentmods.dev/skills/raintree-technology/hig-doctor/hig-components-content"><img src="https://agentmods.dev/badge/skills/raintree-technology/hig-doctor/hig-components-content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 178 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,167 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. Third-party audits
  • Socket pass 26 Apr 2026
  • Snyk pass 26 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00178 $0.01167
Opus 5 $0.00089 $0.00583
Sonnet 5 $0.00036 $0.00233
Haiku 4.5 $0.00018 $0.00117

Measured 11d ago against content hash e04d32abffd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

hig-components-content 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 11d 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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/hig-components-content/SKILL.md · 87 lines

How it starts

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

Apple HIG: Content 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. Adapt to different sizes and contexts. Content components must work across screen sizes, orientations, and multitasking configurations. Use Auto Layout and size classes.

  2. Make content accessible. Charts need audio graph support. Images need alt text. Collections need proper VoiceOver navigation order. All content components need labels and descriptions.

  3. Maintain visual hierarchy. Use spacing, sizing, and grouping to establish clear information hierarchy. Primary content should be visually prominent.

  4. Use system components first. Evaluate UICollectionView, SwiftUI Charts, WKWebView before building custom. System components come with built-in accessibility and platform adaptation.

  5. Respect platform conventions. A collection on tvOS uses large lockups with parallax. The same collection on iOS uses compact cells with touch targets. On visionOS, content gains depth and hover effects.

  6. Handle empty states. Show a meaningful empty state with guidance on how to populate it, not a blank screen.

  7. Optimize for performance. Use lazy loading, cell reuse, pagination, and prefetching for large datasets.

Reference Index

Reference Topic Key content
charts.md Charts Swift Charts, bar/line/area/point marks, chart accessibility, audio graphs
collections.md Collections Grid/list layouts, compositional layout, selection, reordering, diffable data sources
image-views.md Image Views Aspect ratio handling, content modes, SF Symbol images, accessibility
image-wells.md Image Wells Drag-and-drop image selection, macOS-specific, placeholder content
color-wells.md Color Wells Color selection UI, system color picker, custom color spaces
web-views.md Web Views WKWebView, SFSafariViewController, navigation controls, content restrictions
activity-views.md Activity Views Share sheets, activity items, custom activities, action extensions
lockups.md Lockups Image+text elements, tvOS card layouts, focus effects, shelf layouts

Read the full file on GitHub · 87 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 87 lines · 178 tokens per session scan A e04d32abffd7

Subscribe to this mod's changes

hig-components-content is a skill published in the GitHub repository raintree-technology/hig-doctor (126 stars, last pushed 6d ago), licensed MIT. It adds 178 tokens to every session and 1,167 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

emil-design-skills

Use when collection of 8 design engineering skills by Emil Kowalski (Vercel, Linear) — animation standards, UI craft, Apple design principles, library selection, and prototyping. Based on years of production experience. Use when the user asks about UI polish, animation decisions, or wants to audit/improve interface…

oyi77/1ai-skills · 73 tokens

apple-design

Complete Apple Human Interface Guidelines (HIG) and Apple Design System standard. Use when designing, building, or auditing UI/UX for iOS, iPadOS, macOS, watchOS, visionOS, or Apple-styled web and mobile applications.

billythekidz/apple-design-skill · 55 tokens

apple-bento-grid

Create Apple-inspired bento grid presentation cards for showcasing project stats, timelines, and achievements. Generates self-contained HTML files with zero-gap grids, stat cards, pill tags, bar charts, and dark quote cards — optimized for screenshot export. Supports both light (Apple signature #f5f5f7) and dark…

hubeiqiao/apple-bento-grid · 142 tokens

apple-hig-check

Audit code or design against Apple Human Interface Guidelines.

lyupro/skillforge-mcp · 15 tokens

svvarm

Opinionated design director for frontend interfaces. Use for ANY frontend design task: building UIs, reviewing designs, fixing typography, improving layouts, checking for AI slop, or making interfaces production-ready. Understands natural language — just describe what you need. One command, zero AI slop.

robzilla1738/roberts-skills · 63 tokens

macos-design

Design, critique, or scaffold native macOS applications using current HIG, Liquid Glass, menu/toolbar conventions, safe areas, accessibility, and SwiftUI/AppKit patterns. Use when the user invokes /macos-design or names this skill for macOS app design, UI review, native UI generation, or notch-style / Dynamic Island…

robzilla1738/roberts-skills · 75 tokens