Skip to content
Back to skills

Ios Design Spec

ASecurity

Quick HIG audit, SwiftUI component selection, and accessibility check for simple iOS UI questions. Use on main agent for lightweight design decisions. Escalate to designer subagent for full screen design, navigation architecture, or complex interaction design.

  • 225 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
designgoswift

Security analysis

A100/100

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

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill ios-design-spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Design Spec?

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

Security grade badge for Ios Design Spec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-ios-design-spec/badge)](https://www.skillsdirectory.com/skills/neversight-ios-design-spec)

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: ios-design-spec
description: Quick HIG audit, SwiftUI component selection, and accessibility check for simple iOS UI questions. Use on main agent for lightweight design decisions. Escalate to designer subagent for full screen design, navigation architecture, or complex interaction design.
---

# iOS Design Spec

## Overview

Fast HIG audit and component guidance for the main agent. Covers component selection, spacing rules, accessibility, and theme compliance — without spawning a full designer subagent.

**Announce at start:** "Using ios-design-spec skill for this design check."

**Use this skill when:**
- Picking the right SwiftUI component for a use case
- Checking HIG compliance of a proposed layout
- Quick accessibility review (touch targets, Dynamic Type, VoiceOver)
- Answering "what's the right pattern for X?" questions

**Escalate to `designer` subagent when:**
- Designing a full new screen from scratch
- Planning navigation architecture or flow changes
- Complex interaction design (gestures, transitions, animations)
- Multi-screen redesign

---

## HIG Quick Reference

### Spacing (8pt grid)
| Usage | Value |
|-------|-------|
| Standard margin | 16pt |
| Large title margin | 20pt |
| Section spacing | 24pt |
| Minimum touch target | 44×44pt |
| List row height (default) | 44pt |

### Typography (SF Pro)
| Style | Use |
|-------|-----|
| `.largeTitle` | Screen titles |
| `.title` / `.title2` | Section headers |
| `.headline` | List row primary label |
| `.body` | Default body text |
| `.caption` | Secondary/metadata |

### SwiftUI Component Decision Tree

**Scrollable list of items?**
→ `List` (if interactive rows) or `ScrollView + LazyVStack` (if custom layout)

**Modal sheet?**
→ `.sheet` for task-focused overlays, `.fullScreenCover` only if sheet swipe-dismiss would lose data

**Confirmation / destructive action?**
→ `.confirmationDialog` (not `Alert` unless no cancel needed)

**Picker with many options?**
→ `.pickerStyle(.wheel)` in sheet, `.menu` for compact inline

**Loading state?**
→ `ProgressView()` centered, skeleton views for content-heavy screens

**Empty state?**
→ `ContentUnavailableView` (iOS 17+) or custom VStack with icon + title + description

---

## Accessibility Checklist

- [ ] All interactive elements ≥ 44×44pt
- [ ] Text uses semantic styles (`.headline`, `.body`) not fixed sizes — supports Dynamic Type
- [ ] Images have `.accessibilityLabel` or `.accessibilityHidden(true)` if decorative
- [ ] Color is not the sole means of conveying information
- [ ] Contrast ratio ≥ 4.5:1 for normal text, ≥ 3:1 for large text
- [ ] Buttons have clear `.accessibilityLabel` when icon-only
- [ ] List rows have `.accessibilityElement(children: .combine)` when needed

---

## WhereWeGo Theme Compliance

| Token | default | summer | xmas |
|-------|---------|--------|------|
| Primary accent | System blue | Orange | Red |
| Background | System background | Light sand | Dark green |
| Implementation | `LSThemeManager.shared.theme` switch in private helper |

**Rule:** Never hardcode colors. Always route through the theme helper.

---

## Output Format

For each design question, provide:
1. **Recommendation** — specific SwiftUI component or pattern
2. **HIG rationale** — 1 sentence why
3. **Accessibility notes** — any required labels/modifiers
4. **Code snippet** — minimal SwiftUI example (if helpful)
5. **Escalate?** — flag if this needs full designer subagent

Files in this skill

  • SKILL.md3.4 KB
  • description_ar.txt465 B
  • description_cn.txt229 B
  • description_de.txt308 B
  • description_en.txt261 B
  • description_es.txt356 B
  • description_fr.txt366 B
  • description_it.txt354 B
  • description_ja.txt447 B
  • description_ko.txt342 B
  • description_ru.txt589 B
  • description_tw.txt238 B
  • stats.json68 B

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.