شعار Apple Hig

Apple Hig

المجتمع
viralcode
apple-hig

Expert guide for designing iOS, macOS, watchOS, tvOS, and visionOS apps following Apple Human Interface Guidelines. Use when building Apple platform apps or interfaces, implementing SF Symbols, designing with iOS components, following accessibility guidelines, or creating native Apple experiences. Covers design principles, patterns, components, typography, color, layout, navigation, and platform-specific conventions.

Add to TypingMind

نظرة عامة

الناشرviralcode
المستودعopenwhale
اسم المهارةapple-hig
النجوم
65
التفريعات
11
الملفات المرفقة
8
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 8

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها viralcode على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Apple Hig في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/viralcode/openwhale/tree/main/skills/apple-hig
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/viralcode/openwhale.git /tmp/openwhale
mkdir -p .claude/skills
cp -r /tmp/openwhale/skills/apple-hig .claude/skills/apple-hig
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Apple Hig في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Apple Hig تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Apple Hig بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Apple Human Interface Guidelines Skill

Design exceptional experiences for Apple platforms following official Apple HIG principles, patterns, and best practices.

Core Design Principles

Clarity

  • Text must be legible at every size
  • Icons should be precise and lucid
  • Adornments are subtle and appropriate
  • Functionality is obvious through focus on content

Deference

  • Content fills the entire screen while UI stays out of the way
  • Translucency and blurring hint at more content
  • Minimal use of bezels, gradients, and shadows keeps interface light and airy

Depth

  • Visual layers and realistic motion convey hierarchy and vitality
  • Touch and discoverability heighten delight
  • Smooth transitions maintain spatial orientation

Platform-Specific Guidelines

###iOS / iPadOS

Key Characteristics:

  • Touch-first interaction
  • Portrait and landscape orientations
  • Safe area respect (notch, Dynamic Island, home indicator)
  • Gestures: swipe, tap, long press, pinch, rotate

Layout:

  • Use SF Pro text (system font)
  • Respect safe areas and readable content guides
  • Adopt Auto Layout for adaptive interfaces
  • Support Dynamic Type for accessibility

Navigation:

  • Tab Bar: 3-5 primary destinations, always visible
  • Navigation Bar: Hierarchical browsing, back button
  • Search: Prominent when important to app experience

For complete iOS patterns, see references/ios.md

macOS

Key Characteristics:

  • Mouse/trackpad/keyboard interaction
  • Resizable windows
  • Menu bar at top of screen
  • Dock for launching apps

Layout:

  • Use SF Pro (system font)
  • Window controls (close, minimize, zoom) on left
  • Sidebars for navigation (leading edge)
  • Toolbars for primary actions

Interaction:

  • Right-click context menus
  • Keyboard shortcuts (⌘ Command key)
  • Drag and drop between windows

For complete macOS patterns, see references/macos.md

watchOS

Key Characteristics:

  • Glanceable information
  • Quick interactions
  • Digital Crown and side button
  • Always-on display support

Layout:

  • SF Compact (rounded system font for watches)
  • Edge-to-edge content
  • Vertical scrolling preferred

Interaction:

  • Tap: Primary action
  • Digital Crown: Scroll and zoom
  • Force Touch: (older models) Context menu
  • Raise to wake

For complete watchOS patterns, see references/watchos.md

tvOS

Key Characteristics:

  • 10-foot viewing distance
  • Siri Remote (directional pad + touch)
  • Focus-driven navigation
  • Parallax effects

Layout:

  • SF Pro (system font)
  • Large touch targets (minimum 250pt)
  • Grid layouts for content
  • Focus engine handles navigation

Interaction:

  • Directional: Up/down/left/right focus movement
  • Select (click): Primary action
  • Menu: Back navigation
  • Siri: Voice commands

For complete tvOS patterns, see references/tvos.md

visionOS

Key Characteristics:

  • Spatial computing environment
  • 3D depth and windows
  • Eye tracking + hand gestures
  • Immersive and windowed modes

Layout:

  • Depth and layers in 3D space
  • Glass materials with vibrancy
  • SF Pro (system font)

Interaction:

  • Gaze + pinch: Primary selection
  • Hand gestures: Tap, drag, rotate
  • Voice: Siri commands
  • Immersion: Dial controls environment blend

For complete visionOS patterns, see references/visionos.md

Typography

SF Symbols

  • 6,000+ icons designed by Apple
  • Variable weight and scale (Ultralight to Black)
  • Multicolor, hierarchical, palette, monochrome rendering modes
  • SF Symbols 6 latest version

Usage:

swift
Image(systemName: "star.fill")
Image(systemName: "heart.circle.fill")

Guidelines:

  • Match symbol weight to text weight
  • Use filled variants for selected states
  • Leverage multicolor for semantic meaning

San Francisco (SF)

Apple's system font family optimized for legibility:

  • SF Pro: iOS, macOS, tvOS
  • SF Compact: watchOS (rounded)
  • SF Mono: Code and tabular data
  • SF Arabic, SF Hebrew: Localized variants

Text Styles (Dynamic Type):

  • Large Title, Title 1/2/3
  • Headline, Body, Callout
  • Subheadline, Footnote, Caption 1/2

Always support Dynamic Type for accessibility.

Color

System Colors

Use semantic colors that adapt to light/dark mode:

  • Label: Primary text
  • Secondary Label: Secondary text
  • Tertiary Label: Disabled text
  • System Background: Main background
  • System Fill: Fill colors for UI elements

Accent Colors

  • Use accent color for interactive elements (buttons, links)
  • Ensure sufficient contrast (WCAG AA: 4.5:1 for text)
  • Test in both light and dark modes

Vibrancy

  • Materials: Blur backgrounds to show depth
  • Vibrancy: Colors that adapt to material behind them

Components

iOS Components

Buttons:

  • Filled, Tinted, Gray, Plain styles
  • Size: Small, Medium, Large
  • Use SF Symbols for icons

Lists:

  • Inset grouped style (modern iOS)
  • Swipe actions (leading/trailing)
  • Context menus

Sheets:

  • Modal presentation
  • Detents: medium, large
  • Drag to dismiss

Navigation:

  • Large titles (iOS 11+)
  • Inline titles for scrolled state
  • Search bar integration

For all iOS components, see references/ios-components.md

macOS Components

Windows:

  • Standard, utility, panel types
  • Titlebar styles: default, transparent, unified
  • Sidebars and split views

Toolbars:

  • Icon + text or icon-only buttons
  • Segmented controls for views
  • Search fields

For all macOS components, see references/macos-components.md

Layout & Spacing

Grid System

  • 8pt grid as baseline (iOS, macOS)
  • Margins: 16pt (iPhone), 20pt (iPad), 20pt (Mac)
  • Spacing: 8pt, 16pt, 24pt, 32pt standard increments

Safe Areas

  • Top: Status bar, notch, Dynamic Island
  • Bottom: Home indicator (iPhone), dock (iPad)
  • Leading/Trailing: Avoid placing content too close to edges

Adaptive Layouts

  • Size classes: Compact, Regular (width/height)
  • Trait variations: Light/Dark mode, Dynamic Type sizes
  • Support landscape and portrait

Accessibility

VoiceOver

  • Provide meaningful accessibility labels
  • Group related elements
  • Ensure logical focus order

Dynamic Type

  • Support all text sizes (from -3 to +7 default)
  • Test at Accessibility sizes (AX1-AX5)
  • Use scalable fonts and layouts

Color Contrast

  • WCAG AA: 4.5:1 for normal text, 3:1 for large text
  • WCAG AAA: 7:1 for normal text, 4.5:1 for large text
  • Test with grayscale and color blindness modes

Reduce Motion

  • Provide alternatives to animations
  • Use crossfade instead of slides when motion reduced

Interaction Patterns

Gestures (iOS/iPadOS)

  • Tap: Primary action
  • Long press: Context menu or drag preview
  • Swipe: Navigate, delete, reveal actions
  • Pinch: Zoom in/out
  • Rotate: Rotate content
  • Edge swipe: Back navigation

Haptics (iOS)

  • Impact: Physical collision or boundary
  • Notification: Success, warning, error
  • Selection: Picker or toggle change

Keyboard Shortcuts (macOS/iPadOS)

  • ⌘ Command: Primary actions (⌘N new, ⌘S save)
  • ⇧ Shift: Modify command (⇧⌘S save as)
  • ⌥ Option: Alternative behavior
  • ⌃ Control: Context-specific

Animation & Motion

Duration

  • Quick: 0.2-0.3s (button press, small transitions)
  • Standard: 0.3-0.5s (screen transitions, sheets)
  • Slow: 0.5-0.8s (complex, spatial transitions)

Easing

  • Ease In/Out: Standard for most animations
  • Spring: Natural, playful motion
  • Linear: Progress indicators only

Principles

  • Continuity: Elements smoothly transition
  • Anticipation: Hint at upcoming change
  • Follow-through: Motion completes naturally

Dark Mode

Guidelines

  • Test both modes during development
  • Use semantic colors (system colors adapt automatically)
  • Elevate surfaces with subtle color increases (not just lighter)
  • Avoid pure black (#000000) — use dark gray for true blacks

Materials

  • iOS: .systemBackground, .secondarySystemBackground, .tertiarySystemBackground
  • macOS: .windowBackgroundColor, .controlBackgroundColor

Platform Integration

iOS Features

  • Widgets: Home Screen, Lock Screen, StandBy
  • Live Activities: Dynamic Island, Lock Screen
  • App Clips: Lightweight app experiences
  • Shortcuts: Siri Shortcuts integration
  • App Intents: System-level actions

macOS Features

  • Menu Bar: Global app menus
  • Dock: App icon with badges
  • Touch Bar: (older MacBook Pros)
  • Extensions: Share, Today, Finder
  • Continuity: Handoff, Universal Clipboard

Quick Reference

PlatformFontGridSafe AreasPrimary Interaction
iOSSF Pro8ptYes (notch/home indicator)Touch
macOSSF Pro8ptNoMouse/keyboard
watchOSSF Compact-Yes (round/square)Digital Crown + tap
tvOSSF Pro-Yes (overscan)Siri Remote focus
visionOSSF Pro-Yes (spatial bounds)Gaze + gesture

Resources


Based on Apple Human Interface Guidelines - https://developer.apple.com/design/human-interface-guidelines

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Apple Hig؟

Expert guide for designing iOS, macOS, watchOS, tvOS, and visionOS apps following Apple Human Interface Guidelines. Use when building Apple platform apps or interfaces, implementing SF Symbols, designing with iOS components, following accessibility guidelines, or creating native Apple experiences. Covers design principles, patterns, components, typography, color, layout, navigation, and platform-specific conventions.

لماذا تستخدم Apple Hig على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Apple Hig عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Apple Hig في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/viralcode/openwhale/tree/main/skills/apple-hig. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Apple Hig؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Apple Hig؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Apple Hig معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Apple Hig مجانية؟

نشرها viralcode على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇