vibes-plug 1.0.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/.claude/rules/vibes-plug-core.md +32 -0
  2. package/.cursor/rules/vibes-plug-core.mdc +51 -0
  3. package/.cursorrules +42 -0
  4. package/AGENTS.md +96 -0
  5. package/BLUEPRINT.md +309 -125
  6. package/CHANGELOG.md +183 -1
  7. package/CLAUDE.md +70 -0
  8. package/LICENSE +1 -1
  9. package/README.md +641 -263
  10. package/index.js +19 -0
  11. package/package.json +61 -25
  12. package/plugin.json +24 -7
  13. package/scripts/generate_swarm_gif.py +295 -0
  14. package/scripts/install.js +201 -0
  15. package/skills/accessibility-testing-expert/SKILL.md +116 -0
  16. package/skills/ai-cost-token-optimizer/SKILL.md +82 -0
  17. package/skills/ai-evals-benchmark-expert/SKILL.md +188 -0
  18. package/skills/ai-llm-integration-expert/SKILL.md +147 -122
  19. package/skills/ai-media-generation-expert/SKILL.md +172 -0
  20. package/skills/ai-prompt-engineering-expert/SKILL.md +84 -0
  21. package/skills/angular-expert/SKILL.md +148 -0
  22. package/skills/api-design-expert/SKILL.md +316 -309
  23. package/skills/api-gateway-proxy-expert/SKILL.md +81 -0
  24. package/skills/app-analyzer-optimizer/SKILL.md +195 -188
  25. package/skills/apple-ecosystem-expert/SKILL.md +145 -0
  26. package/skills/{asisten_ramah → asisten-ramah}/SKILL.md +7 -1
  27. package/skills/astro-framework-expert/SKILL.md +200 -0
  28. package/skills/async-queue-temporal-expert/SKILL.md +240 -0
  29. package/skills/authentication-identity-expert/SKILL.md +279 -45
  30. package/skills/auto-doc-updater/SKILL.md +219 -203
  31. package/skills/autonomous-chaos-monkey/SKILL.md +63 -0
  32. package/skills/autonomous-red-teamer/SKILL.md +203 -0
  33. package/skills/autonomous-tdd-debugger/SKILL.md +71 -0
  34. package/skills/background-jobs-queue-expert/SKILL.md +235 -0
  35. package/skills/biome-linter-formatter-expert/SKILL.md +89 -0
  36. package/skills/blockchain-web3-expert/SKILL.md +115 -0
  37. package/skills/bootstrap-to-modern/SKILL.md +93 -86
  38. package/skills/brainstorming/SKILL.md +381 -353
  39. package/skills/browser-automation-expert/SKILL.md +222 -0
  40. package/skills/bun-runtime-expert/SKILL.md +7 -1
  41. package/skills/chatbot-messaging-expert/SKILL.md +114 -0
  42. package/skills/ci-cd-devops-architect/SKILL.md +81 -45
  43. package/skills/cloud-hosting-expert/SKILL.md +249 -243
  44. package/skills/coderabbit/SKILL.md +197 -191
  45. package/skills/compliance-gdpr-privacy-expert/SKILL.md +85 -0
  46. package/skills/cron-scheduler-expert/SKILL.md +304 -0
  47. package/skills/data-pipeline-etl-expert/SKILL.md +84 -0
  48. package/skills/data-telemetry-expert/SKILL.md +218 -212
  49. package/skills/data-visualization-expert/SKILL.md +154 -0
  50. package/skills/database-migration-versioning-expert/SKILL.md +90 -0
  51. package/skills/database-orm-expert/SKILL.md +303 -293
  52. package/skills/dependency-upgrade-migrator/SKILL.md +301 -0
  53. package/skills/design-system-architect/SKILL.md +278 -242
  54. package/skills/desktop-electron-expert/SKILL.md +128 -0
  55. package/skills/documentation-site-expert/SKILL.md +59 -0
  56. package/skills/doku-mcp-server/SKILL.md +257 -0
  57. package/skills/doku-payment-gateway/SKILL.md +233 -0
  58. package/skills/domain-driven-design-expert/SKILL.md +82 -0
  59. package/skills/e2e-testing-expert/SKILL.md +320 -314
  60. package/skills/ecommerce-expert/SKILL.md +87 -0
  61. package/skills/edge-serverless-db-expert/SKILL.md +99 -0
  62. package/skills/email-notification-expert/SKILL.md +368 -0
  63. package/skills/error-resilience-expert/SKILL.md +486 -0
  64. package/skills/event-driven-architect/SKILL.md +86 -80
  65. package/skills/feature-flag-analytics-expert/SKILL.md +66 -0
  66. package/skills/file-upload-media-expert/SKILL.md +437 -0
  67. package/skills/firebase-security-expert/SKILL.md +7 -1
  68. package/skills/form-validation-expert/SKILL.md +407 -0
  69. package/skills/fullstack-expert/SKILL.md +260 -201
  70. package/skills/fullstack-expert/references/api_design_guide.md +466 -466
  71. package/skills/fullstack-expert/references/multi_language_backend.md +528 -528
  72. package/skills/fullstack-expert/scripts/api_contract_validator.py +253 -253
  73. package/skills/fullstack-expert/scripts/architecture_analyzer.py +326 -326
  74. package/skills/gemini-agent-booster/SKILL.md +142 -104
  75. package/skills/geospatial-maps-expert/SKILL.md +80 -0
  76. package/skills/global-a11y-i18n-expert/SKILL.md +86 -80
  77. package/skills/glsl-shader-expert/SKILL.md +107 -0
  78. package/skills/go-programming-expert/SKILL.md +300 -294
  79. package/skills/graph-rag-knowledge-expert/SKILL.md +159 -0
  80. package/skills/graphql-apollo-expert/SKILL.md +114 -0
  81. package/skills/headless-cms-expert/SKILL.md +181 -0
  82. package/skills/hig/SKILL.md +193 -187
  83. package/skills/js-backend-expert/SKILL.md +218 -191
  84. package/skills/legacy-code-translator/SKILL.md +71 -0
  85. package/skills/local-slm-edge-ai-expert/SKILL.md +167 -0
  86. package/skills/logging-error-tracking-expert/SKILL.md +344 -0
  87. package/skills/mcp-client-orchestrator/SKILL.md +76 -0
  88. package/skills/mcp-server-architect/SKILL.md +226 -126
  89. package/skills/micro-frontend-architect/SKILL.md +112 -0
  90. package/skills/mobile-expo-expert/SKILL.md +191 -185
  91. package/skills/mobile-push-notification-expert/SKILL.md +71 -0
  92. package/skills/modern-css-native-expert/SKILL.md +189 -0
  93. package/skills/monday-design-aesthetic/SKILL.md +72 -66
  94. package/skills/monorepo-architect/SKILL.md +232 -226
  95. package/skills/mpa-orchestrator/SKILL.md +120 -101
  96. package/skills/multi-agent-orchestration/SKILL.md +173 -153
  97. package/skills/multiple-entry-points/SKILL.md +91 -55
  98. package/skills/mvc-expert/SKILL.md +237 -231
  99. package/skills/n8n-automation-expert/SKILL.md +89 -0
  100. package/skills/nextjs-app-router-expert/SKILL.md +148 -0
  101. package/skills/openapi-swagger-codegen-expert/SKILL.md +67 -0
  102. package/skills/payment-gateway-expert/SKILL.md +129 -45
  103. package/skills/pdf-document-generation-expert/SKILL.md +91 -0
  104. package/skills/performance-web-vitals/SKILL.md +337 -331
  105. package/skills/post-quantum-crypto-migrator/SKILL.md +57 -0
  106. package/skills/prd-architect/SKILL.md +206 -190
  107. package/skills/proactive-background-watcher/SKILL.md +68 -0
  108. package/skills/production-ready-hardener/PRODUCTION_READINESS_REPORT.md +67 -0
  109. package/skills/production-ready-hardener/SKILL.md +461 -468
  110. package/skills/production-ready-hardener/references/production_checklist.md +161 -161
  111. package/skills/production-ready-hardener/scripts/production_readiness_scanner.py +881 -875
  112. package/skills/project-context-mapper/SKILL.md +85 -0
  113. package/skills/pwa-offline-first-expert/SKILL.md +185 -0
  114. package/skills/python-programming-expert/SKILL.md +407 -270
  115. package/skills/rate-limit-abuse-prevention/SKILL.md +377 -0
  116. package/skills/realtime-collaboration-expert/SKILL.md +99 -45
  117. package/skills/rich-text-editor-expert/SKILL.md +177 -0
  118. package/skills/rust-programming-expert/SKILL.md +240 -234
  119. package/skills/saas-billing/SKILL.md +382 -376
  120. package/skills/saas-multi-tenant/SKILL.md +256 -236
  121. package/skills/saas-mvp-launcher/SKILL.md +30 -1
  122. package/skills/saas-transformer/SKILL.md +499 -445
  123. package/skills/saas-transformer/references/billing_integration_guide.md +401 -401
  124. package/skills/saas-transformer/references/feature_gating_patterns.md +137 -137
  125. package/skills/saas-transformer/references/saas_transformation_checklist.md +121 -121
  126. package/skills/saas-transformer/scripts/saas_transformation_scanner.py +39 -29
  127. package/skills/scalability-clean-code/SKILL.md +234 -228
  128. package/skills/search-engine-expert/SKILL.md +89 -0
  129. package/skills/secure-fuzz-testing/SKILL.md +7 -1
  130. package/skills/self-evolving-memory-graph/SKILL.md +91 -0
  131. package/skills/self-healing-cloud-orchestrator/SKILL.md +57 -0
  132. package/skills/senior-frontend/SKILL.md +85 -105
  133. package/skills/seo/SKILL.md +258 -224
  134. package/skills/session-context-loader/SKILL.md +83 -0
  135. package/skills/session-handoff-resume/SKILL.md +163 -157
  136. package/skills/{skill_baru → skill-baru}/SKILL.md +177 -146
  137. package/skills/solidjs-expert/SKILL.md +80 -0
  138. package/skills/spa-orchestrator/SKILL.md +306 -287
  139. package/skills/sse-websocket-streaming-expert/SKILL.md +93 -0
  140. package/skills/state-management-expert/SKILL.md +277 -271
  141. package/skills/supabase-migration/SKILL.md +47 -1
  142. package/skills/supabase-security-expert/SKILL.md +248 -242
  143. package/skills/svelte-sveltekit-expert/SKILL.md +91 -0
  144. package/skills/svg-animation-motion-expert/SKILL.md +115 -0
  145. package/skills/tailwind-expert/SKILL.md +139 -187
  146. package/skills/tanstack-query-expert/SKILL.md +204 -198
  147. package/skills/tauri-expert/SKILL.md +7 -1
  148. package/skills/token-saver/SKILL.md +118 -110
  149. package/skills/typescript-expert/SKILL.md +329 -278
  150. package/skills/ui-components-expert/SKILL.md +166 -63
  151. package/skills/ui-ux-pro-max/SKILL.md +221 -200
  152. package/skills/vector-db-rag-expert/SKILL.md +208 -0
  153. package/skills/vibe-code-gardener/SKILL.md +180 -172
  154. package/skills/visual-qa-vision-agent/SKILL.md +71 -0
  155. package/skills/voice-ai-realtime-agent/SKILL.md +202 -0
  156. package/skills/vue-frontend-expert/SKILL.md +132 -0
  157. package/skills/wasm-edge-computing-expert/SKILL.md +97 -0
  158. package/skills/web-3d-graphics-expert/SKILL.md +137 -0
  159. package/skills/web-game-engine-expert/SKILL.md +102 -0
  160. package/skills/web-scraper/SKILL.md +98 -146
  161. package/skills/website-design-cloner/SKILL.md +180 -0
  162. package/skills/webxr-ar-vr-expert/SKILL.md +123 -0
  163. package/skills/wordpress-headless-expert/SKILL.md +144 -0
  164. package/skills/zero-to-prod-orchestrator/SKILL.md +231 -180
  165. package/skills/zero-trust-secret-vault/SKILL.md +88 -0
  166. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  167. package/CONTRIBUTING.md +0 -199
  168. package/SECURITY.md +0 -21
  169. package/banner.png +0 -0
  170. package/skills/senior-fullstack/SKILL.md +0 -167
  171. package/skills/senior-fullstack/references/architecture_patterns.md +0 -160
  172. package/skills/senior-fullstack/references/development_workflows.md +0 -222
  173. package/skills/senior-fullstack/references/tech_stack_guide.md +0 -190
  174. package/skills/senior-fullstack/scripts/code_quality_analyzer.py +0 -114
  175. package/skills/senior-fullstack/scripts/fullstack_scaffolder.py +0 -114
  176. package/skills/senior-fullstack/scripts/project_scaffolder.py +0 -114
  177. package/skills/seo-aeo-landing-page-writer/SKILL.md +0 -97
  178. package/skills/seo-geo/SKILL.md +0 -188
  179. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
  180. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
  181. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
  182. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
  183. package/skills/ui_ux_expert/SKILL.md +0 -114
@@ -1,188 +1,194 @@
1
- ---
2
- name: hig
3
- description: "Applies Human Interface Guidelines (HIG) principles — Hierarchy, Harmony, and Consistency — to UI/UX designs to ensure intuitive and cohesive interfaces / Menerapkan prinsip Human Interface Guidelines (HIG) — Hierarchy, Harmony, dan Consistency — pada desain UI/UX untuk memastikan antarmuka yang intuitif dan kohesif."
1
+ ---
2
+ name: hig
3
+ description: "Applies Human Interface Guidelines (HIG) principles — Hierarchy, Harmony, and Consistency — to UI/UX designs to ensure intuitive and cohesive interfaces / Menerapkan prinsip Human Interface Guidelines (HIG) — Hierarchy, Harmony, dan Consistency — pada desain UI/UX untuk memastikan antarmuka yang intuitif dan kohesif."
4
4
  author: "Roedy Rustam"
5
- ---
6
-
7
- # Human Interface Guidelines (HIG) Expert (2026 Edition)
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### Description
17
- Applies Human Interface Guidelines (HIG) principles to web and mobile UI/UX designs. Covers the core triad (Hierarchy, Harmony, Consistency), Apple's HIG 2025 updates, Google Material Design 3, spatial design for Apple Vision Pro, and modern accessibility requirements.
18
-
19
- ### Trigger Conditions
20
- - Reviewing or critiquing a UI design for HIG violations.
21
- - Making design decisions about typography scale, color usage, or layout hierarchy.
22
- - Designing for multiple platforms (iOS, Android, web) with consistent patterns.
23
- - Evaluating whether a UI feels "premium" or "amateur".
24
- - Ensuring UI components follow platform conventions (button placement, nav patterns).
25
-
26
- ### The Core HIG Triad
27
-
28
- #### 1. Hierarchy — Guide the User's Eye
29
- Visual hierarchy controls where the user looks first and how they navigate information.
30
-
31
- **Typography Hierarchy:**
32
- ```css
33
- /* Clear hierarchy with size and weight — 4 levels max */
34
- .h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
35
- .h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
36
- .h3 { font-size: 1.25rem; font-weight: 600; }
37
- .body { font-size: 1rem; font-weight: 400; }
38
- .caption { font-size: 0.875rem; font-weight: 400; color: var(--color-text-muted); }
39
- ```
40
-
41
- **Spatial Hierarchy (Z-axis):**
42
- - Surface level: cards, panels — `shadow-sm`
43
- - Raised level: dropdowns, tooltips — `shadow-md`
44
- - Overlay level: modals, drawers — `shadow-xl`
45
- - Floating level: toasts, command palette — `shadow-2xl`
46
-
47
- **Color Hierarchy:**
48
- - Primary action: brand color (1 per screen)
49
- - Secondary action: muted/ghost variant
50
- - Destructive action: red — far from primary CTA
51
-
52
- #### 2. Harmony — Visual Cohesion
53
- All elements should feel like they belong to the same family.
54
-
55
- **Spacing Scale (8pt Grid):**
56
- ```
57
- 4px → xs gaps (icon padding, tight list items)
58
- 8px → sm (between related elements)
59
- 16px → md (card padding, section spacing)
60
- 24px → lg (between sections)
61
- 32px → xl (between major blocks)
62
- 48px → 2xl (page-level separation)
63
- ```
64
-
65
- **Border Radius Consistency:**
66
- - Small elements (badges, chips): `rounded-full` or `rounded-sm`
67
- - Medium elements (inputs, buttons): `rounded-md`
68
- - Large elements (cards, modals): `rounded-xl`
69
- - Never mix `rounded-none` with `rounded-2xl` in the same screen
70
-
71
- **Color Harmony:**
72
- ```
73
- Analogous: Brand + ±30° hue neighbors (natural, calm)
74
- Complementary: Brand + 180° (high contrast, CTAs)
75
- Triadic: Brand + 120°/240° (vibrant, use sparingly)
76
- Monochromatic: Single hue, varying lightness (professional)
77
- ```
78
-
79
- #### 3. Consistency — Reduce Cognitive Load
80
- Users should never wonder "how does this work?" — patterns should be predictable.
81
-
82
- **Platform Conventions (Web):**
83
- - Primary CTA: top-right (desktop nav) or bottom-center (mobile)
84
- - Destructive actions: always require confirmation dialogs
85
- - Form submission: Enter key submits, Escape cancels/closes
86
- - Navigation: Breadcrumbs for 3+ depth levels
87
- - Empty states: Always provide an actionable CTA
88
-
89
- **Component Consistency Checklist:**
90
- - [ ] All buttons use the same radius (`rounded-md` everywhere).
91
- - [ ] All modals have the same padding (`p-6`) and close behavior (Escape key).
92
- - [ ] All form inputs have the same height (`h-9`) and focus ring style.
93
- - [ ] All error messages appear in the same position (below the input field).
94
- - [ ] All tables use the same row height and hover style.
95
-
96
- ### Apple HIG 2025 Updates
97
-
98
- #### Spatial Design (Vision Pro)
99
- - Use **depth** as an organizational tool — foreground elements are more important.
100
- - Avoid placing interactive elements outside comfortable viewing angles (±45° center).
101
- - Use **glass morphism** (`backdrop-blur`) for panels to maintain spatial context.
102
- - Prefer indirect input (gaze + pinch) over precise pointer interactions.
103
-
104
- #### iOS 18 Design Patterns
105
- - **Liquid Glass**: Full glass-morphism on navigation bars and toolbars.
106
- - **Adaptive layouts**: Single codebase adapts from iPhone to iPad to Mac.
107
- - **Symbols**: SF Symbols 6 with variable rendering (multicolor, hierarchical).
108
- - **Menu patterns**: Context menus replace modal bottom sheets where possible.
109
-
110
- ### Material Design 3 (Google)
111
-
112
- #### Dynamic Color (M3)
113
- Generate a full color system from a single seed color:
114
- ```typescript
115
- import { argbFromHex, themeFromSourceColor } from '@material/material-color-utilities';
116
-
117
- const theme = themeFromSourceColor(argbFromHex('#6750A4'));
118
- // Generates: primary, secondary, tertiary, error + all tonal palettes
119
- ```
120
-
121
- #### Key M3 Components
122
- - **Cards**: 3 variants — Elevated (shadow), Filled (surface variant), Outlined (border)
123
- - **Chips**: Filter, Input, Suggestion, Assist — each with distinct purpose
124
- - **Navigation**: Bottom bar (≤5 items), Rail (tablet), Drawer (desktop)
125
-
126
- ### HIG Audit Protocol
127
- When reviewing a design, check:
128
- 1. **Hierarchy**: Is the primary action immediately obvious? Is text contrast sufficient?
129
- 2. **Harmony**: Is spacing consistent (8pt grid)? Are border radii uniform?
130
- 3. **Consistency**: Do interactive elements follow platform conventions?
131
- 4. **Accessibility**: Does it pass WCAG 2.2? Are touch targets ≥ 24×24px?
132
- 5. **Platform fit**: Does it feel native to its target platform?
133
-
134
- ---
135
-
136
- <a name="bahasa-indonesia"></a>
137
- ## Bahasa Indonesia
138
-
139
- ### Deskripsi
140
- Menerapkan prinsip Human Interface Guidelines (HIG) pada desain UI/UX web dan mobile. Mencakup triad inti (Hierarchy, Harmony, Consistency), pembaruan Apple HIG 2025, Google Material Design 3, desain spasial untuk Apple Vision Pro, dan persyaratan aksesibilitas modern.
141
-
142
- ### Kondisi Pemicu
143
- - Meninjau atau mengkritik desain UI untuk pelanggaran HIG.
144
- - Membuat keputusan desain tentang skala tipografi, penggunaan warna, atau hierarki tata letak.
145
- - Merancang untuk berbagai platform (iOS, Android, web) dengan pola yang konsisten.
146
- - Mengevaluasi apakah UI terasa "premium" atau "amatir".
147
- - Memastikan komponen UI mengikuti konvensi platform.
148
-
149
- ### Triad HIG Inti
150
-
151
- #### 1. Hierarki — Pandu Mata Pengguna
152
- Hierarki visual mengontrol di mana pengguna melihat pertama dan bagaimana mereka menavigasi informasi.
153
- - **Hierarki tipografi**: 4 level maksimal — H1 (2.25rem, 700), H2 (1.5rem, 600), H3 (1.25rem, 600), body (1rem, 400).
154
- - **Hierarki spasial (sumbu-Z)**: Surface (shadow-sm), Raised (shadow-md), Overlay (shadow-xl), Floating (shadow-2xl).
155
- - **Hierarki warna**: Satu warna brand per layar, aksi sekunder dengan varian muted/ghost, aksi destruktif dengan merah — jauh dari CTA utama.
156
-
157
- #### 2. Harmoni — Kohesi Visual
158
- Semua elemen harus terasa seperti milik keluarga yang sama.
159
- - **Skala spacing (grid 8pt)**: 4px, 8px, 16px, 24px, 32px, 48px.
160
- - **Konsistensi border radius**: Elemen kecil (rounded-full), sedang (rounded-md), besar (rounded-xl). Jangan campurkan rounded-none dengan rounded-2xl di layar yang sama.
161
- - **Harmoni warna**: Analogis, komplementer, triadik, atau monokromatik — pilih satu skema dan patuhi.
162
-
163
- #### 3. Konsistensi — Kurangi Beban Kognitif
164
- Pengguna tidak pernah bertanya-tanya "bagaimana cara ini bekerja?" — pola harus dapat diprediksi.
165
- - Konvensi platform: CTA utama di kanan atas (nav desktop) atau bawah tengah (mobile).
166
- - Aksi destruktif selalu memerlukan dialog konfirmasi.
167
- - Semua komponen sejenis menggunakan radius, padding, dan perilaku yang sama.
168
-
169
- ### Pembaruan Apple HIG 2025
170
-
171
- #### Desain Spasial (Vision Pro)
172
- Gunakan kedalaman sebagai alat organisasi. Gunakan glass-morphism (`backdrop-blur`) untuk panel. Hindari elemen interaktif di luar sudut pandang yang nyaman.
173
-
174
- #### Pola iOS 18
175
- Liquid Glass untuk navigation bar. Tata letak adaptif dari iPhone ke iPad ke Mac. SF Symbols 6 dengan rendering variabel.
176
-
177
- ### Material Design 3 (Google)
178
-
179
- #### Warna Dinamis (M3)
180
- Hasilkan sistem warna penuh dari satu warna seed menggunakan `@material/material-color-utilities`.
181
-
182
- #### Komponen M3 Utama
183
- - **Kartu**: Elevated (bayangan), Filled (varian permukaan), Outlined (batas).
184
- - **Chip**: Filter, Input, Saran, Bantuan — masing-masing dengan tujuan berbeda.
185
- - **Navigasi**: Bottom bar (≤5 item), Rail (tablet), Drawer (desktop).
186
-
187
- ### Protokol Audit HIG
188
- Saat meninjau desain, periksa: Hierarki (apakah aksi utama langsung terlihat jelas?), Harmoni (apakah spacing konsisten?), Konsistensi (apakah elemen interaktif mengikuti konvensi platform?), Aksesibilitas (lulus WCAG 2.2? Target sentuh ≥ 24×24px?), dan Kesesuaian Platform (apakah terasa native untuk platform target?).
5
+ ---
6
+
7
+ # Human Interface Guidelines (HIG) Expert (2026 Edition)
8
+
9
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
+
11
+ ---
12
+
13
+ <a name="english"></a>
14
+ ## English
15
+
16
+ ### Orchestration & Integration
17
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, and `project-context-mapper` to ensure cohesive execution.
18
+
19
+ ### Description
20
+ Applies Human Interface Guidelines (HIG) principles to web and mobile UI/UX designs. Covers the core triad (Hierarchy, Harmony, Consistency), Apple's HIG 2025 updates, Google Material Design 3, spatial design for Apple Vision Pro, and modern accessibility requirements.
21
+
22
+ ### Trigger Conditions
23
+ - Reviewing or critiquing a UI design for HIG violations.
24
+ - Making design decisions about typography scale, color usage, or layout hierarchy.
25
+ - Designing for multiple platforms (iOS, Android, web) with consistent patterns.
26
+ - Evaluating whether a UI feels "premium" or "amateur".
27
+ - Ensuring UI components follow platform conventions (button placement, nav patterns).
28
+
29
+ ### The Core HIG Triad
30
+
31
+ #### 1. Hierarchy — Guide the User's Eye
32
+ Visual hierarchy controls where the user looks first and how they navigate information.
33
+
34
+ **Typography Hierarchy:**
35
+ ```css
36
+ /* Clear hierarchy with size and weight — 4 levels max */
37
+ .h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
38
+ .h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
39
+ .h3 { font-size: 1.25rem; font-weight: 600; }
40
+ .body { font-size: 1rem; font-weight: 400; }
41
+ .caption { font-size: 0.875rem; font-weight: 400; color: var(--color-text-muted); }
42
+ ```
43
+
44
+ **Spatial Hierarchy (Z-axis):**
45
+ - Surface level: cards, panels — `shadow-sm`
46
+ - Raised level: dropdowns, tooltips — `shadow-md`
47
+ - Overlay level: modals, drawers — `shadow-xl`
48
+ - Floating level: toasts, command palette — `shadow-2xl`
49
+
50
+ **Color Hierarchy:**
51
+ - Primary action: brand color (1 per screen)
52
+ - Secondary action: muted/ghost variant
53
+ - Destructive action: red — far from primary CTA
54
+
55
+ #### 2. Harmony — Visual Cohesion
56
+ All elements should feel like they belong to the same family.
57
+
58
+ **Spacing Scale (8pt Grid):**
59
+ ```
60
+ 4px → xs gaps (icon padding, tight list items)
61
+ 8px → sm (between related elements)
62
+ 16px → md (card padding, section spacing)
63
+ 24px → lg (between sections)
64
+ 32px → xl (between major blocks)
65
+ 48px → 2xl (page-level separation)
66
+ ```
67
+
68
+ **Border Radius Consistency:**
69
+ - Small elements (badges, chips): `rounded-full` or `rounded-sm`
70
+ - Medium elements (inputs, buttons): `rounded-md`
71
+ - Large elements (cards, modals): `rounded-xl`
72
+ - Never mix `rounded-none` with `rounded-2xl` in the same screen
73
+
74
+ **Color Harmony:**
75
+ ```
76
+ Analogous: Brand + ±30° hue neighbors (natural, calm)
77
+ Complementary: Brand + 180° (high contrast, CTAs)
78
+ Triadic: Brand + 120°/240° (vibrant, use sparingly)
79
+ Monochromatic: Single hue, varying lightness (professional)
80
+ ```
81
+
82
+ #### 3. Consistency — Reduce Cognitive Load
83
+ Users should never wonder "how does this work?" — patterns should be predictable.
84
+
85
+ **Platform Conventions (Web):**
86
+ - Primary CTA: top-right (desktop nav) or bottom-center (mobile)
87
+ - Destructive actions: always require confirmation dialogs
88
+ - Form submission: Enter key submits, Escape cancels/closes
89
+ - Navigation: Breadcrumbs for 3+ depth levels
90
+ - Empty states: Always provide an actionable CTA
91
+
92
+ **Component Consistency Checklist:**
93
+ - [ ] All buttons use the same radius (`rounded-md` everywhere).
94
+ - [ ] All modals have the same padding (`p-6`) and close behavior (Escape key).
95
+ - [ ] All form inputs have the same height (`h-9`) and focus ring style.
96
+ - [ ] All error messages appear in the same position (below the input field).
97
+ - [ ] All tables use the same row height and hover style.
98
+
99
+ ### Apple HIG 2025 Updates
100
+
101
+ #### Spatial Design (Vision Pro)
102
+ - Use **depth** as an organizational tool — foreground elements are more important.
103
+ - Avoid placing interactive elements outside comfortable viewing angles (±45° center).
104
+ - Use **glass morphism** (`backdrop-blur`) for panels to maintain spatial context.
105
+ - Prefer indirect input (gaze + pinch) over precise pointer interactions.
106
+
107
+ #### iOS 18 Design Patterns
108
+ - **Liquid Glass**: Full glass-morphism on navigation bars and toolbars.
109
+ - **Adaptive layouts**: Single codebase adapts from iPhone to iPad to Mac.
110
+ - **Symbols**: SF Symbols 6 with variable rendering (multicolor, hierarchical).
111
+ - **Menu patterns**: Context menus replace modal bottom sheets where possible.
112
+
113
+ ### Material Design 3 (Google)
114
+
115
+ #### Dynamic Color (M3)
116
+ Generate a full color system from a single seed color:
117
+ ```typescript
118
+ import { argbFromHex, themeFromSourceColor } from '@material/material-color-utilities';
119
+
120
+ const theme = themeFromSourceColor(argbFromHex('#6750A4'));
121
+ // Generates: primary, secondary, tertiary, error + all tonal palettes
122
+ ```
123
+
124
+ #### Key M3 Components
125
+ - **Cards**: 3 variants — Elevated (shadow), Filled (surface variant), Outlined (border)
126
+ - **Chips**: Filter, Input, Suggestion, Assist — each with distinct purpose
127
+ - **Navigation**: Bottom bar (≤5 items), Rail (tablet), Drawer (desktop)
128
+
129
+ ### HIG Audit Protocol
130
+ When reviewing a design, check:
131
+ 1. **Hierarchy**: Is the primary action immediately obvious? Is text contrast sufficient?
132
+ 2. **Harmony**: Is spacing consistent (8pt grid)? Are border radii uniform?
133
+ 3. **Consistency**: Do interactive elements follow platform conventions?
134
+ 4. **Accessibility**: Does it pass WCAG 2.2? Are touch targets ≥ 24×24px?
135
+ 5. **Platform fit**: Does it feel native to its target platform?
136
+
137
+ ---
138
+
139
+ <a name="bahasa-indonesia"></a>
140
+ ## Bahasa Indonesia
141
+
142
+ ### Integrasi Orkestrasi
143
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
144
+
145
+ ### Deskripsi
146
+ Menerapkan prinsip Human Interface Guidelines (HIG) pada desain UI/UX web dan mobile. Mencakup triad inti (Hierarchy, Harmony, Consistency), pembaruan Apple HIG 2025, Google Material Design 3, desain spasial untuk Apple Vision Pro, dan persyaratan aksesibilitas modern.
147
+
148
+ ### Kondisi Pemicu
149
+ - Meninjau atau mengkritik desain UI untuk pelanggaran HIG.
150
+ - Membuat keputusan desain tentang skala tipografi, penggunaan warna, atau hierarki tata letak.
151
+ - Merancang untuk berbagai platform (iOS, Android, web) dengan pola yang konsisten.
152
+ - Mengevaluasi apakah UI terasa "premium" atau "amatir".
153
+ - Memastikan komponen UI mengikuti konvensi platform.
154
+
155
+ ### Triad HIG Inti
156
+
157
+ #### 1. Hierarki — Pandu Mata Pengguna
158
+ Hierarki visual mengontrol di mana pengguna melihat pertama dan bagaimana mereka menavigasi informasi.
159
+ - **Hierarki tipografi**: 4 level maksimal — H1 (2.25rem, 700), H2 (1.5rem, 600), H3 (1.25rem, 600), body (1rem, 400).
160
+ - **Hierarki spasial (sumbu-Z)**: Surface (shadow-sm), Raised (shadow-md), Overlay (shadow-xl), Floating (shadow-2xl).
161
+ - **Hierarki warna**: Satu warna brand per layar, aksi sekunder dengan varian muted/ghost, aksi destruktif dengan merah — jauh dari CTA utama.
162
+
163
+ #### 2. Harmoni — Kohesi Visual
164
+ Semua elemen harus terasa seperti milik keluarga yang sama.
165
+ - **Skala spacing (grid 8pt)**: 4px, 8px, 16px, 24px, 32px, 48px.
166
+ - **Konsistensi border radius**: Elemen kecil (rounded-full), sedang (rounded-md), besar (rounded-xl). Jangan campurkan rounded-none dengan rounded-2xl di layar yang sama.
167
+ - **Harmoni warna**: Analogis, komplementer, triadik, atau monokromatik — pilih satu skema dan patuhi.
168
+
169
+ #### 3. Konsistensi — Kurangi Beban Kognitif
170
+ Pengguna tidak pernah bertanya-tanya "bagaimana cara ini bekerja?" — pola harus dapat diprediksi.
171
+ - Konvensi platform: CTA utama di kanan atas (nav desktop) atau bawah tengah (mobile).
172
+ - Aksi destruktif selalu memerlukan dialog konfirmasi.
173
+ - Semua komponen sejenis menggunakan radius, padding, dan perilaku yang sama.
174
+
175
+ ### Pembaruan Apple HIG 2025
176
+
177
+ #### Desain Spasial (Vision Pro)
178
+ Gunakan kedalaman sebagai alat organisasi. Gunakan glass-morphism (`backdrop-blur`) untuk panel. Hindari elemen interaktif di luar sudut pandang yang nyaman.
179
+
180
+ #### Pola iOS 18
181
+ Liquid Glass untuk navigation bar. Tata letak adaptif dari iPhone ke iPad ke Mac. SF Symbols 6 dengan rendering variabel.
182
+
183
+ ### Material Design 3 (Google)
184
+
185
+ #### Warna Dinamis (M3)
186
+ Hasilkan sistem warna penuh dari satu warna seed menggunakan `@material/material-color-utilities`.
187
+
188
+ #### Komponen M3 Utama
189
+ - **Kartu**: Elevated (bayangan), Filled (varian permukaan), Outlined (batas).
190
+ - **Chip**: Filter, Input, Saran, Bantuan — masing-masing dengan tujuan berbeda.
191
+ - **Navigasi**: Bottom bar (≤5 item), Rail (tablet), Drawer (desktop).
192
+
193
+ ### Protokol Audit HIG
194
+ Saat meninjau desain, periksa: Hierarki (apakah aksi utama langsung terlihat jelas?), Harmoni (apakah spacing konsisten?), Konsistensi (apakah elemen interaktif mengikuti konvensi platform?), Aksesibilitas (lulus WCAG 2.2? Target sentuh ≥ 24×24px?), dan Kesesuaian Platform (apakah terasa native untuk platform target?).