Skip to content
Back to skills

human-interface-guidelines

ASecurity

Human Interface Guidelines as working rules, plus the house style for generated HTML. Use whenever building, styling or reviewing anything a person looks at or interacts with: HTML pages, reports, rendered markdown, dashboards, charts, web or native UI, forms, components, error/empty/loading states, UI copy, or a CLI/TUI layout. Also use when asked whether a design "follows HIG" or how a control should behave.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
designgoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add sezaakgun/human-interface-guidelines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of human-interface-guidelines?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for human-interface-guidelines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sezaakgun-human-interface-guidelines/badge)](https://www.skillsdirectory.com/skills/sezaakgun-human-interface-guidelines)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: human-interface-guidelines
description: Human Interface Guidelines as working rules, plus the house style for generated HTML. Use whenever building, styling or reviewing anything a person looks at or interacts with: HTML pages, reports, rendered markdown, dashboards, charts, web or native UI, forms, components, error/empty/loading states, UI copy, or a CLI/TUI layout. Also use when asked whether a design "follows HIG" or how a control should behave.
---

# Human Interface Guidelines

Apply the core rules below to every UI task. `HIG.md` in this folder is the full guide: 18 chapters (`## `), each split into topics (`### `) with a "Why it matters" line and its sources. Open a chapter only when the task touches it: `grep -n '^## \|^### ' HIG.md` to find it, then read just that range. Do not load the whole file.

## House style for generated HTML

Any HTML produced for a person to read (reports, rendered markdown, dashboards, shared pages) uses this baseline verbatim unless the task needs more:

- System font stack: `-apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif`; display headings use "SF Pro Display". Body 17px/1.47, letter-spacing -.022em. Code: `ui-monospace, "SF Mono", Menlo`.
- One reading column, max-width 680px, generous top padding (72px), no sidebars, no cards for prose.
- Light and dark via `prefers-color-scheme` and `<meta name="color-scheme" content="light dark">`. Light: bg #fff, text #1d1d1f, muted #6e6e73, rule #d2d2d7, tint #0071e3, code bg #f5f5f7. Dark: bg #000, text #f5f5f7, muted #a1a1a6, rule #424245, tint #2997ff, code bg #1c1c1e.
- Hierarchy by weight and size, not color: h1 700/40px, h2 600/28px with a hairline rule above, body 400. Links tint-colored, no underline until hover.
- Rounded corners 12px on code blocks, 6px on inline code chips; no drop shadows, no borders around sections, no emoji as icons.
- Lists: no browser bullets; a 6px muted dot, 12px between items. Tables: hairline rules only.
- Footer: one muted 14px line with source, branch, date.

## Core rules

Each rule names the `HIG.md` chapter with the detail.

### Color and contrast
- Never carry meaning with color alone; pair it with text, an icon or a shape. (Accessibility and inclusion; Color and appearance)
- Give each color one meaning across the product; do not reuse the interactive color for plain text. (Color and appearance)
- Keep text contrast at least 4.5:1 (3:1 for large or bold text), in light and dark themes. (Accessibility and inclusion; Color and appearance)
- Follow the system light/dark setting; design both palettes deliberately instead of inverting one. (Color and appearance)
- Use color sparingly: one filled primary action or a status indicator, not tinted controls everywhere. (Color and appearance)

### Typography
- Use the system font and a small set of text styles (title, headline, body, caption), not ad hoc sizes. (Typography)
- Build hierarchy with weight and size; avoid thin and light weights, especially when small. (Typography)
- Let text scale to 200% without clipping; stack items and drop columns instead of truncating. (Accessibility and inclusion; Layout and grouping)

### Layout
- Put the most important content at the top and leading edge, in reading order. (Layout and grouping)
- Group related items with spacing and alignment; keep unrelated items visibly apart; do not nest boxes. (Layout and grouping)
- Reveal advanced options progressively instead of showing everything at once. (Layout and grouping)
- Decide layout by available width, not device type; keep the same functions at every size. (Layout and grouping)
- Prefer a plain list or sortable table for text-heavy content; use grids for image-heavy content. (Layout and grouping)

### Actions and controls
- One prominent primary action per view; style the preferred option, do not enlarge it. (Actions and commands)
- Never make a destructive action the default; label it clearly and offer Cancel. (Actions and commands; Feedback, status and loading)
- Label buttons with specific verbs ("Send", "Delete"); add an ellipsis when more input follows. (Actions and commands; Writing)
- Show a visible pressed/hover state and an inline progress state for actions that take time. (Actions and commands)
- Make hit targets at least 44x44 pt on touch and 28x28 pt with a pointer. (Accessibility and inclusion)
- Use toggles for on/off, radio buttons for 2 to 5 exclusive options, a menu beyond that. (Forms and input)

### Forms and input
- Do not ask for what you can detect; prefill sensible defaults. (Forms and input; Onboarding, help, settings and privacy)
- Keep a visible label on every field; placeholder text is a hint, not a label. (Forms and input)
- Validate each value as it is entered and show the error next to the field. (Forms and input)
- Keep Continue/Submit disabled until required fields are filled. (Forms and input)
- Offer a picker or menu when the set of valid answers is known. (Forms and input)

### Feedback, errors and loading
- Match interruption to importance: routine status inline, alerts only for critical, actionable information. (Feedback, status and loading)
- Write error titles that say what happened and how to fix it; never just "Error" or a code. (Feedback, status and loading; Writing)
- Warn only before unexpected, irreversible loss; make routine actions undoable instead of confirmed. (Feedback, status and loading; Actions and commands)
- Show something immediately (placeholders) and keep the rest usable while content loads. (Feedback, status and loading)
- Use determinate progress when duration is known, move it at an honest pace, and offer Cancel when safe. (Feedback, status and loading)
- Give status text specifics ("Fetching 3 of 12 files"), not "Loading…". (Feedback, status and loading)
- Design empty states with a clear next action. (Writing)

### Modals and overlays
- Use a modal only for a short focused task or critical decision; always give an obvious way out. (Overlays and modality)
- Show one modal, sheet or popover at a time; never stack them. (Overlays and modality)
- Confirm before closing anything that would discard unsaved work. (Overlays and modality)
- Never move focus or scroll content away from what the person is reading unless they asked. (Input methods; Navigation and structure)

### Writing
- Be brief and direct; address the reader as "you"; avoid jargon, idioms, "we" and "Oops". (Writing; Accessibility and inclusion)
- Pick one capitalization style per element type and use it everywhere. (Writing)
- Avoid vague link text such as "Click here"; say where the link goes. (Writing)

### Data and charts
- Use a chart only when it teaches something; otherwise use a table. (Data visualization)
- Prefer bar and line charts, state the takeaway in the title, and keep axes and grid lighter than the data. (Data visualization)
- Start bar axes at zero and give every chart a text summary and accessible labels. (Data visualization)

### Accessibility and motion
- Make everything reachable by keyboard, in reading order, with a visible focus indicator. (Input methods)
- Give icons and icon-only controls text labels; keep one icon style and weight. (Icons and imagery; Accessibility and inclusion)
- Animate only to communicate; keep it brief, interruptible and off when Reduce Motion is set. (Media, motion and haptics)
- Label AI-generated content, let people edit or retry it, and do not present it as verified fact. (Product domains)

Files in this skill

  • HIG.md81.3 KB
  • SKILL.md7.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.