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
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: browser-automation-expert
|
|
3
|
+
description: "Expert guide for autonomous web agents (Browser-Use, Stagehand v0.4+), hardcore anti-bot evasion (Playwright Stealth, WebGL masking), and Vision LLM visual QA / Panduan ahli agen web otonom, penghindaran deteksi bot, dan QA visual berbasis Vision LLM."
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Autonomous Web Agent & Automation Expert (2026 Edition)
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Purpose & Overview
|
|
17
|
+
Deploy ultra-powerful autonomous web agents that perceive, navigate, and execute complex workflows without human intervention. Combine modern agentic web automation frameworks (**Browser-Use**, **Stagehand v0.4+**) with hardcore anti-detection evasion techniques (Playwright Stealth, fingerprint spoofing, residential proxy rotation) and frontier Vision LLMs (**Gemini 3.8 Flash**, **Gemini 3.5 Pro**, **Claude 3.7 Sonnet Computer Use**, **OpenAI o3 / GPT-4.5**) for pixel-accurate visual QA.
|
|
18
|
+
|
|
19
|
+
### Core Capabilities
|
|
20
|
+
|
|
21
|
+
1. **Autonomous Execution Frameworks (2026 Standard)**
|
|
22
|
+
- **Stagehand v0.4+**: Natural language DOM perception with semantic actions (`page.act()`, `page.extract()`, `page.observe()`). Avoid fragile CSS/XPath selectors.
|
|
23
|
+
- **Browser-Use**: Autonomous multi-turn web browsing driven by LLMs with accessibility-tree parsing, visual bounding boxes, and goal-oriented execution loops.
|
|
24
|
+
|
|
25
|
+
2. **Hardcore Evasion & Anti-Bot Bypassing**
|
|
26
|
+
- **Playwright Stealth**: Mask `navigator.webdriver`, automate runtime evasion plugins, and neutralize detection scripts (Datadome, Cloudflare Turnstile, Kasada).
|
|
27
|
+
- **Fingerprint Masking**: Spoof Canvas, WebGL, AudioContext, hardware concurrency, and WebRTC leak vectors.
|
|
28
|
+
- **Human Behavior Mimicry**: Inject natural Bezier-curve mouse movements, randomized typing cadences, and realistic scroll viewport dynamics.
|
|
29
|
+
|
|
30
|
+
3. **Visual QA & Layout Diffing via Vision LLMs**
|
|
31
|
+
- Feed high-resolution viewport screenshots into **Gemini 3.8 Flash** or **Claude 3.7 Sonnet**.
|
|
32
|
+
- Perform automatic visual regression audits, layout drift detection, contrast validation, and modal overlay checks.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
### Production Implementation Recipes
|
|
37
|
+
|
|
38
|
+
#### Recipe 1: Stagehand v0.4+ with Playwright Stealth (TypeScript)
|
|
39
|
+
```typescript
|
|
40
|
+
import { Stagehand } from '@browserbase/stagehand';
|
|
41
|
+
import { z } from 'zod';
|
|
42
|
+
|
|
43
|
+
export async function runAutonomousShoppingAgent(targetProduct: string) {
|
|
44
|
+
const stagehand = new Stagehand({
|
|
45
|
+
env: 'LOCAL',
|
|
46
|
+
modelName: 'claude-3-7-sonnet-20250219',
|
|
47
|
+
browserbaseSessionCreateParams: {
|
|
48
|
+
projectId: process.env.BROWSERBASE_PROJECT_ID,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
await stagehand.init();
|
|
53
|
+
const page = stagehand.page;
|
|
54
|
+
|
|
55
|
+
try {
|
|
56
|
+
await page.goto('https://example-store.com');
|
|
57
|
+
|
|
58
|
+
// Semantic action without hardcoded selectors
|
|
59
|
+
await page.act({ action: `Search for "${targetProduct}" in the search input and press Enter` });
|
|
60
|
+
|
|
61
|
+
// Extract structured data validated by Zod schema
|
|
62
|
+
const productData = await page.extract({
|
|
63
|
+
instruction: 'Extract the top 3 product names, prices, and availability status',
|
|
64
|
+
schema: z.object({
|
|
65
|
+
products: z.array(
|
|
66
|
+
z.object({
|
|
67
|
+
title: z.string(),
|
|
68
|
+
price: z.string(),
|
|
69
|
+
inStock: z.boolean(),
|
|
70
|
+
})
|
|
71
|
+
),
|
|
72
|
+
}),
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
console.log('Extracted Products:', productData.products);
|
|
76
|
+
return productData.products;
|
|
77
|
+
} finally {
|
|
78
|
+
await stagehand.close();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
#### Recipe 2: Browser-Use with Anti-Bot Evasion (Python)
|
|
84
|
+
```python
|
|
85
|
+
import asyncio
|
|
86
|
+
from browser_use import Agent
|
|
87
|
+
from langchain_google_genai import ChatGoogleGenerativeAI
|
|
88
|
+
from playwright.async_api import async_playwright
|
|
89
|
+
|
|
90
|
+
async def run_autonomous_browser_agent(goal: str):
|
|
91
|
+
llm = ChatGoogleGenerativeAI(
|
|
92
|
+
model="gemini-3.8-flash",
|
|
93
|
+
temperature=0.1
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
# Initialize agent with human-like viewport and natural interactions
|
|
97
|
+
agent = Agent(
|
|
98
|
+
task=goal,
|
|
99
|
+
llm=llm,
|
|
100
|
+
use_vision=True,
|
|
101
|
+
max_actions_per_step=3
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
result = await agent.run(max_steps=25)
|
|
105
|
+
print(f"Goal Completed: {result.is_done()}")
|
|
106
|
+
return result.final_result()
|
|
107
|
+
|
|
108
|
+
if __name__ == "__main__":
|
|
109
|
+
asyncio.run(run_autonomous_browser_agent("Search flights from CGK to HND for next month and return cheapest option"))
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Execution Protocol & Guardrails
|
|
113
|
+
- **Pre-flight**: Always inject evasion headers and randomize screen dimensions before navigating.
|
|
114
|
+
- **Fail-safe**: Set maximum navigation step thresholds (`max_steps <= 30`) to prevent infinite looping.
|
|
115
|
+
- **Visual Validation**: Capture viewport screenshots at critical check-in steps and pass to Vision LLMs to verify state transitions.
|
|
116
|
+
|
|
117
|
+
## Orchestration & Integration
|
|
118
|
+
- Integrates with: `web-scraper`, `autonomous-chaos-monkey`, `visual-qa-vision-agent`, `e2e-testing-expert`.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
<a name="bahasa-indonesia"></a>
|
|
123
|
+
## Bahasa Indonesia
|
|
124
|
+
|
|
125
|
+
### Tujuan & Gambaran Umum
|
|
126
|
+
Terapkan agen web otonom super kuat yang dapat melihat, menavigasi, dan mengeksekusi alur kerja kompleks tanpa campur tangan manusia. Menggabungkan framework otomatisasi web agentic modern (**Browser-Use**, **Stagehand v0.4+**) dengan teknik penghindaran deteksi bot tingkat tinggi (Playwright Stealth, manipulasi sidik jari perangkat, rotasi proxy residential) dan model Vision frontier (**Gemini 3.8 Flash**, **Gemini 3.5 Pro**, **Claude 3.7 Sonnet Computer Use**, **OpenAI o3 / GPT-4.5**) untuk QA visual tingkat piksel.
|
|
127
|
+
|
|
128
|
+
### Kemampuan Utama
|
|
129
|
+
|
|
130
|
+
1. **Framework Eksekusi Otonom (Standar 2026)**
|
|
131
|
+
- **Stagehand v0.4+**: Persepsi DOM berbasis bahasa alami dengan aksi semantik (`page.act()`, `page.extract()`, `page.observe()`). Menghilangkan ketergantungan pada selektor CSS/XPath yang rapuh.
|
|
132
|
+
- **Browser-Use**: Penelusuran web otonom multi-langkah yang dipandu oleh LLM dengan pemindaian pohon aksesibilitas (accessibility tree), bounding boxes visual, dan siklus eksekusi berorientasi tujuan.
|
|
133
|
+
|
|
134
|
+
2. **Penghindaran Deteksi & Anti-Bot Tingkat Tinggi**
|
|
135
|
+
- **Playwright Stealth**: Menyamarkan `navigator.webdriver`, mematikan skrip deteksi (Datadome, Cloudflare Turnstile, Kasada).
|
|
136
|
+
- **Masking Fingerprint**: Memalsukan sidik jari Canvas, WebGL, AudioContext, konkurensi perangkat keras, serta kebocoran WebRTC.
|
|
137
|
+
- **Mimikri Perilaku Manusia**: Menginjeksi gerakan kursor kurva Bezier, jeda pengetikan organik, dan dinamika scroll realistis.
|
|
138
|
+
|
|
139
|
+
3. **QA Visual & Diffing via Vision LLM**
|
|
140
|
+
- Teruskan screenshot viewport resolusi tinggi ke **Gemini 3.8 Flash** atau **Claude 3.7 Sonnet**.
|
|
141
|
+
- Jalankan audit regresi visual otomatis, deteksi pergeseran layout, validasi kontras, dan verifikasi modal overlay.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
### Resep Implementasi Produksi
|
|
146
|
+
|
|
147
|
+
#### Resep 1: Stagehand v0.4+ dengan Playwright Stealth (TypeScript)
|
|
148
|
+
```typescript
|
|
149
|
+
import { Stagehand } from '@browserbase/stagehand';
|
|
150
|
+
import { z } from 'zod';
|
|
151
|
+
|
|
152
|
+
export async function jalankanAgenBelanjaOtonom(produkSasaran: string) {
|
|
153
|
+
const stagehand = new Stagehand({
|
|
154
|
+
env: 'LOCAL',
|
|
155
|
+
modelName: 'claude-3-7-sonnet-20250219',
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
await stagehand.init();
|
|
159
|
+
const page = stagehand.page;
|
|
160
|
+
|
|
161
|
+
try {
|
|
162
|
+
await page.goto('https://toko-contoh.com');
|
|
163
|
+
|
|
164
|
+
// Aksi semantik tanpa selektor yang kaku
|
|
165
|
+
await page.act({ action: `Cari "${produkSasaran}" pada kolom pencarian dan tekan Enter` });
|
|
166
|
+
|
|
167
|
+
// Ekstraksi data terstruktur dengan validasi skema Zod
|
|
168
|
+
const hasilProduk = await page.extract({
|
|
169
|
+
instruction: 'Ekstrak 3 nama produk teratas, harga, dan ketersediaan stok',
|
|
170
|
+
schema: z.object({
|
|
171
|
+
products: z.array(
|
|
172
|
+
z.object({
|
|
173
|
+
title: z.string(),
|
|
174
|
+
price: z.string(),
|
|
175
|
+
inStock: z.boolean(),
|
|
176
|
+
})
|
|
177
|
+
),
|
|
178
|
+
}),
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
console.log('Hasil Ekstraksi:', hasilProduk.products);
|
|
182
|
+
return hasilProduk.products;
|
|
183
|
+
} finally {
|
|
184
|
+
await stagehand.close();
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
#### Resep 2: Browser-Use dengan Anti-Bot Evasion (Python)
|
|
190
|
+
```python
|
|
191
|
+
import asyncio
|
|
192
|
+
from browser_use import Agent
|
|
193
|
+
from langchain_google_genai import ChatGoogleGenerativeAI
|
|
194
|
+
|
|
195
|
+
async def jalankan_agen_browser(tujuan: str):
|
|
196
|
+
llm = ChatGoogleGenerativeAI(
|
|
197
|
+
model="gemini-3.8-flash",
|
|
198
|
+
temperature=0.1
|
|
199
|
+
)
|
|
200
|
+
|
|
201
|
+
agent = Agent(
|
|
202
|
+
task=tujuan,
|
|
203
|
+
llm=llm,
|
|
204
|
+
use_vision=True,
|
|
205
|
+
max_actions_per_step=3
|
|
206
|
+
)
|
|
207
|
+
|
|
208
|
+
result = await agent.run(max_steps=25)
|
|
209
|
+
print(f"Status Selesai: {result.is_done()}")
|
|
210
|
+
return result.final_result()
|
|
211
|
+
|
|
212
|
+
if __name__ == "__main__":
|
|
213
|
+
asyncio.run(jalankan_agen_browser("Cari tiket pesawat Jakarta ke Tokyo untuk bulan depan dan ambil opsi termurah"))
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### Protokol Eksekusi & Batasan Keamanan
|
|
217
|
+
- **Sebelum Eksekusi**: Selalu injeksikan header penyamaran dan acak dimensi viewport sebelum memuat halaman.
|
|
218
|
+
- **Fail-safe**: Batasi jumlah langkah navigasi (`max_steps <= 30`) agar agen tidak terjebak dalam perulangan tak berujung.
|
|
219
|
+
- **Validasi Visual**: Tangkap screenshot di titik-titik krusial dan kirimkan ke Vision LLM untuk memastikan status halaman valid.
|
|
220
|
+
|
|
221
|
+
## Integrasi Orkestrasi
|
|
222
|
+
- Terintegrasi dengan: `web-scraper`, `autonomous-chaos-monkey`, `visual-qa-vision-agent`, `e2e-testing-expert`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bun-runtime-expert
|
|
3
3
|
description: "Expert guide for Bun JavaScript/TypeScript runtime. Use when building, testing, or deploying applications with Bun / Panduan ahli untuk runtime JavaScript/TypeScript Bun. Digunakan saat membuat, menguji, atau meluncurkan aplikasi dengan Bun."
|
|
4
|
-
author: "Roedy Rustam"
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Bun Runtime 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
|
Expert-level guidance for building high-performance applications with the Bun JavaScript/TypeScript runtime (v1.1+). Covers Bun's built-in HTTP server, database clients, bundler, test runner, package manager, and Node.js migration strategies.
|
|
17
20
|
|
|
18
21
|
### Trigger Conditions
|
|
@@ -111,6 +114,9 @@ const users = await sql`SELECT * FROM users WHERE active = ${true}`;
|
|
|
111
114
|
<a name="bahasa-indonesia"></a>
|
|
112
115
|
## Bahasa Indonesia
|
|
113
116
|
|
|
117
|
+
### Integrasi Orkestrasi
|
|
118
|
+
Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
|
|
119
|
+
|
|
114
120
|
Panduan tingkat ahli untuk membangun aplikasi berkinerja tinggi menggunakan runtime JavaScript/TypeScript Bun (v1.1+). Mencakup server HTTP bawaan, klien database, bundler, test runner, package manager, dan strategi migrasi dari Node.js.
|
|
115
121
|
|
|
116
122
|
### Kondisi Pemicu
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: chatbot-messaging-expert
|
|
3
|
+
description: "Expert guide for chatbot and messaging platform integration (WhatsApp Business, Telegram Bot, Discord.js, Slack Bolt) and conversational AI / Panduan ahli integrasi chatbot dan platform messaging (WhatsApp Business, Telegram Bot, Discord.js, Slack Bolt) dan AI percakapan."
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Chatbot & Messaging 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
|
+
- **`ai-llm-integration-expert`**: LLM-powered conversational AI and tool calling.
|
|
18
|
+
- **`sse-websocket-streaming-expert`**: Real-time messaging protocols.
|
|
19
|
+
- **`webhook-receiver`**: Secure webhook endpoints for messaging platforms.
|
|
20
|
+
- **`async-queue-temporal-expert`**: Message queue processing for high-volume bots.
|
|
21
|
+
|
|
22
|
+
### Description
|
|
23
|
+
Expert guide for building chatbots and integrating messaging platforms into applications. Covers WhatsApp Business API (Cloud API), Telegram Bot API, Discord.js v14, Slack Bolt, LINE Messaging API, and conversational AI patterns. Includes webhook verification, message handlers, interactive components (buttons, carousels), media handling, and AI-powered response generation.
|
|
24
|
+
|
|
25
|
+
### Trigger Conditions
|
|
26
|
+
- Building a chatbot for WhatsApp, Telegram, Discord, or Slack.
|
|
27
|
+
- Integrating messaging platform APIs into existing applications.
|
|
28
|
+
- Creating AI-powered conversational agents on messaging platforms.
|
|
29
|
+
- Implementing webhook handlers for messaging notifications.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
### Platform Quick Reference
|
|
34
|
+
|
|
35
|
+
| Platform | API Type | Auth | Message Types | Webhook |
|
|
36
|
+
|----------|----------|------|---------------|---------|
|
|
37
|
+
| WhatsApp Business | REST (Cloud API) | Bearer Token | Text, Image, Template, Interactive | ✅ Verify token |
|
|
38
|
+
| Telegram | REST (Bot API) | Bot Token | Text, Photo, Inline Keyboard, Callback | ✅ setWebhook |
|
|
39
|
+
| Discord | Gateway + REST | Bot Token | Text, Embed, Components, Slash Commands | Gateway events |
|
|
40
|
+
| Slack | Events API + REST | OAuth + Signing Secret | Blocks, Modals, Slash Commands | ✅ Request signing |
|
|
41
|
+
|
|
42
|
+
### Core Patterns
|
|
43
|
+
|
|
44
|
+
#### WhatsApp Business Cloud API
|
|
45
|
+
```typescript
|
|
46
|
+
// Webhook verification + message handler
|
|
47
|
+
import { Hono } from 'hono';
|
|
48
|
+
const app = new Hono();
|
|
49
|
+
|
|
50
|
+
app.get('/webhook/whatsapp', (c) => {
|
|
51
|
+
const mode = c.req.query('hub.mode');
|
|
52
|
+
const token = c.req.query('hub.verify_token');
|
|
53
|
+
const challenge = c.req.query('hub.challenge');
|
|
54
|
+
if (mode === 'subscribe' && token === process.env.WA_VERIFY_TOKEN) {
|
|
55
|
+
return c.text(challenge!);
|
|
56
|
+
}
|
|
57
|
+
return c.text('Forbidden', 403);
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
app.post('/webhook/whatsapp', async (c) => {
|
|
61
|
+
const body = await c.req.json();
|
|
62
|
+
const message = body.entry?.[0]?.changes?.[0]?.value?.messages?.[0];
|
|
63
|
+
if (message?.type === 'text') {
|
|
64
|
+
await sendWhatsAppReply(message.from, `Echo: ${message.text.body}`);
|
|
65
|
+
}
|
|
66
|
+
return c.text('OK');
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
async function sendWhatsAppReply(to: string, text: string) {
|
|
70
|
+
await fetch(`https://graph.facebook.com/v21.0/${process.env.WA_PHONE_ID}/messages`, {
|
|
71
|
+
method: 'POST',
|
|
72
|
+
headers: {
|
|
73
|
+
Authorization: `Bearer ${process.env.WA_ACCESS_TOKEN}`,
|
|
74
|
+
'Content-Type': 'application/json',
|
|
75
|
+
},
|
|
76
|
+
body: JSON.stringify({ messaging_product: 'whatsapp', to, type: 'text', text: { body: text } }),
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### Telegram Bot
|
|
82
|
+
```typescript
|
|
83
|
+
import { Bot, InlineKeyboard } from 'grammy';
|
|
84
|
+
|
|
85
|
+
const bot = new Bot(process.env.TELEGRAM_BOT_TOKEN!);
|
|
86
|
+
|
|
87
|
+
bot.command('start', (ctx) => ctx.reply('Welcome! How can I help?'));
|
|
88
|
+
bot.on('message:text', async (ctx) => {
|
|
89
|
+
const aiResponse = await generateAIResponse(ctx.message.text);
|
|
90
|
+
const keyboard = new InlineKeyboard()
|
|
91
|
+
.text('👍 Helpful', 'feedback_good')
|
|
92
|
+
.text('👎 Not helpful', 'feedback_bad');
|
|
93
|
+
await ctx.reply(aiResponse, { reply_markup: keyboard });
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
bot.callbackQuery('feedback_good', (ctx) => ctx.answerCallbackQuery('Thanks!'));
|
|
97
|
+
bot.start();
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Orchestration & Integration
|
|
101
|
+
- `ai-llm-integration-expert`, `webhook-receiver`, `async-queue-temporal-expert`
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
<a name="bahasa-indonesia"></a>
|
|
106
|
+
## Bahasa Indonesia
|
|
107
|
+
|
|
108
|
+
### Deskripsi
|
|
109
|
+
Panduan ahli untuk membangun chatbot dan mengintegrasikan platform messaging ke dalam aplikasi. Mencakup WhatsApp Business API, Telegram Bot API, Discord.js v14, Slack Bolt, dan pola AI percakapan.
|
|
110
|
+
|
|
111
|
+
### Kondisi Pemicu
|
|
112
|
+
- Membangun chatbot untuk WhatsApp, Telegram, Discord, atau Slack.
|
|
113
|
+
- Mengintegrasikan API platform messaging ke aplikasi yang sudah ada.
|
|
114
|
+
- Membuat agen percakapan berbasis AI di platform messaging.
|
|
@@ -1,45 +1,81 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ci-cd-devops-architect
|
|
3
|
-
description: "Expert guide for continuous integration, deployment pipelines, Docker, Kubernetes, and Infrastructure as Code (IaC) / Panduan ahli untuk CI/CD dan infrastruktur."
|
|
4
|
-
author: "
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# CI/CD & DevOps Architect / Arsitek CI/CD & DevOps
|
|
8
|
-
|
|
9
|
-
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
<a name="english"></a>
|
|
14
|
-
## English
|
|
15
|
-
|
|
16
|
-
### Description
|
|
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
|
-
|
|
1
|
+
---
|
|
2
|
+
name: ci-cd-devops-architect
|
|
3
|
+
description: "Expert guide for continuous integration, deployment pipelines, Docker, Kubernetes, and Infrastructure as Code (IaC) / Panduan ahli untuk CI/CD dan infrastruktur."
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# CI/CD & DevOps Architect / Arsitek CI/CD & DevOps
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
Design and maintain CI/CD pipelines (GitHub Actions, GitLab CI, Buildkite) and manage infrastructure using Docker, Kubernetes (1.30+), and Terraform/OpenTofu.
|
|
18
|
+
|
|
19
|
+
## Orchestration & Integration
|
|
20
|
+
Connect with these skills to orchestrate complete workflows:
|
|
21
|
+
- `cloud-hosting-expert` — Deployment targets (Vercel, Cloudflare, AWS, Railway)
|
|
22
|
+
- `dependency-upgrade-migrator` — Renovate Bot configuration in CI/CD
|
|
23
|
+
- `self-healing-cloud-orchestrator` — Auto-remediation and rollback pipelines
|
|
24
|
+
- `logging-error-tracking-expert` — Sentry source map upload step in build pipeline
|
|
25
|
+
- `e2e-testing-expert` — Automated Playwright & Vitest test steps in CI
|
|
26
|
+
- `zero-trust-secret-vault` — CI/CD secret management and injection
|
|
27
|
+
- `production-ready-hardener` — Pre-deployment security scanning in CI
|
|
28
|
+
|
|
29
|
+
### Key CI/CD Workflows & Patterns
|
|
30
|
+
- **Automate Everything**: Enforce tests, linting, formatting, and security scans on every PR. Block merges on pipeline failure.
|
|
31
|
+
- **Dependency Update Bot**: Configure Renovate Bot for automated patch/minor updates (`dependency-upgrade-migrator`).
|
|
32
|
+
- **Source Maps Upload**: Upload Sentry source maps during build phase (`logging-error-tracking-expert`).
|
|
33
|
+
- **Immutable Artifacts**: Build Docker image once, deploy identical image to Staging and Production. Inject environment variables dynamically at runtime.
|
|
34
|
+
- **Infrastructure as Code**: Store all infrastructure configurations (Terraform/OpenTofu, K8s manifests) in version control. No manual web console changes.
|
|
35
|
+
- **Zero-Trust Secrets**: Never commit secrets. Use Infisical, GitHub OIDC, or HashiCorp Vault (`zero-trust-secret-vault`).
|
|
36
|
+
- **Zero-Downtime Deployments**: Utilize rolling updates or blue-green deployments.
|
|
37
|
+
|
|
38
|
+
### Implementation Checklist
|
|
39
|
+
- [ ] Configure branch protection (require passing status checks before merge).
|
|
40
|
+
- [ ] Set up multi-stage Docker builds to reduce image size and attack surface.
|
|
41
|
+
- [ ] Implement caching for package managers (pnpm, bun, cargo, go mod) in CI.
|
|
42
|
+
- [ ] Scan container images for vulnerabilities before registry push.
|
|
43
|
+
|
|
44
|
+
### Trigger Conditions
|
|
45
|
+
Trigger when creating GitHub Actions, configuring Dockerfiles, writing Terraform/OpenTofu scripts, setting up Renovate Bot, or configuring deployment pipelines.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
<a name="bahasa-indonesia"></a>
|
|
50
|
+
## Bahasa Indonesia
|
|
51
|
+
|
|
52
|
+
### Deskripsi
|
|
53
|
+
Rancang dan pelihara *pipeline* CI/CD (GitHub Actions, GitLab CI, Buildkite) dan kelola infrastruktur menggunakan Docker, Kubernetes (1.30+), dan Terraform/OpenTofu.
|
|
54
|
+
|
|
55
|
+
## Integrasi Orkestrasi
|
|
56
|
+
Hubungkan dengan skill berikut untuk mengorkestrasi alur kerja:
|
|
57
|
+
- `cloud-hosting-expert` — Target deployment (Vercel, Cloudflare, AWS, Railway)
|
|
58
|
+
- `dependency-upgrade-migrator` — Konfigurasi Renovate Bot di CI/CD
|
|
59
|
+
- `self-healing-cloud-orchestrator` — Pipeline auto-remediasi dan rollback
|
|
60
|
+
- `logging-error-tracking-expert` — Langkah upload source map Sentry di pipeline build
|
|
61
|
+
- `e2e-testing-expert` — Langkah pengujian otomatis Playwright & Vitest di CI
|
|
62
|
+
- `zero-trust-secret-vault` — Manajemen dan injeksi rahasia CI/CD
|
|
63
|
+
- `production-ready-hardener` — Pemindaian keamanan pra-deployment di CI
|
|
64
|
+
|
|
65
|
+
### Alur Kerja & Pola CI/CD Utama
|
|
66
|
+
- **Otomatisasi Semuanya**: Wajibkan pengujian, *linting*, pemformatan, dan pemindaian keamanan di setiap PR. Blokir merge jika *pipeline* gagal.
|
|
67
|
+
- **Bot Pembaruan Dependensi**: Konfigurasi Renovate Bot untuk update otomatis patch/minor (`dependency-upgrade-migrator`).
|
|
68
|
+
- **Upload Source Maps**: Upload source maps Sentry pada fase build (`logging-error-tracking-expert`).
|
|
69
|
+
- **Artifak Imutabel**: Build *image* Docker sekali, *deploy* image yang persis sama ke Staging dan Produksi. Injeksi variabel lingkungan saat runtime.
|
|
70
|
+
- **Infrastructure as Code (IaC)**: Simpan semua konfigurasi infrastruktur (Terraform/OpenTofu, manifes K8s) di kontrol versi. Jangan ubah manual via konsol web.
|
|
71
|
+
- **Manajemen Rahasia (Secrets)**: Jangan komit rahasia. Gunakan GitHub OIDC, Infisical, atau HashiCorp Vault (`zero-trust-secret-vault`).
|
|
72
|
+
- **Deployment Tanpa Downtime**: Manfaatkan pembaruan bergulir (*rolling updates*) atau *blue-green deployments*.
|
|
73
|
+
|
|
74
|
+
### Checklist Implementasi
|
|
75
|
+
- [ ] Konfigurasi perlindungan cabang (wajib lulus status check sebelum merge).
|
|
76
|
+
- [ ] Siapkan multi-stage Docker builds untuk mengurangi ukuran image dan permukaan serangan.
|
|
77
|
+
- [ ] Implementasikan caching untuk package managers (pnpm, bun, cargo, go mod) di workflow CI.
|
|
78
|
+
- [ ] Pindai image kontainer untuk kerentanan sebelum push ke registry.
|
|
79
|
+
|
|
80
|
+
### Kondisi Pemicu
|
|
81
|
+
Picu saat membuat GitHub Actions, mengkonfigurasi Dockerfile, menulis skrip Terraform/OpenTofu, mengatur Renovate Bot, atau mengatur *pipeline deployment*.
|