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,10 +1,11 @@
1
1
  ---
2
2
  name: gemini-agent-booster
3
- description: "Master optimization protocol for Gemini Agent (Antigravity) to unlock native 1M+ long-context reasoning, multimodal vision UI audits, visual subagent feedback, and high-speed problem solving / Protokol optimasi utama untuk Gemini Agent (Antigravity) untuk mengaktifkan pemikiran long-context 1M+, audit UI visual multimodal, dan pemecahan masalah kecepatan tinggi."
3
+ version: "2.8.0"
4
+ description: "Master optimization protocol for Gemini Agent (Antigravity) to unlock native 2M+ long-context reasoning, Gemini 3.x thinking budget control, native context caching, Multimodal Live API protocols, and high-speed problem solving / Protokol optimasi utama untuk Gemini Agent (Antigravity) untuk mengaktifkan pemikiran long-context 2M+, kontrol thinking budget Gemini 3.x, context caching native, protokol Multimodal Live API, dan pemecahan masalah kecepatan tinggi."
4
5
  author: "Roedy Rustam"
5
6
  ---
6
7
 
7
- # Gemini Agent Booster (2026 Edition — Gemini 2.5 Pro/Flash)
8
+ # Gemini Agent Booster (2026 Edition — Gemini 3.x Ecosystem)
8
9
 
9
10
  [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
11
 
@@ -13,123 +14,160 @@ author: "Roedy Rustam"
13
14
  <a name="english"></a>
14
15
  ## English
15
16
 
17
+ ### Orchestration & Integration
18
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, `ai-llm-integration-expert`, and `project-context-mapper` to ensure cohesive execution.
19
+
16
20
  ### Description
17
- Master optimization protocol for the Gemini Agent (Antigravity) to leverage native Gemini 2.5 Pro/Flash capabilities — including 1M+ token context window, multimodal vision analysis, deep research mode, thinking chains, and high-speed code generation.
21
+ Master optimization protocol for the Gemini Agent (Antigravity) to leverage native Gemini 3.x (Gemini 3.8 Flash, Gemini 3.5/3.1 Pro/Flash) capabilities — including 1M–2M token context window, dynamic thinking budget control, native context caching (`cachedContent`), Multimodal Live API integration, visual UI auditing, and parallel tool calling.
18
22
 
19
23
  ### Trigger Conditions
20
- - Analyzing very large codebases, logs, or documents that require 1M+ token context.
21
- - Performing multimodal UI audits (analyzing screenshots of running applications).
22
- - Running deep research tasks requiring web search + reasoning synthesis.
23
- - Generating large, complex code artifacts in a single pass.
24
- - Delegating complex multi-step tasks to browser subagents.
24
+ - Analyzing very large codebases, full log histories, or monolithic documents requiring 1M–2M token context.
25
+ - Managing reasoning budgets with Gemini 3.x Thinking Mode (`thinkingConfig`).
26
+ - Implementing cost-saving strategies with native Gemini Context Caching (`cachedContent`).
27
+ - Performing real-time bidirectional multimodal audio/video or visual UI audits.
28
+ - Running deep research tasks requiring web search grounding + reasoning synthesis.
29
+ - Delegating complex multi-step tasks to parallel agent swarms or browser subagents.
25
30
 
26
- ### Gemini 2.5 Pro/Flash Capabilities (2026)
31
+ ### Gemini 3.x Capability Matrix (2026)
27
32
 
28
- | Capability | Gemini 2.5 Pro | Gemini 2.5 Flash |
33
+ | Capability | Gemini 3.1 / 3.5 Pro | Gemini 3.8 / 3.1 Flash |
29
34
  |---|---|---|
30
- | Context Window | 1M tokens | 1M tokens |
31
- | Thinking / Reasoning | Extended thinking | Flash thinking |
32
- | Multimodal (Image/Video) | | |
33
- | Code Generation | Best-in-class | Very fast |
34
- | Web Search (Grounding) | | |
35
- | Deep Research | (up to 30 min) | |
36
- | Audio | | |
37
- | Speed | Slower | 5-10x faster |
38
- | Cost | Higher | Lower |
39
-
40
- ### 1M+ Token Long-Context Strategies
41
-
42
- When working with very large inputs (codebases, documents, logs):
43
- 1. **Pass full file trees** use `list_dir` to get the complete file tree, then pass relevant files to maximize context.
44
- 2. **Read whole files, not snippets** — with 1M context, read entire source files rather than grepping for fragments.
45
- 3. **Cross-file analysis** trace data flows, imports, and interfaces across multiple files simultaneously.
46
- 4. **Log analysis** pass entire server logs (up to hundreds of thousands of lines) for pattern detection.
47
- 5. **Codebase onboarding** ingest an entire unfamiliar repo in one pass for deep architectural understanding.
48
-
49
- ### Multimodal Vision — UI Audit Protocol
50
- Use the `browser_subagent` + `generate_image` tools for visual feedback:
51
- 1. **Screenshot the running app** via browser subagent.
52
- 2. **Analyze the screenshot** for layout issues, accessibility problems, design inconsistencies, Core Web Vitals opportunities.
53
- 3. **Generate a target design** using `generate_image` for visual comparison.
54
- 4. **Iterate code** based on visual delta between current and target design.
55
-
56
- ### Thinking Mode — Extended Reasoning
57
- For complex problems, use Gemini's extended thinking:
58
- - Architecture decisions with multiple tradeoffs.
59
- - Debugging hard-to-reproduce race conditions.
60
- - Designing multi-step agentic workflows.
61
- - Cryptographic or security-sensitive implementations.
62
- - **Protocol**: State the problem clearly → let thinking run → review reasoning chain → validate conclusion.
63
-
64
- ### Deep Research Mode
65
- Gemini 2.5 Pro's deep research can spend up to 30 minutes actively searching, reading, and synthesizing from hundreds of sources. Use for:
66
- - Market research before building a new feature.
67
- - Security vulnerability research.
68
- - Competitive analysis of existing tools.
69
- - Collecting the latest API documentation for a framework.
70
-
71
- ### Speed Optimization — Flash for Iteration
72
- Use **Gemini 2.5 Flash** for:
73
- - Quick code generation, small file edits.
74
- - Rapid back-and-forth iteration (linting, formatting, small bug fixes).
75
- - High-volume batch processing.
76
-
77
- Use **Gemini 2.5 Pro** for:
78
- - Complex architecture decisions.
79
- - Long-context full-codebase analysis.
80
- - Security audits requiring deep reasoning.
81
- - Generating comprehensive documentation.
82
-
83
- ### Agent Parallelism
84
- Gemini Agent natively supports parallel tool calls run independent operations simultaneously:
85
- - Read multiple files at once.
86
- - Run multiple searches in parallel.
87
- - Spawn multiple browser subagents for concurrent tasks.
88
- - Write multiple files simultaneously.
35
+ | Context Window | Up to 2M tokens | 1M–2M tokens |
36
+ | Thinking / Reasoning | Extended Reasoning (Deep Think) | Flash Thinking (Configurable Budget) |
37
+ | Native Context Caching | Supported (`cachedContent`) | Supported (`cachedContent`) |
38
+ | Multimodal (Image/Video/Audio) | Native Multimodal | Native Multimodal + Live API |
39
+ | Code Generation & Tool Calling | State-of-the-Art Architecture | Ultra-fast iteration & subagents |
40
+ | Search Grounding | Google Search Grounding | Google Search Grounding |
41
+ | TTFT (Time to First Token) | Optimized for depth | 3–5x lower latency |
42
+ | Relative Cost Profile | Higher (for critical paths) | Ultra-low cost (ideal for high-frequency loops) |
43
+
44
+ ### 1. Dynamic Thinking Budget & Reasoning Protocol
45
+ For complex architectural decisions, security audits, or debugging race conditions, control the reasoning depth via `thinkingConfig`:
46
+ - **Flash Thinking for Rapid Tasks**: Set lower or default thinking budgets for quick bug fixes, linting, and boilerplate generation.
47
+ - **Extended Thinking for Critical Paths**: Allocate high thinking budgets (e.g. 8k–32k thinking tokens) when designing distributed schemas, refactoring core engines, or evaluating cryptographic trade-offs.
48
+ - **Reasoning Token Separation**: Ensure internal thinking tokens (`<thought>`) are isolated from client-facing output streams so that final responses remain crisp, clean, and token-efficient.
49
+
50
+ ### 2. Native Context Caching (`cachedContent`)
51
+ Reduce token costs by up to 75–90% and drastically cut latency on large repositories:
52
+ - **Threshold**: Cache prompts, repository snapshots, or API schemas larger than 32,768 tokens.
53
+ - **TTL Management**: Set appropriate time-to-live (TTL, e.g., 1–2 hours for active dev sessions, 24 hours for stable documentation).
54
+ - **Structure**:
55
+ ```typescript
56
+ // Native Gemini Context Caching Example
57
+ const cache = await ai.createCachedContent({
58
+ model: 'gemini-3.1-pro',
59
+ contents: [{ role: 'user', parts: [{ text: fullCodebaseDump }] }],
60
+ ttl: '3600s',
61
+ });
62
+
63
+ const response = await ai.models.generateContent({
64
+ model: 'gemini-3.1-pro',
65
+ contents: [{ role: 'user', parts: [{ text: 'Locate memory leak in worker thread' }] }],
66
+ cachedContent: cache.name,
67
+ });
68
+ ```
69
+
70
+ ### 3. 2M+ Token Long-Context Strategies
71
+ When inspecting massive codebases:
72
+ 1. **Pass Full File Trees**: Use `list_dir` to obtain the complete project structure, then supply full source files into context.
73
+ 2. **Whole-File Ingestion**: With 1M–2M context, avoid grep fragmentation; inspect complete classes and dependency trees in one shot.
74
+ 3. **Cross-Service Traceability**: Analyze upstream microservice contracts, protobufs, and frontend consumers concurrently in the same session.
75
+ 4. **Massive Server Logs**: Ingest complete production logs to uncover subtle intermittent race conditions and memory leaks.
76
+
77
+ ### 4. Multimodal Live API & Screen Grounding
78
+ Integrate real-time, low-latency multimodal interaction:
79
+ - **Bidirectional Streaming**: Stream audio input and receive audio/text responses over WebSockets using Gemini Multimodal Live API.
80
+ - **Screen & UI Grounding**: Capture frames from browser subagents or desktop windows; Gemini grounds user queries directly to coordinate points on screen.
81
+ - **Visual UI Auditing Protocol**:
82
+ 1. Capture current running application via `browser_subagent`.
83
+ 2. Audit layout, typography, contrast, and visual hierarchy against HIG and WCAG standards.
84
+ 3. Compare visually with target design using `generate_image` or design system guidelines.
85
+ 4. Perform targeted micro-edits to CSS/Tailwind tokens until alignment reaches pixel perfection.
86
+
87
+ ### 5. Deep Research & Search Grounding
88
+ Gemini's native Search Grounding connects the agent directly to real-time web knowledge:
89
+ - Use Grounding for fresh library releases, breaking API deprecations, or zero-day CVE lookups.
90
+ - Synthesize findings with source attribution citations.
91
+
92
+ ### 6. Parallel Tool Execution
93
+ Gemini natively supports concurrent function calls:
94
+ - Read and edit multiple independent files in a single pass.
95
+ - Trigger parallel web searches or subagent workers simultaneously to minimize round-trip latency.
89
96
 
90
97
  ---
91
98
 
92
99
  <a name="bahasa-indonesia"></a>
93
100
  ## Bahasa Indonesia
94
101
 
102
+ ### Integrasi Orkestrasi
103
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, `ai-llm-integration-expert`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
104
+
95
105
  ### Deskripsi
96
- Protokol optimasi utama untuk Gemini Agent (Antigravity) memanfaatkan kemampuan native Gemini 2.5 Pro/Flash — termasuk context window 1M+ token, analisis visi multimodal, mode penelitian mendalam, rantai pemikiran, dan generasi kode berkecepatan tinggi.
106
+ Protokol optimasi utama untuk Gemini Agent (Antigravity) memanfaatkan kapabilitas ekosistem Gemini 3.x (Gemini 3.8 Flash, Gemini 3.5/3.1 Pro/Flash) — termasuk context window 1M–2M token, kontrol dynamic thinking budget, native context caching (`cachedContent`), integrasi Multimodal Live API, audit visual UI, dan pemanggilan tool secara paralel.
97
107
 
98
108
  ### Kondisi Pemicu
99
- - Menganalisis codebase, log, atau dokumen yang sangat besar yang memerlukan konteks 1M+ token.
100
- - Melakukan audit UI multimodal (menganalisis screenshot aplikasi yang berjalan).
101
- - Menjalankan tugas penelitian mendalam yang memerlukan pencarian web + sintesis penalaran.
102
- - Menghasilkan artefak kode yang besar dan kompleks dalam satu lintasan.
103
- - Mendelegasikan tugas multi-langkah kompleks ke browser subagent.
109
+ - Menganalisis codebase skala besar, histori log lengkap, atau dokumen monolitik yang membutuhkan konteks 1M–2M token.
110
+ - Mengatur alokasi reasoning budget dengan Gemini 3.x Thinking Mode (`thinkingConfig`).
111
+ - Menerapkan strategi pemangkasan biaya melalui native Gemini Context Caching (`cachedContent`).
112
+ - Menjalankan interaksi audio/video dua arah secara real-time atau audit visual UI.
113
+ - Menjalankan tugas riset mendalam dengan Google Search Grounding + sintesis penalaran.
114
+ - Mendelegasikan tugas multi-langkah ke swarm agen paralel atau browser subagent.
104
115
 
105
- ### Kemampuan Gemini 2.5 Pro/Flash (2026)
116
+ ### Matriks Kapabilitas Gemini 3.x (2026)
106
117
 
107
- | Kemampuan | Gemini 2.5 Pro | Gemini 2.5 Flash |
118
+ | Kapabilitas | Gemini 3.1 / 3.5 Pro | Gemini 3.8 / 3.1 Flash |
108
119
  |---|---|---|
109
- | Context Window | 1M token | 1M token |
110
- | Pemikiran / Penalaran | Extended thinking | Flash thinking |
111
- | Multimodal (Gambar/Video) | | |
112
- | Generasi Kode | Terbaik di kelasnya | Sangat cepat |
113
- | Pencarian Web (Grounding) | | |
114
- | Penelitian Mendalam | (hingga 30 mnt) | |
115
- | Kecepatan | Lebih lambat | 5-10x lebih cepat |
116
- | Biaya | Lebih tinggi | Lebih rendah |
117
-
118
- ### Strategi Long-Context 1M+ Token
119
- Manfaatkan jendela konteks besar dengan membaca seluruh file (bukan hanya fragment), melewatkan seluruh pohon file proyek, menganalisis aliran data lintas file secara bersamaan, dan menganalisis log server lengkap untuk deteksi pola.
120
-
121
- ### Visi Multimodal Protokol Audit UI
122
- Gunakan `browser_subagent` untuk mengambil screenshot aplikasi yang berjalan, analisis secara visual untuk masalah tata letak atau aksesibilitas, buat desain target dengan `generate_image`, lalu iterasi kode berdasarkan delta visual.
123
-
124
- ### Mode Pemikiran Extended Reasoning
125
- Untuk masalah kompleks (keputusan arsitektur, debugging race condition, alur kerja agentik), aktifkan mode pemikiran diperpanjang Gemini untuk rantai penalaran yang lebih dalam sebelum menghasilkan solusi.
126
-
127
- ### Mode Penelitian Mendalam
128
- Gemini 2.5 Pro dapat menghabiskan hingga 30 menit secara aktif mencari, membaca, dan mensintesis dari ratusan sumber. Ideal untuk riset pasar, kerentanan keamanan, analisis kompetitif, atau pengumpulan dokumentasi API terbaru.
129
-
130
- ### Flash untuk Iterasi, Pro untuk Kedalaman
131
- - **Flash**: Edit cepat, iterasi bolak-balik, pemrosesan batch.
132
- - **Pro**: Keputusan arsitektur, analisis codebase penuh, audit keamanan, dokumentasi komprehensif.
133
-
134
- ### Paralelisme Agen
135
- Gemini Agent mendukung pemanggilan tool paralel secara native — jalankan operasi independen secara bersamaan untuk memaksimalkan throughput.
120
+ | Context Window | Hingga 2M token | 1M–2M token |
121
+ | Pemikiran / Penalaran | Extended Reasoning (Deep Think) | Flash Thinking (Configurable Budget) |
122
+ | Native Context Caching | Didukung (`cachedContent`) | Didukung (`cachedContent`) |
123
+ | Multimodal (Gambar/Video/Audio) | Native Multimodal | Native Multimodal + Live API |
124
+ | Generasi Kode & Tool Calling | Arsitektur State-of-the-Art | Iterasi & subagent ultra-cepat |
125
+ | Search Grounding | Google Search Grounding | Google Search Grounding |
126
+ | TTFT (Latensi Token Pertama) | Dioptimalkan untuk kedalaman | 3–5x lebih cepat |
127
+ | Profil Biaya | Lebih tinggi (untuk alur kritis) | Sangat hemat (ideal untuk perulangan cepat) |
128
+
129
+ ### 1. Dynamic Thinking Budget & Protokol Penalaran
130
+ Untuk keputusan arsitektur kompleks, audit keamanan, atau perbaikan race condition yang rumit, atur kedalaman penalaran via `thinkingConfig`:
131
+ - **Flash Thinking untuk Tugas Cepat**: Gunakan alokasi budget penalaran default atau rendah untuk perbaikan bug ringan, formatting, dan boilerplate.
132
+ - **Extended Thinking untuk Alur Kritis**: Alokasikan budget penalaran tinggi (misal: 8k–32k thinking tokens) saat mendesain skema terdistribusi, refaktor engine inti, atau evaluasi kriptografi.
133
+ - **Pemisahan Token Penalaran**: Pastikan token pemikiran internal (`<thought>`) dipisahkan dari aliran output pengguna agar respons akhir tetap ringkas, bersih, dan efisien token.
134
+
135
+ ### 2. Native Context Caching (`cachedContent`)
136
+ Pangkas biaya API sebesar 75–90% serta kurangi latensi respons pada repositori besar:
137
+ - **Ambang Batas**: Lakukan cache pada prompt, snapshot kode, atau skema dokumen yang melebihi 32.768 token.
138
+ - **Manajemen TTL**: Tetapkan masa aktif cache (misal: 1–2 jam untuk sesi development aktif, 24 jam untuk dokumentasi statis).
139
+ - **Contoh Implementasi**:
140
+ ```typescript
141
+ const cache = await ai.createCachedContent({
142
+ model: 'gemini-3.1-pro',
143
+ contents: [{ role: 'user', parts: [{ text: fullCodebaseDump }] }],
144
+ ttl: '3600s',
145
+ });
146
+ ```
147
+
148
+ ### 3. Strategi Long-Context 2M+ Token
149
+ Saat menganalisis repositori besar:
150
+ 1. **Pohon File Penuh**: Gunakan `list_dir` untuk memetakan struktur proyek, lalu masukkan seluruh file terkait ke dalam konteks.
151
+ 2. **Ingesti File Penuh**: Dengan jendela 1M–2M token, hindari fragmentasi grep; periksa seluruh class dan dependency tree secara menyeluruh.
152
+ 3. **Pelacakan Antar Layanan**: Analisis kontrak upstream microservice, skema database, dan frontend consumer secara bersamaan dalam satu sesi.
153
+ 4. **Log Produksi Lengkap**: Masukkan ratusan ribu baris log untuk mengungkap anomali memori dan race condition intermiten.
154
+
155
+ ### 4. Multimodal Live API & Screen Grounding
156
+ Integrasikan interaksi multimodal latensi rendah secara langsung:
157
+ - **Streaming Dua Arah**: Streaming input suara dan terima respons audio/teks via WebSockets menggunakan Gemini Multimodal Live API.
158
+ - **Screen & UI Grounding**: Tangkap frame layar dari browser subagent; Gemini memetakan perintah ke koordinat visual yang presisi di layar.
159
+ - **Protokol Audit UI Visual**:
160
+ 1. Ambil screenshot aplikasi yang sedang berjalan via `browser_subagent`.
161
+ 2. Audit tata letak, tipografi, kontras, dan konsistensi terhadap pedoman HIG dan WCAG.
162
+ 3. Bandingkan dengan referensi desain target menggunakan `generate_image`.
163
+ 4. Lakukan penyesuaian presisi pada token CSS/Tailwind hingga tampilan mencapai pixel-perfect.
164
+
165
+ ### 5. Penelitian Mendalam & Search Grounding
166
+ Search Grounding native Gemini menghubungkan agen langsung ke informasi web terkini:
167
+ - Gunakan Grounding untuk rilis pustaka terbaru, breaking change dokumentasi, atau audit kerentanan CVE terbaru.
168
+ - Sintesiskan temuan lengkap dengan sitasi sumber yang dapat diverifikasi.
169
+
170
+ ### 6. Eksekusi Tool Paralel
171
+ Gemini secara native mendukung pemanggilan banyak function call dalam satu giliran (turn):
172
+ - Baca dan modifikasi beberapa file independen sekaligus.
173
+ - Jalankan pencarian web atau spawn subagent pekerja secara simultan guna meminimalkan total round-trip latency.
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: geospatial-maps-expert
3
+ description: "Expert guide for maps and geospatial data (Mapbox GL JS, Leaflet, Google Maps, PostGIS) / Panduan ahli peta dan data geospasial (Mapbox GL JS, Leaflet, Google Maps, PostGIS)."
4
+ author: "Roedy Rustam"
5
+ ---
6
+
7
+ # Geospatial & Maps 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
+ - **`database-orm-expert`**: PostGIS spatial queries and index optimization.
18
+ - **`senior-frontend`**: React map component patterns.
19
+ - **`mobile-expo-expert`**: React Native Maps integration.
20
+ - **`performance-web-vitals`**: Map rendering performance optimization.
21
+
22
+ ### Description
23
+ Expert guide for integrating maps and geospatial data into web and mobile applications. Covers Mapbox GL JS v3, Leaflet, Google Maps Platform, PostGIS spatial queries, GeoJSON data handling, clustering, routing/directions, geocoding, heatmaps, and location-based search.
24
+
25
+ ### Trigger Conditions
26
+ - Adding interactive maps to web or mobile applications.
27
+ - Implementing geolocation features (GPS tracking, geofencing).
28
+ - Building location-based search or store locators.
29
+ - Working with PostGIS spatial data or GeoJSON.
30
+
31
+ ---
32
+
33
+ ### Library Selection
34
+
35
+ | Library | Rendering | 3D | Free Tier | Best For |
36
+ |---------|-----------|-----|-----------|----------|
37
+ | Mapbox GL JS v3 | WebGL | ✅ | 50K loads/mo | Premium maps, 3D |
38
+ | Leaflet | DOM | ❌ | Unlimited (OSM) | Simple, lightweight |
39
+ | Google Maps | WebGL | ✅ | $200/mo credit | Business, Street View |
40
+ | deck.gl | WebGL | ✅ | Open-source | Large-scale data viz |
41
+
42
+ ```tsx
43
+ // React + Mapbox GL JS
44
+ import Map, { Marker, Popup, NavigationControl } from 'react-map-gl';
45
+ import 'mapbox-gl/dist/mapbox-gl.css';
46
+
47
+ function StoreLocator({ stores }) {
48
+ return (
49
+ <Map
50
+ mapboxAccessToken={process.env.NEXT_PUBLIC_MAPBOX_TOKEN}
51
+ initialViewState={{ longitude: 106.8456, latitude: -6.2088, zoom: 12 }}
52
+ style={{ width: '100%', height: 500 }}
53
+ mapStyle="mapbox://styles/mapbox/dark-v11"
54
+ >
55
+ <NavigationControl position="top-right" />
56
+ {stores.map((store) => (
57
+ <Marker key={store.id} longitude={store.lng} latitude={store.lat}>
58
+ <div className="marker-pin" />
59
+ </Marker>
60
+ ))}
61
+ </Map>
62
+ );
63
+ }
64
+ ```
65
+
66
+ ## Orchestration & Integration
67
+ - `database-orm-expert`, `senior-frontend`, `mobile-expo-expert`
68
+
69
+ ---
70
+
71
+ <a name="bahasa-indonesia"></a>
72
+ ## Bahasa Indonesia
73
+
74
+ ### Deskripsi
75
+ Panduan ahli mengintegrasikan peta dan data geospasial ke dalam aplikasi web dan mobile. Mencakup Mapbox GL JS, Leaflet, Google Maps Platform, PostGIS, dan GeoJSON.
76
+
77
+ ### Kondisi Pemicu
78
+ - Menambahkan peta interaktif ke aplikasi web atau mobile.
79
+ - Mengimplementasikan fitur geolokasi (pelacakan GPS, geofencing).
80
+ - Membangun pencarian berbasis lokasi atau store locator.
@@ -1,81 +1,87 @@
1
- ---
2
- name: global-a11y-i18n-expert
3
- description: "Expert guide for Web Accessibility (WCAG a11y) and Internationalization (i18n) / Panduan ahli untuk Aksesibilitas Web dan Internasionalisasi."
1
+ ---
2
+ name: global-a11y-i18n-expert
3
+ description: "Expert guide for Web Accessibility (WCAG a11y) and Internationalization (i18n) / Panduan ahli untuk Aksesibilitas Web dan Internasionalisasi."
4
4
  author: "Roedy Rustam"
5
- ---
6
-
7
- # Global Accessibility (a11y) & i18n Expert
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### Description
17
- This skill focuses on making enterprise web applications universally accessible and globally adaptable. It covers Web Content Accessibility Guidelines (WCAG) compliance and Internationalization (i18n) patterns for multi-language, multi-timezone software.
18
-
19
- ### Trigger Conditions
20
- - Selling software to government, education, or large enterprise sectors (where WCAG AA compliance is legally required).
21
- - Implementing multi-language support (i18n).
22
- - Designing UIs that must support RTL (Right-to-Left) languages like Arabic or Hebrew.
23
- - Fixing "tab trap" or screen reader issues.
24
- - Handling complex timezone/date calculations across global users.
25
-
26
- ### Core Architecture Guidelines
27
-
28
- #### 1. Web Accessibility (a11y)
29
- Do not treat accessibility as an afterthought. It is a core engineering requirement.
30
- - **Semantic HTML**: Always prefer native HTML elements (`<button>`, `<nav>`, `<dialog>`) over building custom ones with `<div>`. Native elements come with free accessibility baked in by the browser.
31
- - **ARIA Attributes**: If you must build custom UI, use WAI-ARIA roles (`role="tablist"`, `aria-expanded="true"`) to tell screen readers what the component is doing.
32
- - **Keyboard Navigation**: The entire app MUST be usable without a mouse. Ensure interactive elements are focusable (`tabindex="0"`) and visual focus outlines are distinct (do not use `outline: none` without providing an alternative styling).
33
- - **Color Contrast**: Ensure text has a minimum contrast ratio of 4.5:1 against its background (WCAG AA standard).
34
-
35
- #### 2. Internationalization (i18n)
36
- Handling multiple languages requires structural foresight.
37
- - **Locale Routing**: Use URL structures like `/en/pricing` or `/id/pricing`.
38
- - **String Externalization**: Never hardcode UI text. Use translation files (`en.json`, `id.json`) and a library like `next-intl` or `react-i18next`.
39
- - **RTL Support**: Use CSS logical properties (e.g., `margin-inline-start` instead of `margin-left`) so your UI automatically flips when rendering RTL languages.
40
-
41
- #### 3. Timezones and Dates
42
- Time is incredibly difficult to manage globally.
43
- - **Storage**: ALWAYS store dates in the database as UTC (`TIMESTAMPTZ` in PostgreSQL). Never store local time.
44
- - **Transport**: Send dates across APIs in ISO 8601 format (e.g., `2024-03-15T12:00:00Z`).
45
- - **Display**: Convert UTC to the user's local timezone only at the UI layer just before rendering (using native `Intl.DateTimeFormat` or libraries like `date-fns-tz`).
46
-
47
- ---
48
-
49
- <a name="bahasa-indonesia"></a>
50
- ## Bahasa Indonesia
51
-
52
- ### Deskripsi
53
- Skill ini berfokus pada pembuatan aplikasi web skala *enterprise* yang dapat diakses secara universal dan diadaptasi secara global. Panduan ini mencakup kepatuhan pedoman Aksesibilitas Web (WCAG) serta pola Internasionalisasi (i18n) untuk perangkat lunak multi-bahasa dan multi-zona-waktu.
54
-
55
- ### Kondisi Pemicu
56
- - Menjual perangkat lunak ke sektor pemerintah, pendidikan, atau perusahaan besar (di mana kepatuhan WCAG AA diwajibkan secara hukum).
57
- - Menerapkan dukungan multi-bahasa (i18n).
58
- - Merancang UI yang harus mendukung bahasa yang dibaca dari Kanan ke Kiri (RTL) seperti Arab atau Ibrani.
59
- - Memperbaiki masalah navigasi *keyboard* (*tab trap*) atau dukungan *screen reader* (pembaca layar).
60
- - Menangani kalkulasi tanggal dan zona waktu yang kompleks untuk pengguna global.
61
-
62
- ### Panduan Arsitektur Inti
63
-
64
- #### 1. Aksesibilitas Web (a11y)
65
- Jangan anggap aksesibilitas sebagai fitur tambahan. Ini adalah syarat mutlak *engineering*.
66
- - **HTML Semantik**: Selalu utamakan elemen HTML bawaan (`<button>`, `<nav>`, `<dialog>`) daripada membuat elemen kustom menggunakan `<div>`. Elemen bawaan sudah memiliki fitur aksesibilitas yang ditangani langsung oleh browser.
67
- - **Atribut ARIA**: Jika Anda terpaksa membuat komponen UI kustom, gunakan peran WAI-ARIA (`role="tablist"`, `aria-expanded="true"`) untuk memberi tahu *screen reader* apa fungsi komponen tersebut.
68
- - **Navigasi Keyboard**: Seluruh aplikasi HARUS bisa digunakan tanpa *mouse*. Pastikan elemen interaktif bisa difokuskan (`tabindex="0"`) dan garis tepi fokus (*focus ring*) terlihat jelas (jangan gunakan `outline: none` tanpa memberikan gaya alternatif).
69
- - **Kontras Warna**: Pastikan teks memiliki rasio kontras minimal 4.5:1 terhadap warna latar belakangnya (standar WCAG AA).
70
-
71
- #### 2. Internasionalisasi (i18n)
72
- Menangani berbagai bahasa memerlukan perencanaan struktural.
73
- - **Routing Lokal (Locale Routing)**: Gunakan struktur URL seperti `/en/pricing` atau `/id/pricing`.
74
- - **Eksternalisasi Teks**: Jangan pernah menulis teks UI langsung (*hardcode*) di dalam kode. Gunakan berkas terjemahan (`en.json`, `id.json`) dan pustaka seperti `next-intl` atau `react-i18next`.
75
- - **Dukungan RTL**: Gunakan properti logika CSS (*CSS logical properties*, mis. `margin-inline-start` alih-alih `margin-left`) agar tata letak UI Anda secara otomatis berbalik saat merender bahasa RTL.
76
-
77
- #### 3. Zona Waktu dan Tanggal
78
- Mengelola waktu secara global sangatlah rumit.
79
- - **Penyimpanan**: SELALU simpan tanggal di dalam database dalam format UTC (`TIMESTAMPTZ` pada PostgreSQL). Jangan pernah menyimpan waktu lokal komputer.
80
- - **Transportasi**: Kirimkan tanggal melalui API dalam format ISO 8601 (mis., `2024-03-15T12:00:00Z`).
81
- - **Tampilan UI**: Konversikan waktu UTC ke zona waktu lokal pengguna *hanya di lapisan UI* sesaat sebelum dirender (menggunakan `Intl.DateTimeFormat` bawaan browser atau pustaka seperti `date-fns-tz`).
5
+ ---
6
+
7
+ # Global Accessibility (a11y) & i18n Expert
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
+ This skill focuses on making enterprise web applications universally accessible and globally adaptable. It covers Web Content Accessibility Guidelines (WCAG) compliance and Internationalization (i18n) patterns for multi-language, multi-timezone software.
21
+
22
+ ### Trigger Conditions
23
+ - Selling software to government, education, or large enterprise sectors (where WCAG AA compliance is legally required).
24
+ - Implementing multi-language support (i18n).
25
+ - Designing UIs that must support RTL (Right-to-Left) languages like Arabic or Hebrew.
26
+ - Fixing "tab trap" or screen reader issues.
27
+ - Handling complex timezone/date calculations across global users.
28
+
29
+ ### Core Architecture Guidelines
30
+
31
+ #### 1. Web Accessibility (a11y)
32
+ Do not treat accessibility as an afterthought. It is a core engineering requirement.
33
+ - **Semantic HTML**: Always prefer native HTML elements (`<button>`, `<nav>`, `<dialog>`) over building custom ones with `<div>`. Native elements come with free accessibility baked in by the browser.
34
+ - **ARIA Attributes**: If you must build custom UI, use WAI-ARIA roles (`role="tablist"`, `aria-expanded="true"`) to tell screen readers what the component is doing.
35
+ - **Keyboard Navigation**: The entire app MUST be usable without a mouse. Ensure interactive elements are focusable (`tabindex="0"`) and visual focus outlines are distinct (do not use `outline: none` without providing an alternative styling).
36
+ - **Color Contrast**: Ensure text has a minimum contrast ratio of 4.5:1 against its background (WCAG AA standard).
37
+
38
+ #### 2. Internationalization (i18n)
39
+ Handling multiple languages requires structural foresight.
40
+ - **Locale Routing**: Use URL structures like `/en/pricing` or `/id/pricing`.
41
+ - **String Externalization**: Never hardcode UI text. Use translation files (`en.json`, `id.json`) and a library like `next-intl` or `react-i18next`.
42
+ - **RTL Support**: Use CSS logical properties (e.g., `margin-inline-start` instead of `margin-left`) so your UI automatically flips when rendering RTL languages.
43
+
44
+ #### 3. Timezones and Dates
45
+ Time is incredibly difficult to manage globally.
46
+ - **Storage**: ALWAYS store dates in the database as UTC (`TIMESTAMPTZ` in PostgreSQL). Never store local time.
47
+ - **Transport**: Send dates across APIs in ISO 8601 format (e.g., `2024-03-15T12:00:00Z`).
48
+ - **Display**: Convert UTC to the user's local timezone only at the UI layer just before rendering (using native `Intl.DateTimeFormat` or libraries like `date-fns-tz`).
49
+
50
+ ---
51
+
52
+ <a name="bahasa-indonesia"></a>
53
+ ## Bahasa Indonesia
54
+
55
+ ### Integrasi Orkestrasi
56
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
57
+
58
+ ### Deskripsi
59
+ Skill ini berfokus pada pembuatan aplikasi web skala *enterprise* yang dapat diakses secara universal dan diadaptasi secara global. Panduan ini mencakup kepatuhan pedoman Aksesibilitas Web (WCAG) serta pola Internasionalisasi (i18n) untuk perangkat lunak multi-bahasa dan multi-zona-waktu.
60
+
61
+ ### Kondisi Pemicu
62
+ - Menjual perangkat lunak ke sektor pemerintah, pendidikan, atau perusahaan besar (di mana kepatuhan WCAG AA diwajibkan secara hukum).
63
+ - Menerapkan dukungan multi-bahasa (i18n).
64
+ - Merancang UI yang harus mendukung bahasa yang dibaca dari Kanan ke Kiri (RTL) seperti Arab atau Ibrani.
65
+ - Memperbaiki masalah navigasi *keyboard* (*tab trap*) atau dukungan *screen reader* (pembaca layar).
66
+ - Menangani kalkulasi tanggal dan zona waktu yang kompleks untuk pengguna global.
67
+
68
+ ### Panduan Arsitektur Inti
69
+
70
+ #### 1. Aksesibilitas Web (a11y)
71
+ Jangan anggap aksesibilitas sebagai fitur tambahan. Ini adalah syarat mutlak *engineering*.
72
+ - **HTML Semantik**: Selalu utamakan elemen HTML bawaan (`<button>`, `<nav>`, `<dialog>`) daripada membuat elemen kustom menggunakan `<div>`. Elemen bawaan sudah memiliki fitur aksesibilitas yang ditangani langsung oleh browser.
73
+ - **Atribut ARIA**: Jika Anda terpaksa membuat komponen UI kustom, gunakan peran WAI-ARIA (`role="tablist"`, `aria-expanded="true"`) untuk memberi tahu *screen reader* apa fungsi komponen tersebut.
74
+ - **Navigasi Keyboard**: Seluruh aplikasi HARUS bisa digunakan tanpa *mouse*. Pastikan elemen interaktif bisa difokuskan (`tabindex="0"`) dan garis tepi fokus (*focus ring*) terlihat jelas (jangan gunakan `outline: none` tanpa memberikan gaya alternatif).
75
+ - **Kontras Warna**: Pastikan teks memiliki rasio kontras minimal 4.5:1 terhadap warna latar belakangnya (standar WCAG AA).
76
+
77
+ #### 2. Internasionalisasi (i18n)
78
+ Menangani berbagai bahasa memerlukan perencanaan struktural.
79
+ - **Routing Lokal (Locale Routing)**: Gunakan struktur URL seperti `/en/pricing` atau `/id/pricing`.
80
+ - **Eksternalisasi Teks**: Jangan pernah menulis teks UI langsung (*hardcode*) di dalam kode. Gunakan berkas terjemahan (`en.json`, `id.json`) dan pustaka seperti `next-intl` atau `react-i18next`.
81
+ - **Dukungan RTL**: Gunakan properti logika CSS (*CSS logical properties*, mis. `margin-inline-start` alih-alih `margin-left`) agar tata letak UI Anda secara otomatis berbalik saat merender bahasa RTL.
82
+
83
+ #### 3. Zona Waktu dan Tanggal
84
+ Mengelola waktu secara global sangatlah rumit.
85
+ - **Penyimpanan**: SELALU simpan tanggal di dalam database dalam format UTC (`TIMESTAMPTZ` pada PostgreSQL). Jangan pernah menyimpan waktu lokal komputer.
86
+ - **Transportasi**: Kirimkan tanggal melalui API dalam format ISO 8601 (mis., `2024-03-15T12:00:00Z`).
87
+ - **Tampilan UI**: Konversikan waktu UTC ke zona waktu lokal pengguna *hanya di lapisan UI* sesaat sebelum dirender (menggunakan `Intl.DateTimeFormat` bawaan browser atau pustaka seperti `date-fns-tz`).