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.
- package/.claude/rules/vibes-plug-core.md +32 -0
- package/.cursor/rules/vibes-plug-core.mdc +51 -0
- package/.cursorrules +42 -0
- package/AGENTS.md +96 -0
- package/BLUEPRINT.md +309 -125
- package/CHANGELOG.md +183 -1
- package/CLAUDE.md +70 -0
- package/LICENSE +1 -1
- package/README.md +641 -263
- package/index.js +19 -0
- package/package.json +61 -25
- package/plugin.json +24 -7
- package/scripts/generate_swarm_gif.py +295 -0
- package/scripts/install.js +201 -0
- package/skills/accessibility-testing-expert/SKILL.md +116 -0
- package/skills/ai-cost-token-optimizer/SKILL.md +82 -0
- package/skills/ai-evals-benchmark-expert/SKILL.md +188 -0
- package/skills/ai-llm-integration-expert/SKILL.md +147 -122
- package/skills/ai-media-generation-expert/SKILL.md +172 -0
- package/skills/ai-prompt-engineering-expert/SKILL.md +84 -0
- package/skills/angular-expert/SKILL.md +148 -0
- package/skills/api-design-expert/SKILL.md +316 -309
- package/skills/api-gateway-proxy-expert/SKILL.md +81 -0
- package/skills/app-analyzer-optimizer/SKILL.md +195 -188
- package/skills/apple-ecosystem-expert/SKILL.md +145 -0
- package/skills/{asisten_ramah → asisten-ramah}/SKILL.md +7 -1
- package/skills/astro-framework-expert/SKILL.md +200 -0
- package/skills/async-queue-temporal-expert/SKILL.md +240 -0
- package/skills/authentication-identity-expert/SKILL.md +279 -45
- package/skills/auto-doc-updater/SKILL.md +219 -203
- package/skills/autonomous-chaos-monkey/SKILL.md +63 -0
- package/skills/autonomous-red-teamer/SKILL.md +203 -0
- package/skills/autonomous-tdd-debugger/SKILL.md +71 -0
- package/skills/background-jobs-queue-expert/SKILL.md +235 -0
- package/skills/biome-linter-formatter-expert/SKILL.md +89 -0
- package/skills/blockchain-web3-expert/SKILL.md +115 -0
- package/skills/bootstrap-to-modern/SKILL.md +93 -86
- package/skills/brainstorming/SKILL.md +381 -353
- package/skills/browser-automation-expert/SKILL.md +222 -0
- package/skills/bun-runtime-expert/SKILL.md +7 -1
- package/skills/chatbot-messaging-expert/SKILL.md +114 -0
- package/skills/ci-cd-devops-architect/SKILL.md +81 -45
- package/skills/cloud-hosting-expert/SKILL.md +249 -243
- package/skills/coderabbit/SKILL.md +197 -191
- package/skills/compliance-gdpr-privacy-expert/SKILL.md +85 -0
- package/skills/cron-scheduler-expert/SKILL.md +304 -0
- package/skills/data-pipeline-etl-expert/SKILL.md +84 -0
- package/skills/data-telemetry-expert/SKILL.md +218 -212
- package/skills/data-visualization-expert/SKILL.md +154 -0
- package/skills/database-migration-versioning-expert/SKILL.md +90 -0
- package/skills/database-orm-expert/SKILL.md +303 -293
- package/skills/dependency-upgrade-migrator/SKILL.md +301 -0
- package/skills/design-system-architect/SKILL.md +278 -242
- package/skills/desktop-electron-expert/SKILL.md +128 -0
- package/skills/documentation-site-expert/SKILL.md +59 -0
- package/skills/doku-mcp-server/SKILL.md +257 -0
- package/skills/doku-payment-gateway/SKILL.md +233 -0
- package/skills/domain-driven-design-expert/SKILL.md +82 -0
- package/skills/e2e-testing-expert/SKILL.md +320 -314
- package/skills/ecommerce-expert/SKILL.md +87 -0
- package/skills/edge-serverless-db-expert/SKILL.md +99 -0
- package/skills/email-notification-expert/SKILL.md +368 -0
- package/skills/error-resilience-expert/SKILL.md +486 -0
- package/skills/event-driven-architect/SKILL.md +86 -80
- package/skills/feature-flag-analytics-expert/SKILL.md +66 -0
- package/skills/file-upload-media-expert/SKILL.md +437 -0
- package/skills/firebase-security-expert/SKILL.md +7 -1
- package/skills/form-validation-expert/SKILL.md +407 -0
- package/skills/fullstack-expert/SKILL.md +260 -201
- package/skills/fullstack-expert/references/api_design_guide.md +466 -466
- package/skills/fullstack-expert/references/multi_language_backend.md +528 -528
- package/skills/fullstack-expert/scripts/api_contract_validator.py +253 -253
- package/skills/fullstack-expert/scripts/architecture_analyzer.py +326 -326
- package/skills/gemini-agent-booster/SKILL.md +142 -104
- package/skills/geospatial-maps-expert/SKILL.md +80 -0
- package/skills/global-a11y-i18n-expert/SKILL.md +86 -80
- package/skills/glsl-shader-expert/SKILL.md +107 -0
- package/skills/go-programming-expert/SKILL.md +300 -294
- package/skills/graph-rag-knowledge-expert/SKILL.md +159 -0
- package/skills/graphql-apollo-expert/SKILL.md +114 -0
- package/skills/headless-cms-expert/SKILL.md +181 -0
- package/skills/hig/SKILL.md +193 -187
- package/skills/js-backend-expert/SKILL.md +218 -191
- package/skills/legacy-code-translator/SKILL.md +71 -0
- package/skills/local-slm-edge-ai-expert/SKILL.md +167 -0
- package/skills/logging-error-tracking-expert/SKILL.md +344 -0
- package/skills/mcp-client-orchestrator/SKILL.md +76 -0
- package/skills/mcp-server-architect/SKILL.md +226 -126
- package/skills/micro-frontend-architect/SKILL.md +112 -0
- package/skills/mobile-expo-expert/SKILL.md +191 -185
- package/skills/mobile-push-notification-expert/SKILL.md +71 -0
- package/skills/modern-css-native-expert/SKILL.md +189 -0
- package/skills/monday-design-aesthetic/SKILL.md +72 -66
- package/skills/monorepo-architect/SKILL.md +232 -226
- package/skills/mpa-orchestrator/SKILL.md +120 -101
- package/skills/multi-agent-orchestration/SKILL.md +173 -153
- package/skills/multiple-entry-points/SKILL.md +91 -55
- package/skills/mvc-expert/SKILL.md +237 -231
- package/skills/n8n-automation-expert/SKILL.md +89 -0
- package/skills/nextjs-app-router-expert/SKILL.md +148 -0
- package/skills/openapi-swagger-codegen-expert/SKILL.md +67 -0
- package/skills/payment-gateway-expert/SKILL.md +129 -45
- package/skills/pdf-document-generation-expert/SKILL.md +91 -0
- package/skills/performance-web-vitals/SKILL.md +337 -331
- package/skills/post-quantum-crypto-migrator/SKILL.md +57 -0
- package/skills/prd-architect/SKILL.md +206 -190
- package/skills/proactive-background-watcher/SKILL.md +68 -0
- package/skills/production-ready-hardener/PRODUCTION_READINESS_REPORT.md +67 -0
- package/skills/production-ready-hardener/SKILL.md +461 -468
- package/skills/production-ready-hardener/references/production_checklist.md +161 -161
- package/skills/production-ready-hardener/scripts/production_readiness_scanner.py +881 -875
- package/skills/project-context-mapper/SKILL.md +85 -0
- package/skills/pwa-offline-first-expert/SKILL.md +185 -0
- package/skills/python-programming-expert/SKILL.md +407 -270
- package/skills/rate-limit-abuse-prevention/SKILL.md +377 -0
- package/skills/realtime-collaboration-expert/SKILL.md +99 -45
- package/skills/rich-text-editor-expert/SKILL.md +177 -0
- package/skills/rust-programming-expert/SKILL.md +240 -234
- package/skills/saas-billing/SKILL.md +382 -376
- package/skills/saas-multi-tenant/SKILL.md +256 -236
- package/skills/saas-mvp-launcher/SKILL.md +30 -1
- package/skills/saas-transformer/SKILL.md +499 -445
- package/skills/saas-transformer/references/billing_integration_guide.md +401 -401
- package/skills/saas-transformer/references/feature_gating_patterns.md +137 -137
- package/skills/saas-transformer/references/saas_transformation_checklist.md +121 -121
- package/skills/saas-transformer/scripts/saas_transformation_scanner.py +39 -29
- package/skills/scalability-clean-code/SKILL.md +234 -228
- package/skills/search-engine-expert/SKILL.md +89 -0
- package/skills/secure-fuzz-testing/SKILL.md +7 -1
- package/skills/self-evolving-memory-graph/SKILL.md +91 -0
- package/skills/self-healing-cloud-orchestrator/SKILL.md +57 -0
- package/skills/senior-frontend/SKILL.md +85 -105
- package/skills/seo/SKILL.md +258 -224
- package/skills/session-context-loader/SKILL.md +83 -0
- package/skills/session-handoff-resume/SKILL.md +163 -157
- package/skills/{skill_baru → skill-baru}/SKILL.md +177 -146
- package/skills/solidjs-expert/SKILL.md +80 -0
- package/skills/spa-orchestrator/SKILL.md +306 -287
- package/skills/sse-websocket-streaming-expert/SKILL.md +93 -0
- package/skills/state-management-expert/SKILL.md +277 -271
- package/skills/supabase-migration/SKILL.md +47 -1
- package/skills/supabase-security-expert/SKILL.md +248 -242
- package/skills/svelte-sveltekit-expert/SKILL.md +91 -0
- package/skills/svg-animation-motion-expert/SKILL.md +115 -0
- package/skills/tailwind-expert/SKILL.md +139 -187
- package/skills/tanstack-query-expert/SKILL.md +204 -198
- package/skills/tauri-expert/SKILL.md +7 -1
- package/skills/token-saver/SKILL.md +118 -110
- package/skills/typescript-expert/SKILL.md +329 -278
- package/skills/ui-components-expert/SKILL.md +166 -63
- package/skills/ui-ux-pro-max/SKILL.md +221 -200
- package/skills/vector-db-rag-expert/SKILL.md +208 -0
- package/skills/vibe-code-gardener/SKILL.md +180 -172
- package/skills/visual-qa-vision-agent/SKILL.md +71 -0
- package/skills/voice-ai-realtime-agent/SKILL.md +202 -0
- package/skills/vue-frontend-expert/SKILL.md +132 -0
- package/skills/wasm-edge-computing-expert/SKILL.md +97 -0
- package/skills/web-3d-graphics-expert/SKILL.md +137 -0
- package/skills/web-game-engine-expert/SKILL.md +102 -0
- package/skills/web-scraper/SKILL.md +98 -146
- package/skills/website-design-cloner/SKILL.md +180 -0
- package/skills/webxr-ar-vr-expert/SKILL.md +123 -0
- package/skills/wordpress-headless-expert/SKILL.md +144 -0
- package/skills/zero-to-prod-orchestrator/SKILL.md +231 -180
- package/skills/zero-trust-secret-vault/SKILL.md +88 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/CONTRIBUTING.md +0 -199
- package/SECURITY.md +0 -21
- package/banner.png +0 -0
- package/skills/senior-fullstack/SKILL.md +0 -167
- package/skills/senior-fullstack/references/architecture_patterns.md +0 -160
- package/skills/senior-fullstack/references/development_workflows.md +0 -222
- package/skills/senior-fullstack/references/tech_stack_guide.md +0 -190
- package/skills/senior-fullstack/scripts/code_quality_analyzer.py +0 -114
- package/skills/senior-fullstack/scripts/fullstack_scaffolder.py +0 -114
- package/skills/senior-fullstack/scripts/project_scaffolder.py +0 -114
- package/skills/seo-aeo-landing-page-writer/SKILL.md +0 -97
- package/skills/seo-geo/SKILL.md +0 -188
- package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
- package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
- package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
- package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
- package/skills/ui_ux_expert/SKILL.md +0 -114
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gemini-agent-booster
|
|
3
|
-
|
|
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
|
|
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
|
|
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,
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
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
|
|
31
|
+
### Gemini 3.x Capability Matrix (2026)
|
|
27
32
|
|
|
28
|
-
| Capability | Gemini
|
|
33
|
+
| Capability | Gemini 3.1 / 3.5 Pro | Gemini 3.8 / 3.1 Flash |
|
|
29
34
|
|---|---|---|
|
|
30
|
-
| Context Window |
|
|
31
|
-
| Thinking / Reasoning |
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
3.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
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
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
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
|
-
###
|
|
116
|
+
### Matriks Kapabilitas Gemini 3.x (2026)
|
|
106
117
|
|
|
107
|
-
|
|
|
118
|
+
| Kapabilitas | Gemini 3.1 / 3.5 Pro | Gemini 3.8 / 3.1 Flash |
|
|
108
119
|
|---|---|---|
|
|
109
|
-
| Context Window |
|
|
110
|
-
| Pemikiran / Penalaran |
|
|
111
|
-
|
|
|
112
|
-
|
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
| Biaya | Lebih tinggi |
|
|
117
|
-
|
|
118
|
-
###
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
###
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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
|
-
###
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
###
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
- **
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
###
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- **
|
|
74
|
-
- **
|
|
75
|
-
- **
|
|
76
|
-
|
|
77
|
-
####
|
|
78
|
-
|
|
79
|
-
- **
|
|
80
|
-
- **
|
|
81
|
-
- **
|
|
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`).
|