vibes-plug 2.5.0 → 2.14.1

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 (187) 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 +37 -7
  5. package/BLUEPRINT.md +319 -217
  6. package/CHANGELOG.md +170 -1
  7. package/CLAUDE.md +70 -0
  8. package/LICENSE +1 -1
  9. package/README.md +611 -415
  10. package/index.js +19 -0
  11. package/package.json +44 -8
  12. package/plugin.json +24 -7
  13. package/scripts/check-anti-slop.js +53 -0
  14. package/scripts/generate_swarm_gif.py +295 -0
  15. package/scripts/install.js +201 -0
  16. package/skills/accessibility-testing-expert/SKILL.md +116 -0
  17. package/skills/ai-llm-integration-expert/SKILL.md +192 -178
  18. package/skills/ai-media-generation-expert/SKILL.md +172 -0
  19. package/skills/ai-prompt-engineering-expert/SKILL.md +134 -0
  20. package/skills/angular-expert/SKILL.md +148 -0
  21. package/skills/anti-slop/SKILL.md +133 -0
  22. package/skills/api-design-expert/SKILL.md +6 -3
  23. package/skills/api-gateway-proxy-expert/SKILL.md +81 -0
  24. package/skills/app-analyzer-optimizer/SKILL.md +6 -3
  25. package/skills/apple-ecosystem-expert/SKILL.md +144 -141
  26. package/skills/astro-framework-expert/SKILL.md +200 -0
  27. package/skills/async-queue-temporal-expert/SKILL.md +189 -26
  28. package/skills/authentication-identity-expert/SKILL.md +78 -181
  29. package/skills/autonomous-red-teamer/SKILL.md +172 -28
  30. package/skills/autonomous-tdd-debugger/SKILL.md +70 -64
  31. package/skills/biome-linter-formatter-expert/SKILL.md +89 -0
  32. package/skills/blockchain-web3-expert/SKILL.md +115 -0
  33. package/skills/bootstrap-to-modern/SKILL.md +9 -6
  34. package/skills/brainstorming/SKILL.md +60 -52
  35. package/skills/browser-automation-expert/SKILL.md +197 -21
  36. package/skills/bun-runtime-expert/SKILL.md +7 -1
  37. package/skills/chatbot-messaging-expert/SKILL.md +114 -0
  38. package/skills/ci-cd-devops-architect/SKILL.md +45 -36
  39. package/skills/cloud-hosting-expert/SKILL.md +7 -1
  40. package/skills/coderabbit/SKILL.md +7 -1
  41. package/skills/compliance-gdpr-privacy-expert/SKILL.md +85 -0
  42. package/skills/cron-scheduler-expert/SKILL.md +303 -297
  43. package/skills/data-pipeline-etl-expert/SKILL.md +84 -0
  44. package/skills/data-telemetry-expert/SKILL.md +7 -1
  45. package/skills/data-visualization-expert/SKILL.md +154 -0
  46. package/skills/database-orm-expert/SKILL.md +165 -294
  47. package/skills/deep-research-analyst/SKILL.md +136 -0
  48. package/skills/dependency-upgrade-migrator/SKILL.md +300 -294
  49. package/skills/design-system-architect/SKILL.md +309 -260
  50. package/skills/desktop-electron-expert/SKILL.md +128 -0
  51. package/skills/documentation-site-expert/SKILL.md +59 -0
  52. package/skills/doku-mcp-server/SKILL.md +7 -1
  53. package/skills/doku-payment-gateway/SKILL.md +7 -1
  54. package/skills/domain-driven-design-expert/SKILL.md +82 -0
  55. package/skills/e2e-testing-expert/SKILL.md +7 -1
  56. package/skills/ecommerce-expert/SKILL.md +87 -0
  57. package/skills/email-notification-expert/SKILL.md +393 -360
  58. package/skills/error-resilience-expert/SKILL.md +506 -479
  59. package/skills/event-driven-architect/SKILL.md +7 -1
  60. package/skills/feature-flag-analytics-expert/SKILL.md +65 -45
  61. package/skills/file-upload-media-expert/SKILL.md +436 -430
  62. package/skills/firebase-security-expert/SKILL.md +7 -1
  63. package/skills/form-validation-expert/SKILL.md +406 -400
  64. package/skills/fullstack-expert/SKILL.md +184 -202
  65. package/skills/gemini-agent-booster/SKILL.md +173 -135
  66. package/skills/geospatial-maps-expert/SKILL.md +80 -0
  67. package/skills/global-a11y-i18n-expert/SKILL.md +7 -1
  68. package/skills/glsl-shader-expert/SKILL.md +158 -69
  69. package/skills/go-programming-expert/SKILL.md +21 -15
  70. package/skills/graph-rag-knowledge-expert/SKILL.md +200 -0
  71. package/skills/graphql-apollo-expert/SKILL.md +113 -107
  72. package/skills/headless-cms-expert/SKILL.md +181 -0
  73. package/skills/hig/SKILL.md +7 -1
  74. package/skills/js-backend-expert/SKILL.md +218 -216
  75. package/skills/legacy-code-translator/SKILL.md +70 -64
  76. package/skills/local-slm-edge-ai-expert/SKILL.md +167 -0
  77. package/skills/logging-error-tracking-expert/SKILL.md +343 -337
  78. package/skills/mcp-server-architect/SKILL.md +308 -194
  79. package/skills/micro-frontend-architect/SKILL.md +111 -105
  80. package/skills/mobile-expo-expert/SKILL.md +8 -2
  81. package/skills/modern-css-native-expert/SKILL.md +189 -0
  82. package/skills/monorepo-architect/SKILL.md +7 -1
  83. package/skills/mpa-orchestrator/SKILL.md +20 -1
  84. package/skills/multi-agent-orchestration/SKILL.md +254 -234
  85. package/skills/multiple-entry-points/SKILL.md +37 -1
  86. package/skills/mvc-expert/SKILL.md +7 -1
  87. package/skills/n8n-automation-expert/SKILL.md +89 -0
  88. package/skills/nextjs-app-router-expert/SKILL.md +148 -0
  89. package/skills/openapi-swagger-codegen-expert/SKILL.md +67 -0
  90. package/skills/payment-gateway-expert/SKILL.md +85 -1
  91. package/skills/pdf-document-generation-expert/SKILL.md +91 -0
  92. package/skills/performance-web-vitals/SKILL.md +7 -1
  93. package/skills/post-quantum-crypto-migrator/SKILL.md +57 -57
  94. package/skills/prd-architect/SKILL.md +182 -201
  95. package/skills/proactive-background-watcher/SKILL.md +67 -61
  96. package/skills/production-ready-hardener/SKILL.md +459 -456
  97. package/skills/pwa-offline-first-expert/SKILL.md +226 -0
  98. package/skills/pydantic-ai-expert/SKILL.md +161 -0
  99. package/skills/python-programming-expert/SKILL.md +407 -401
  100. package/skills/rate-limit-abuse-prevention/SKILL.md +376 -370
  101. package/skills/realtime-collaboration-expert/SKILL.md +55 -1
  102. package/skills/rich-text-editor-expert/SKILL.md +177 -0
  103. package/skills/rust-programming-expert/SKILL.md +7 -1
  104. package/skills/saas-architect/SKILL.md +154 -0
  105. package/skills/saas-billing/SKILL.md +7 -1
  106. package/skills/saas-multi-tenant/SKILL.md +7 -1
  107. package/skills/scalability-clean-code/SKILL.md +7 -1
  108. package/skills/search-engine-expert/SKILL.md +89 -0
  109. package/skills/secure-fuzz-testing/SKILL.md +7 -1
  110. package/skills/self-healing-cloud-orchestrator/SKILL.md +57 -57
  111. package/skills/senior-frontend/SKILL.md +139 -161
  112. package/skills/senior-frontend/scripts/frontend_scaffolder.py +1 -1
  113. package/skills/seo/SKILL.md +41 -17
  114. package/skills/session-memory-manager/SKILL.md +128 -0
  115. package/skills/solidjs-expert/SKILL.md +80 -0
  116. package/skills/spa-orchestrator/SKILL.md +20 -1
  117. package/skills/sse-websocket-streaming-expert/SKILL.md +93 -0
  118. package/skills/state-management-expert/SKILL.md +7 -1
  119. package/skills/supabase-security-expert/SKILL.md +7 -1
  120. package/skills/svelte-sveltekit-expert/SKILL.md +91 -0
  121. package/skills/svg-animation-motion-expert/SKILL.md +115 -0
  122. package/skills/synthetic-data-finetuning-expert/SKILL.md +155 -0
  123. package/skills/tailwind-expert/SKILL.md +88 -136
  124. package/skills/tanstack-query-expert/SKILL.md +7 -1
  125. package/skills/tauri-expert/SKILL.md +7 -1
  126. package/skills/typescript-expert/SKILL.md +12 -6
  127. package/skills/ui-ux-pro-max/SKILL.md +25 -3
  128. package/skills/vector-db-rag-expert/SKILL.md +175 -19
  129. package/skills/vercel-ai-sdk-expert/SKILL.md +181 -0
  130. package/skills/visual-qa-vision-agent/SKILL.md +70 -64
  131. package/skills/voice-ai-realtime-agent/SKILL.md +242 -0
  132. package/skills/vue-frontend-expert/SKILL.md +131 -125
  133. package/skills/wasm-edge-computing-expert/SKILL.md +97 -0
  134. package/skills/web-3d-graphics-expert/SKILL.md +262 -80
  135. package/skills/web-game-engine-expert/SKILL.md +281 -48
  136. package/skills/web-scraper/SKILL.md +157 -207
  137. package/skills/website-design-cloner/SKILL.md +179 -173
  138. package/skills/webxr-ar-vr-expert/SKILL.md +108 -63
  139. package/skills/wordpress-headless-expert/SKILL.md +144 -0
  140. package/skills/zero-to-prod-orchestrator/SKILL.md +65 -38
  141. package/skills/zero-trust-secret-vault/SKILL.md +87 -39
  142. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  143. package/.github/workflows/publish.yml +0 -20
  144. package/CONTRIBUTING.md +0 -199
  145. package/SECURITY.md +0 -21
  146. package/banner.png +0 -0
  147. package/skills/ai-cost-token-optimizer/SKILL.md +0 -52
  148. package/skills/asisten_ramah/SKILL.md +0 -41
  149. package/skills/auto-doc-updater/SKILL.md +0 -214
  150. package/skills/autonomous-chaos-monkey/SKILL.md +0 -63
  151. package/skills/autonomous-swarm-director/SKILL.md +0 -69
  152. package/skills/edge-serverless-db-expert/SKILL.md +0 -43
  153. package/skills/hyper-context-synthesizer/SKILL.md +0 -55
  154. package/skills/llm-cost-arbitrage-router/SKILL.md +0 -59
  155. package/skills/mcp-client-orchestrator/SKILL.md +0 -70
  156. package/skills/mobile-push-notification-expert/SKILL.md +0 -51
  157. package/skills/monday-design-aesthetic/SKILL.md +0 -67
  158. package/skills/project-context-mapper/SKILL.md +0 -79
  159. package/skills/saas-mvp-launcher/SKILL.md +0 -241
  160. package/skills/saas-transformer/SKILL.md +0 -489
  161. package/skills/saas-transformer/references/billing_integration_guide.md +0 -401
  162. package/skills/self-evolving-memory-graph/SKILL.md +0 -75
  163. package/skills/senior-fullstack/SKILL.md +0 -167
  164. package/skills/senior-fullstack/references/architecture_patterns.md +0 -160
  165. package/skills/senior-fullstack/references/development_workflows.md +0 -222
  166. package/skills/senior-fullstack/references/tech_stack_guide.md +0 -190
  167. package/skills/senior-fullstack/scripts/code_quality_analyzer.py +0 -114
  168. package/skills/senior-fullstack/scripts/fullstack_scaffolder.py +0 -114
  169. package/skills/senior-fullstack/scripts/project_scaffolder.py +0 -114
  170. package/skills/seo-aeo-landing-page-writer/SKILL.md +0 -97
  171. package/skills/seo-geo/SKILL.md +0 -188
  172. package/skills/session-context-loader/SKILL.md +0 -77
  173. package/skills/session-handoff-resume/SKILL.md +0 -158
  174. package/skills/skill_baru/SKILL.md +0 -172
  175. package/skills/supabase-migration/SKILL.md +0 -45
  176. package/skills/token-saver/SKILL.md +0 -119
  177. package/skills/ui-components-expert/SKILL.md +0 -280
  178. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
  179. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
  180. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
  181. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
  182. package/skills/ui_ux_expert/SKILL.md +0 -125
  183. package/skills/vibe-code-gardener/SKILL.md +0 -181
  184. package/vibes-swarm-demo.gif +0 -0
  185. /package/skills/{saas-transformer → saas-architect}/references/feature_gating_patterns.md +0 -0
  186. /package/skills/{saas-transformer → saas-architect}/references/saas_transformation_checklist.md +0 -0
  187. /package/skills/{saas-transformer → saas-architect}/scripts/saas_transformation_scanner.py +0 -0
@@ -1,135 +1,173 @@
1
- ---
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."
4
- author: "Roedy Rustam"
5
- ---
6
-
7
- # Gemini Agent Booster (2026 Edition — Gemini 2.5 Pro/Flash)
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### 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.
18
-
19
- ### 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.
25
-
26
- ### Gemini 2.5 Pro/Flash Capabilities (2026)
27
-
28
- | Capability | Gemini 2.5 Pro | Gemini 2.5 Flash |
29
- |---|---|---|
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 — Mandatory Extended Reasoning (o1-Style)
57
- For any complex problem, architecture decision, or large refactor, you MUST engage Gemini's extended thinking or generate a mandatory explicit reasoning chain (`<thought>`) before generating code:
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 → engage deep reasoning chain → critique your own initial assumptions → validate the conclusion → execute tool calls.
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.
89
-
90
- ---
91
-
92
- <a name="bahasa-indonesia"></a>
93
- ## Bahasa Indonesia
94
-
95
- ### 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.
97
-
98
- ### 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.
104
-
105
- ### Kemampuan Gemini 2.5 Pro/Flash (2026)
106
-
107
- | Kemampuan | Gemini 2.5 Pro | Gemini 2.5 Flash |
108
- |---|---|---|
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 — Penalaran Mendalam (Mandatori)
125
- Untuk masalah kompleks (keputusan arsitektur, debugging race condition, alur kerja agentik), Anda **DIWAJIBKAN** untuk mengaktifkan mode pemikiran diperpanjang (*extended reasoning*) atau menuliskan rantai pemikiran (`<thought>`) secara eksplisit untuk mengevaluasi asumsi Anda sebelum menghasilkan kode solusi. Jangan bertindak impulsif.
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.
1
+ ---
2
+ name: gemini-agent-booster
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."
5
+ author: "Roedy Rustam"
6
+ ---
7
+
8
+ # Gemini Agent Booster (2026 Edition — Gemini 3.x Ecosystem)
9
+
10
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
11
+
12
+ ---
13
+
14
+ <a name="english"></a>
15
+ ## English
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
+
20
+ ### Description
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.
22
+
23
+ ### Trigger Conditions
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.
30
+
31
+ ### Gemini 3.x Capability Matrix (2026)
32
+
33
+ | Capability | Gemini 3.1 / 3.5 Pro | Gemini 3.8 / 3.1 Flash |
34
+ |---|---|---|
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.
96
+
97
+ ---
98
+
99
+ <a name="bahasa-indonesia"></a>
100
+ ## Bahasa Indonesia
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
+
105
+ ### Deskripsi
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.
107
+
108
+ ### Kondisi Pemicu
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.
115
+
116
+ ### Matriks Kapabilitas Gemini 3.x (2026)
117
+
118
+ | Kapabilitas | Gemini 3.1 / 3.5 Pro | Gemini 3.8 / 3.1 Flash |
119
+ |---|---|---|
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,7 +1,7 @@
1
1
  ---
2
2
  name: global-a11y-i18n-expert
3
3
  description: "Expert guide for Web Accessibility (WCAG a11y) and Internationalization (i18n) / Panduan ahli untuk Aksesibilitas Web dan Internasionalisasi."
4
- author: "Roedy Rustam"
4
+ author: "Roedy Rustam"
5
5
  ---
6
6
 
7
7
  # Global Accessibility (a11y) & i18n Expert
@@ -13,6 +13,9 @@ author: "Roedy Rustam"
13
13
  <a name="english"></a>
14
14
  ## English
15
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
+
16
19
  ### Description
17
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.
18
21
 
@@ -49,6 +52,9 @@ Time is incredibly difficult to manage globally.
49
52
  <a name="bahasa-indonesia"></a>
50
53
  ## Bahasa Indonesia
51
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
+
52
58
  ### Deskripsi
53
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.
54
60