hig-patterns

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

Apple Human Interface Guidelines for common interaction patterns such as onboarding, loading, drag and drop, settings, notifications, modality, multitasking, feedback, haptics, and undo.

In plain words
What is it for?
Use it to design first-run experiences, loading and progress states, notifications, settings screens, drag-and-drop interactions, confirmation alternatives, and undo behavior.
Why use it?
It helps make actions understandable and reduces unnecessary interruptions. The guidance favors clear feedback, reversible destructive actions, brief onboarding, and layouts that work during multitasking.

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-patterns
Any agent
npx skills add chama-x/GroundRules --skill hig-patterns
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-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/chama-x/groundrules/hig-patterns.svg)](https://agentmods.dev/skills/chama-x/groundrules/hig-patterns)
Your own site
<a href="https://agentmods.dev/skills/chama-x/groundrules/hig-patterns"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/hig-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 205 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,697 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.00205 $0.01697
Opus 5 $0.00102 $0.00848
Sonnet 5 $0.00041 $0.00339
Haiku 4.5 $0.00020 $0.00170

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

Security

Grade A, and why

hig-patterns 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 3d 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-patterns — 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-patterns/SKILL.md · 105 lines

How it starts

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

Apple HIG: Interaction Patterns

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

Key Principles

  1. Minimize modality. Use modality only when it is critical to get attention, a task must be completed or abandoned, or saving changes is essential. Prefer non-modal alternatives.

  2. Provide clear feedback. Every action should produce visible, audible, or haptic response. Activity indicators for indeterminate waits, progress bars for determinate, haptics for physical confirmation.

  3. Support undo over confirmation dialogs. Destructive actions should be reversible when possible. Undo is almost always better than "Are you sure?"

  4. Launch quickly. Display a launch screen that transitions seamlessly into the first screen. No splash screens with logos. Restore previous state.

  5. Defer sign-in. Let users explore before requiring account creation. Support Sign in with Apple and passkeys.

  6. Keep onboarding brief. Three screens max. Let users skip. Teach through progressive disclosure and contextual hints.

  7. Use progressive disclosure. Show essentials first, let users drill into details. Don't overwhelm with every option on one screen.

  8. Respect user attention. Consolidate notifications, minimize interruptions, give users control over alerts. Never use notifications for marketing.

Reference Index

Reference Topic Key content
charting-data.md Charting Data Data visualization patterns, accessible charts, interactive elements
collaboration-and-sharing.md Collaboration & Sharing Share sheets, activity views, collaborative editing, SharePlay
drag-and-drop.md Drag and Drop Drag sources, drop targets, spring loading, multi-item drag, visual feedback
entering-data.md Entering Data Text fields, pickers, steppers, input validation, keyboard types, autofill
feedback.md Feedback Alerts, action sheets, haptic patterns, sound feedback, visual indicators
file-management.md File Management Document browser, file providers, iCloud integration, document lifecycle
going-full-screen.md Going Full Screen Full-screen transitions, immersive content, exiting full screen
launching.md Launching Launch screens, state restoration, cold vs warm launch
live-viewing-apps.md Live Viewing Apps Live content display, real-time updates, Live Activities, Dynamic Island
loading.md Loading Activity indicators, progress views, skeleton screens, lazy loading, placeholders
managing-accounts.md Managing Accounts Sign in with Apple, passkeys, account creation, credential autofill, account deletion
managing-notifications.md Managing Notifications Permission requests, grouping, actionable notifications, provisional delivery
modality.md Modality Sheets, alerts, popovers, full-screen modals, when to use each
multitasking.md Multitasking iPad Split View, Slide Over, Stage Manager, responsive layout, size class transitions
offering-help.md Offering Help Contextual tips, onboarding hints, help menus, support links
onboarding.md Onboarding Welcome screens, feature highlights, progressive onboarding, skip options
playing-audio.md Playing Audio Audio sessions, background audio, Now Playing, audio routing, interruptions
playing-haptics.md Playing Haptics Core Haptics, UIFeedbackGenerator, haptic patterns, custom haptics
playing-video.md Playing Video Video player controls, picture-in-picture, AirPlay, full-screen video
printing.md Printing Print dialogs, page setup, AirPrint integration
ratings-and-reviews.md Ratings & Reviews SKStoreReviewController, timing, frequency limits, in-app feedback
searching.md Searching Search bars, suggestions, scoped search, results display, recents
settings.md Settings In-app vs Settings app, preference organization, toggles, defaults
undo-and-redo.md Undo and Redo Shake to undo, undo/redo stack, multi-level undo
workouts.md Workouts Workout sessions, live metrics, Always On display, summaries, HealthKit

Read the full file on GitHub · 105 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. 3d ago First seen · 105 lines · 205 tokens per session scan A 279de9ec0514

Subscribe to this mod's changes

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

Related

Other skills, from other repositories