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,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: api-gateway-proxy-expert
|
|
3
|
+
description: "Expert guide for API Gateways, Reverse Proxies, and Service Mesh. Covers Kong, Traefik, NGINX, Cloudflare Gateway, and load balancing / Panduan ahli untuk API Gateway, Reverse Proxy, dan Service Mesh."
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# API Gateway & Reverse Proxy Expert
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
A comprehensive guide for routing, load balancing, and managing traffic at the perimeter of your microservices architecture. Covers configuring API Gateways (Kong, Tyk), modern reverse proxies (Traefik, Caddy, NGINX), and understanding Service Mesh patterns.
|
|
18
|
+
|
|
19
|
+
### Trigger Conditions
|
|
20
|
+
- When architecting a microservices backend that needs a unified entry point (BFF - Backend for Frontend).
|
|
21
|
+
- When configuring SSL/TLS termination, rate limiting, or IP allowlisting at the infrastructure level.
|
|
22
|
+
- When the user asks about "Traefik", "NGINX config", "Kong", or "API routing".
|
|
23
|
+
- When implementing blue-green deployments or canary releases via traffic splitting.
|
|
24
|
+
|
|
25
|
+
### Core Architectural Guidelines
|
|
26
|
+
|
|
27
|
+
#### 1. API Gateway Pattern
|
|
28
|
+
Instead of client applications calling individual microservices, route all traffic through an API Gateway.
|
|
29
|
+
- **Cross-Cutting Concerns**: Offload authentication (JWT verification), rate limiting, and CORS handling to the Gateway.
|
|
30
|
+
- **Routing**: Use path-based routing (e.g., `/api/users` -> Users Service, `/api/billing` -> Billing Service).
|
|
31
|
+
|
|
32
|
+
#### 2. Tool Selection
|
|
33
|
+
- **Traefik**: Best for Docker/Kubernetes environments due to its auto-discovery capabilities via labels/annotations.
|
|
34
|
+
- **Caddy**: Best for simplicity and automatic HTTPS (Let's Encrypt provisioning).
|
|
35
|
+
- **Kong API Gateway**: Best for enterprise environments requiring extensive plugins (OIDC, rate limiting, analytics).
|
|
36
|
+
- **Cloudflare (Edge)**: Use Cloudflare rules for edge-level caching, WAF, and DDoS protection before traffic even reaches your origin proxy.
|
|
37
|
+
|
|
38
|
+
#### 3. Configuration Best Practices
|
|
39
|
+
- **Timeouts**: Always configure strict proxy read/write timeouts to prevent stalled connections from exhausting worker pools.
|
|
40
|
+
- **Health Checks**: Configure active health checks so the proxy can automatically remove failing backend instances from the load balancer pool.
|
|
41
|
+
- **X-Forwarded Headers**: Ensure your proxy correctly sets `X-Forwarded-For` and `X-Forwarded-Proto` so backend services know the client's real IP and protocol.
|
|
42
|
+
|
|
43
|
+
## Orchestration & Integration
|
|
44
|
+
- Sits in front of `js-backend-expert`, `go-programming-expert`, and `rust-programming-expert` services.
|
|
45
|
+
- Offloads work from `rate-limit-abuse-prevention` by handling rate limits at the L7 proxy layer.
|
|
46
|
+
- Complements `ci-cd-devops-architect` when configuring Docker Compose or Kubernetes Ingress.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
<a name="bahasa-indonesia"></a>
|
|
51
|
+
## Bahasa Indonesia
|
|
52
|
+
|
|
53
|
+
### Deskripsi
|
|
54
|
+
Panduan komprehensif untuk routing, load balancing, dan manajemen trafik di lapisan terluar (perimeter) arsitektur microservices. Mencakup konfigurasi API Gateway (Kong), reverse proxy modern (Traefik, Caddy, NGINX), dan Service Mesh.
|
|
55
|
+
|
|
56
|
+
### Kondisi Pemicu
|
|
57
|
+
- Saat merancang backend microservices yang membutuhkan satu pintu masuk terpadu (BFF).
|
|
58
|
+
- Saat mengonfigurasi terminasi SSL/TLS, rate limiting, atau IP allowlisting di tingkat infrastruktur.
|
|
59
|
+
- Saat menerapkan rilis canary atau blue-green deployment melalui pembagian trafik (traffic splitting).
|
|
60
|
+
|
|
61
|
+
### Panduan Arsitektur Inti
|
|
62
|
+
|
|
63
|
+
#### 1. Pola API Gateway
|
|
64
|
+
Jangan biarkan klien (frontend/mobile) memanggil microservices secara langsung.
|
|
65
|
+
- Gunakan Gateway untuk menangani masalah lintas-layanan (cross-cutting) seperti verifikasi JWT, CORS, dan rate limiting.
|
|
66
|
+
- Gunakan routing berbasis *path* (jalur).
|
|
67
|
+
|
|
68
|
+
#### 2. Pemilihan Tool
|
|
69
|
+
- **Traefik**: Pilihan terbaik untuk lingkungan Docker/Kubernetes karena penemuan layanan otomatis (auto-discovery) melalui label.
|
|
70
|
+
- **Caddy**: Pilihan terbaik untuk kemudahan setup dan HTTPS otomatis (Let's Encrypt).
|
|
71
|
+
- **Kong**: Standar industri untuk kebutuhan Enterprise dengan sistem plugin yang kuat.
|
|
72
|
+
- **Cloudflare**: Lini pertahanan pertama untuk WAF dan perlindungan DDoS di sisi Edge.
|
|
73
|
+
|
|
74
|
+
#### 3. Praktik Terbaik Konfigurasi
|
|
75
|
+
- **Timeouts**: Selalu tetapkan batas waktu (timeout) koneksi proxy untuk mencegah server kehabisan resource karena koneksi yang menggantung.
|
|
76
|
+
- **Health Checks**: Aktifkan health check agar proxy tidak mengirimkan request ke service yang sedang mati.
|
|
77
|
+
- **Header X-Forwarded**: Pastikan proxy menyertakan header `X-Forwarded-For` agar backend mengetahui IP asli klien.
|
|
78
|
+
|
|
79
|
+
## Integrasi Orkestrasi
|
|
80
|
+
- Berada di depan service yang dibangun dengan `js-backend-expert`, `go-programming-expert`, atau `rust-programming-expert`.
|
|
81
|
+
- Bekerja sama dengan `ci-cd-devops-architect` untuk konfigurasi Ingress Kubernetes atau Docker Compose.
|
|
@@ -1,189 +1,196 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: app-analyzer-optimizer
|
|
3
|
-
description: "Deeply analyzes application architecture and structure to perform audit, bottleneck detection, and code/performance optimization / Mempelajari arsitektur dan struktur aplikasi secara mendalam untuk melakukan audit, deteksi bottleneck, serta optimasi performa dan kode."
|
|
1
|
+
---
|
|
2
|
+
name: app-analyzer-optimizer
|
|
3
|
+
description: "Deeply analyzes application architecture and structure to perform audit, bottleneck detection, and code/performance optimization / Mempelajari arsitektur dan struktur aplikasi secara mendalam untuk melakukan audit, deteksi bottleneck, serta optimasi performa dan kode."
|
|
4
4
|
author: "Roedy Rustam"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# App Analyzer & Optimizer (2026 Edition)
|
|
8
|
-
|
|
9
|
-
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
<a name="english"></a>
|
|
14
|
-
## English
|
|
15
|
-
|
|
16
|
-
### Description
|
|
17
|
-
Deep application analysis and optimization skill. Performs architectural audits, bottleneck detection, bundle analysis, database query profiling, and AI-assisted code review across Next.js, React, Node.js, Go, Python, and Rust applications.
|
|
18
|
-
|
|
19
|
-
### Trigger Conditions
|
|
20
|
-
- Auditing an existing codebase for architectural issues or technical debt.
|
|
21
|
-
- Detecting performance bottlenecks (slow API routes, large bundles, N+1 queries).
|
|
22
|
-
- Analyzing bundle size and suggesting code splitting opportunities.
|
|
23
|
-
- Reviewing code quality (complexity, duplication, dead code).
|
|
24
|
-
- Using AI-assisted tools to accelerate code review and analysis.
|
|
25
|
-
|
|
26
|
-
### Analysis Protocol (5 Phases)
|
|
27
|
-
|
|
28
|
-
#### Phase 1: Architecture Discovery
|
|
29
|
-
```bash
|
|
30
|
-
# Map the entire project structure
|
|
31
|
-
find . -type f -name "*.ts" -o -name "*.tsx" -o -name "*.go" | head -100
|
|
32
|
-
# Count lines per file (find largest files)
|
|
33
|
-
find . -name "*.ts" -exec wc -l {} + | sort -rn | head -20
|
|
34
|
-
# Find circular dependencies (TypeScript/JS)
|
|
35
|
-
npx madge --circular --extensions ts,tsx src/
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
#### Phase 2: Bundle Analysis (Next.js / Vite)
|
|
39
|
-
```bash
|
|
40
|
-
# Next.js bundle analyzer
|
|
41
|
-
ANALYZE=true next build
|
|
42
|
-
|
|
43
|
-
# Or install dedicated tool
|
|
44
|
-
npx @next/bundle-analyzer
|
|
45
|
-
|
|
46
|
-
# Vite bundle visualization
|
|
47
|
-
npx vite-bundle-visualizer
|
|
48
|
-
|
|
49
|
-
# Check for duplicate dependencies
|
|
50
|
-
npx depcheck
|
|
51
|
-
npx bundle-phobia-cli check package.json
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Key bundle red flags:
|
|
55
|
-
- Any single chunk > 500KB (uncompressed).
|
|
56
|
-
- Importing entire libraries (`import _ from 'lodash'` vs `import debounce from 'lodash/debounce'`).
|
|
57
|
-
- Moment.js (replace with `date-fns` or `Temporal`).
|
|
58
|
-
- `node_modules` leaking into client bundle.
|
|
59
|
-
|
|
60
|
-
#### Phase 3: Database Query Analysis
|
|
61
|
-
```sql
|
|
62
|
-
-- PostgreSQL: Find slow queries
|
|
63
|
-
SELECT query, mean_exec_time, calls, total_exec_time
|
|
64
|
-
FROM pg_stat_statements
|
|
65
|
-
ORDER BY mean_exec_time DESC
|
|
66
|
-
LIMIT 20;
|
|
67
|
-
|
|
68
|
-
-- Find missing indexes (sequential scans on large tables)
|
|
69
|
-
SELECT schemaname, tablename, attname, n_distinct, correlation
|
|
70
|
-
FROM pg_stats
|
|
71
|
-
WHERE tablename = 'your_table'
|
|
72
|
-
ORDER BY n_distinct DESC;
|
|
73
|
-
|
|
74
|
-
-- Detect N+1 queries: Enable query logging
|
|
75
|
-
-- In Drizzle:
|
|
76
|
-
const db = drizzle(client, { logger: true });
|
|
77
|
-
-- In Prisma:
|
|
78
|
-
DATABASE_URL="...?connection_limit=5" prisma studio
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
#### Phase 4: AI-Assisted Code Review
|
|
82
|
-
Use AI tools to accelerate analysis:
|
|
83
|
-
|
|
84
|
-
| Tool | Purpose |
|
|
85
|
-
|---|---|
|
|
86
|
-
| **CodeRabbit** | Automated PR review, pattern detection |
|
|
87
|
-
| **Sourcegraph Cody** | Codebase-wide semantic search and explanation |
|
|
88
|
-
| **GitHub Copilot** | Inline suggestions and refactoring |
|
|
89
|
-
| **Cursor / Windsurf** | AI IDE with full-repo context |
|
|
90
|
-
|
|
91
|
-
AI review prompts for Gemini Agent:
|
|
92
|
-
```
|
|
93
|
-
Analyze all files in src/features/ and identify:
|
|
94
|
-
1. Functions longer than 30 lines
|
|
95
|
-
2. Duplicated business logic across files
|
|
96
|
-
3. Missing error handling in async functions
|
|
97
|
-
4. Components that directly call APIs (violating separation of concerns)
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
#### Phase 5: Performance Profiling
|
|
101
|
-
|
|
102
|
-
**Frontend (React / Next.js):**
|
|
103
|
-
```bash
|
|
104
|
-
# React DevTools Profiler — identify render bottlenecks
|
|
105
|
-
# Chrome DevTools > Performance tab > Record interaction
|
|
106
|
-
|
|
107
|
-
# Lighthouse CI — automated CWV tracking
|
|
108
|
-
npm install -g @lhci/cli
|
|
109
|
-
lhci autorun
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
**Backend (Node.js):**
|
|
113
|
-
```bash
|
|
114
|
-
# Built-in Node.js profiler
|
|
115
|
-
node --prof server.js
|
|
116
|
-
node --prof-process isolate-*.log > processed.txt
|
|
117
|
-
|
|
118
|
-
# Clinic.js — flamegraph, bubble chart, doctor
|
|
119
|
-
npm install -g clinic
|
|
120
|
-
clinic doctor -- node server.js
|
|
121
|
-
clinic flame -- node server.js
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
**Go:**
|
|
125
|
-
```bash
|
|
126
|
-
# Built-in pprof profiler
|
|
127
|
-
go tool pprof http://localhost:6060/debug/pprof/profile?seconds=30
|
|
128
|
-
go tool pprof -http=:8080 profile.out
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### Common Bottleneck Patterns & Fixes
|
|
132
|
-
|
|
133
|
-
| Bottleneck | Symptom | Fix |
|
|
134
|
-
|---|---|---|
|
|
135
|
-
| N+1 queries | DB calls proportional to list length | Add `.include()` / JOIN or DataLoader |
|
|
136
|
-
| Missing indexes | Slow queries on filtered columns | `CREATE INDEX CONCURRENTLY` |
|
|
137
|
-
| Unoptimized images | Large LCP, slow page load | Next.js `<Image>`, WebP, lazy loading |
|
|
138
|
-
| Over-fetching | Fetching full objects when only 1 field needed | Select specific columns |
|
|
139
|
-
| No pagination | Fetching entire tables | Add `LIMIT/OFFSET` or cursor pagination |
|
|
140
|
-
| Blocking main thread | High INP, unresponsive UI | `useTransition`, web workers |
|
|
141
|
-
| No caching | Same data fetched repeatedly | Redis, React Query staleTime, HTTP cache |
|
|
142
|
-
| Bundle bloat | Large JS payload | Tree-shaking, code splitting, lazy imports |
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
<a name="bahasa-indonesia"></a>
|
|
147
|
-
## Bahasa Indonesia
|
|
148
|
-
|
|
149
|
-
###
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
###
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
#### Fase
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
#### Fase
|
|
168
|
-
Gunakan `
|
|
169
|
-
|
|
170
|
-
#### Fase
|
|
171
|
-
Gunakan
|
|
172
|
-
|
|
173
|
-
#### Fase
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
|
184
|
-
|
|
185
|
-
|
|
|
186
|
-
|
|
|
187
|
-
|
|
|
188
|
-
|
|
|
189
|
-
|
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# App Analyzer & Optimizer (2026 Edition)
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
Deep application analysis and optimization skill. Performs architectural audits, bottleneck detection, bundle analysis, database query profiling, and AI-assisted code review across Next.js, React, Node.js, Go, Python, and Rust applications.
|
|
18
|
+
|
|
19
|
+
### Trigger Conditions
|
|
20
|
+
- Auditing an existing codebase for architectural issues or technical debt.
|
|
21
|
+
- Detecting performance bottlenecks (slow API routes, large bundles, N+1 queries).
|
|
22
|
+
- Analyzing bundle size and suggesting code splitting opportunities.
|
|
23
|
+
- Reviewing code quality (complexity, duplication, dead code).
|
|
24
|
+
- Using AI-assisted tools to accelerate code review and analysis.
|
|
25
|
+
|
|
26
|
+
### Analysis Protocol (5 Phases)
|
|
27
|
+
|
|
28
|
+
#### Phase 1: Architecture Discovery
|
|
29
|
+
```bash
|
|
30
|
+
# Map the entire project structure
|
|
31
|
+
find . -type f -name "*.ts" -o -name "*.tsx" -o -name "*.go" | head -100
|
|
32
|
+
# Count lines per file (find largest files)
|
|
33
|
+
find . -name "*.ts" -exec wc -l {} + | sort -rn | head -20
|
|
34
|
+
# Find circular dependencies (TypeScript/JS)
|
|
35
|
+
npx madge --circular --extensions ts,tsx src/
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### Phase 2: Bundle Analysis (Next.js / Vite)
|
|
39
|
+
```bash
|
|
40
|
+
# Next.js bundle analyzer
|
|
41
|
+
ANALYZE=true next build
|
|
42
|
+
|
|
43
|
+
# Or install dedicated tool
|
|
44
|
+
npx @next/bundle-analyzer
|
|
45
|
+
|
|
46
|
+
# Vite bundle visualization
|
|
47
|
+
npx vite-bundle-visualizer
|
|
48
|
+
|
|
49
|
+
# Check for duplicate dependencies
|
|
50
|
+
npx depcheck
|
|
51
|
+
npx bundle-phobia-cli check package.json
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Key bundle red flags:
|
|
55
|
+
- Any single chunk > 500KB (uncompressed).
|
|
56
|
+
- Importing entire libraries (`import _ from 'lodash'` vs `import debounce from 'lodash/debounce'`).
|
|
57
|
+
- Moment.js (replace with `date-fns` or `Temporal`).
|
|
58
|
+
- `node_modules` leaking into client bundle.
|
|
59
|
+
|
|
60
|
+
#### Phase 3: Database Query Analysis
|
|
61
|
+
```sql
|
|
62
|
+
-- PostgreSQL: Find slow queries
|
|
63
|
+
SELECT query, mean_exec_time, calls, total_exec_time
|
|
64
|
+
FROM pg_stat_statements
|
|
65
|
+
ORDER BY mean_exec_time DESC
|
|
66
|
+
LIMIT 20;
|
|
67
|
+
|
|
68
|
+
-- Find missing indexes (sequential scans on large tables)
|
|
69
|
+
SELECT schemaname, tablename, attname, n_distinct, correlation
|
|
70
|
+
FROM pg_stats
|
|
71
|
+
WHERE tablename = 'your_table'
|
|
72
|
+
ORDER BY n_distinct DESC;
|
|
73
|
+
|
|
74
|
+
-- Detect N+1 queries: Enable query logging
|
|
75
|
+
-- In Drizzle:
|
|
76
|
+
const db = drizzle(client, { logger: true });
|
|
77
|
+
-- In Prisma:
|
|
78
|
+
DATABASE_URL="...?connection_limit=5" prisma studio
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### Phase 4: AI-Assisted Code Review
|
|
82
|
+
Use AI tools to accelerate analysis:
|
|
83
|
+
|
|
84
|
+
| Tool | Purpose |
|
|
85
|
+
|---|---|
|
|
86
|
+
| **CodeRabbit** | Automated PR review, pattern detection |
|
|
87
|
+
| **Sourcegraph Cody** | Codebase-wide semantic search and explanation |
|
|
88
|
+
| **GitHub Copilot** | Inline suggestions and refactoring |
|
|
89
|
+
| **Cursor / Windsurf** | AI IDE with full-repo context |
|
|
90
|
+
|
|
91
|
+
AI review prompts for Gemini Agent:
|
|
92
|
+
```
|
|
93
|
+
Analyze all files in src/features/ and identify:
|
|
94
|
+
1. Functions longer than 30 lines
|
|
95
|
+
2. Duplicated business logic across files
|
|
96
|
+
3. Missing error handling in async functions
|
|
97
|
+
4. Components that directly call APIs (violating separation of concerns)
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### Phase 5: Performance Profiling
|
|
101
|
+
|
|
102
|
+
**Frontend (React / Next.js):**
|
|
103
|
+
```bash
|
|
104
|
+
# React DevTools Profiler — identify render bottlenecks
|
|
105
|
+
# Chrome DevTools > Performance tab > Record interaction
|
|
106
|
+
|
|
107
|
+
# Lighthouse CI — automated CWV tracking
|
|
108
|
+
npm install -g @lhci/cli
|
|
109
|
+
lhci autorun
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**Backend (Node.js):**
|
|
113
|
+
```bash
|
|
114
|
+
# Built-in Node.js profiler
|
|
115
|
+
node --prof server.js
|
|
116
|
+
node --prof-process isolate-*.log > processed.txt
|
|
117
|
+
|
|
118
|
+
# Clinic.js — flamegraph, bubble chart, doctor
|
|
119
|
+
npm install -g clinic
|
|
120
|
+
clinic doctor -- node server.js
|
|
121
|
+
clinic flame -- node server.js
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
**Go:**
|
|
125
|
+
```bash
|
|
126
|
+
# Built-in pprof profiler
|
|
127
|
+
go tool pprof http://localhost:6060/debug/pprof/profile?seconds=30
|
|
128
|
+
go tool pprof -http=:8080 profile.out
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Common Bottleneck Patterns & Fixes
|
|
132
|
+
|
|
133
|
+
| Bottleneck | Symptom | Fix |
|
|
134
|
+
|---|---|---|
|
|
135
|
+
| N+1 queries | DB calls proportional to list length | Add `.include()` / JOIN or DataLoader |
|
|
136
|
+
| Missing indexes | Slow queries on filtered columns | `CREATE INDEX CONCURRENTLY` |
|
|
137
|
+
| Unoptimized images | Large LCP, slow page load | Next.js `<Image>`, WebP, lazy loading |
|
|
138
|
+
| Over-fetching | Fetching full objects when only 1 field needed | Select specific columns |
|
|
139
|
+
| No pagination | Fetching entire tables | Add `LIMIT/OFFSET` or cursor pagination |
|
|
140
|
+
| Blocking main thread | High INP, unresponsive UI | `useTransition`, web workers |
|
|
141
|
+
| No caching | Same data fetched repeatedly | Redis, React Query staleTime, HTTP cache |
|
|
142
|
+
| Bundle bloat | Large JS payload | Tree-shaking, code splitting, lazy imports |
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
<a name="bahasa-indonesia"></a>
|
|
147
|
+
## Bahasa Indonesia
|
|
148
|
+
|
|
149
|
+
### Integrasi Orkestrasi
|
|
150
|
+
Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
|
|
151
|
+
|
|
152
|
+
### Deskripsi
|
|
153
|
+
Skill analisis dan optimasi aplikasi mendalam. Melakukan audit arsitektur, deteksi bottleneck, analisis bundle, profiling query database, dan code review berbantuan AI di aplikasi Next.js, React, Node.js, Go, Python, dan Rust.
|
|
154
|
+
|
|
155
|
+
### Kondisi Pemicu
|
|
156
|
+
- Mengaudit codebase yang ada untuk masalah arsitektur atau hutang teknis.
|
|
157
|
+
- Mendeteksi bottleneck performa (rute API lambat, bundle besar, query N+1).
|
|
158
|
+
- Menganalisis ukuran bundle dan menyarankan peluang code splitting.
|
|
159
|
+
- Meninjau kualitas kode (kompleksitas, duplikasi, kode mati).
|
|
160
|
+
- Menggunakan tool berbantuan AI untuk mempercepat code review dan analisis.
|
|
161
|
+
|
|
162
|
+
### Protokol Analisis (5 Fase)
|
|
163
|
+
|
|
164
|
+
#### Fase 1: Penemuan Arsitektur
|
|
165
|
+
Petakan seluruh struktur proyek, hitung baris per file untuk menemukan file terbesar, dan deteksi dependensi circular dengan `npx madge --circular`.
|
|
166
|
+
|
|
167
|
+
#### Fase 2: Analisis Bundle (Next.js / Vite)
|
|
168
|
+
Gunakan `ANALYZE=true next build` atau `npx vite-bundle-visualizer`. Tanda bahaya bundle: chunk tunggal > 500KB, mengimpor library penuh, Moment.js, atau `node_modules` yang bocor ke bundle klien.
|
|
169
|
+
|
|
170
|
+
#### Fase 3: Analisis Query Database
|
|
171
|
+
Gunakan `pg_stat_statements` untuk menemukan query lambat. Cari scan sequential pada tabel besar (tanda indeks yang hilang). Aktifkan logging query di Drizzle/Prisma untuk mendeteksi pola N+1.
|
|
172
|
+
|
|
173
|
+
#### Fase 4: Code Review Berbantuan AI
|
|
174
|
+
Gunakan CodeRabbit untuk review PR otomatis, Sourcegraph Cody untuk pencarian semantik seluruh codebase, dan Gemini Agent dengan prompt analisis spesifik untuk menemukan fungsi panjang, logika bisnis yang diduplikasi, dan error handling yang hilang.
|
|
175
|
+
|
|
176
|
+
#### Fase 5: Profiling Performa
|
|
177
|
+
- **Frontend**: React DevTools Profiler, Lighthouse CI.
|
|
178
|
+
- **Backend Node.js**: `node --prof`, Clinic.js untuk flamegraph.
|
|
179
|
+
- **Go**: `go tool pprof` untuk CPU dan memory profiling.
|
|
180
|
+
|
|
181
|
+
### Pola Bottleneck Umum & Perbaikan
|
|
182
|
+
|
|
183
|
+
| Bottleneck | Gejala | Perbaikan |
|
|
184
|
+
|---|---|---|
|
|
185
|
+
| Query N+1 | Panggilan DB proporsional dengan panjang daftar | Tambahkan `.include()` / JOIN atau DataLoader |
|
|
186
|
+
| Indeks yang hilang | Query lambat pada kolom yang difilter | `CREATE INDEX CONCURRENTLY` |
|
|
187
|
+
| Gambar tidak dioptimalkan | LCP besar, halaman lambat | Next.js `<Image>`, WebP, lazy loading |
|
|
188
|
+
| Over-fetching | Mengambil objek penuh saat hanya 1 field dibutuhkan | Pilih kolom spesifik |
|
|
189
|
+
| Tanpa paginasi | Mengambil seluruh tabel | Tambahkan `LIMIT/OFFSET` atau cursor pagination |
|
|
190
|
+
| Memblokir thread utama | INP tinggi, UI tidak responsif | `useTransition`, web workers |
|
|
191
|
+
| Tanpa caching | Data yang sama diambil berulang kali | Redis, React Query staleTime, HTTP cache |
|
|
192
|
+
| Bundle membengkak | Payload JS besar | Tree-shaking, code splitting, lazy imports |
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
## Orchestration & Integration
|
|
196
|
+
- Integrates with performance-web-vitals and production-ready-hardener.
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: apple-ecosystem-expert
|
|
3
|
+
description: "Expert guide for Apple Ecosystem development. Covers iOS support, Safari WebKit compatibility, PWAs (Progressive Web Apps) for iOS, and Human Interface Guidelines (HIG) for web and native apps / Panduan ahli pengembangan ekosistem Apple (iOS & Web)."
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Apple Ecosystem Expert — vibes-plug Skill
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
Expert guide for Apple Ecosystem development. Covers Safari WebKit compatibility, Progressive Web Apps (PWAs) tailored for iOS, touch interactions, `manifest.json` configurations, and applying Human Interface Guidelines (HIG) principles to web and iOS applications.
|
|
18
|
+
|
|
19
|
+
### Trigger Conditions
|
|
20
|
+
Activate this skill when the user is:
|
|
21
|
+
- Asking for Safari browser compatibility or fixing WebKit bugs.
|
|
22
|
+
- Developing PWAs or web apps targeting iOS/iPadOS devices.
|
|
23
|
+
- Asking about `apple-touch-icon`, `apple-mobile-web-app-capable`, or related meta tags.
|
|
24
|
+
- Building UI elements that need to look and feel native on Apple devices.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
### Core Concepts
|
|
29
|
+
|
|
30
|
+
#### 1. iOS PWA & Meta Tags
|
|
31
|
+
To ensure a web application looks and acts like a native app on iOS when added to the home screen, include these specific meta tags and configurations:
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
<!-- iOS Safari PWA Meta Tags -->
|
|
35
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
36
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
37
|
+
<meta name="apple-mobile-web-app-title" content="App Title" />
|
|
38
|
+
<link rel="apple-touch-icon" href="/icon-192x192.png" />
|
|
39
|
+
<!-- Support for splash screens requires specific sizes, consider using PWA asset generators -->
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
#### 2. Safari WebKit CSS Quirks
|
|
43
|
+
Safari (WebKit) has distinct behavior for viewport sizing and scrolling.
|
|
44
|
+
|
|
45
|
+
| CSS Feature | WebKit Problem | Solution / Workaround |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `100vh` | Ignores the bottom navigation bar on mobile Safari, causing overflow. | Use `100dvh` (Dynamic Viewport Height) or safe area insets. |
|
|
48
|
+
| Over-scrolling | "Rubber-banding" effect reveals background on scroll limits. | `overscroll-behavior: none;` on `body`. |
|
|
49
|
+
| Safe Area | Notches and Dynamic Islands block content. | Use `env(safe-area-inset-bottom)`, `env(safe-area-inset-top)`. |
|
|
50
|
+
|
|
51
|
+
```css
|
|
52
|
+
/* Example: Handling safe area and dynamic viewport height */
|
|
53
|
+
.container {
|
|
54
|
+
height: 100dvh;
|
|
55
|
+
padding-top: env(safe-area-inset-top);
|
|
56
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
57
|
+
padding-left: env(safe-area-inset-left);
|
|
58
|
+
padding-right: env(safe-area-inset-right);
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### 3. Touch and Interactions
|
|
63
|
+
To achieve native feel on iOS, touch interactions must be smooth. Use CSS properties like `-webkit-tap-highlight-color: transparent;` to remove the default grey tap highlight.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### Best Practices
|
|
68
|
+
|
|
69
|
+
1. **Always use Dynamic Viewports (`dvh`, `svh`, `lvh`):** Standard `vh` in mobile Safari causes layout shifts or hidden content due to the dynamic browser UI.
|
|
70
|
+
2. **Handle Safe Areas:** Utilize CSS `env()` variables to avoid content overlapping with the iOS notch or home indicator.
|
|
71
|
+
3. **Optimized Touch Targets:** Apple HIG dictates a minimum touch target size of 44x44 pt. Ensure buttons are easily clickable.
|
|
72
|
+
4. **PWA Icons and Manifest:** iOS does not fully respect standard `manifest.json` icons; you must provide `<link rel="apple-touch-icon">` explicitly.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
### Common Pitfalls to Avoid
|
|
77
|
+
|
|
78
|
+
| Anti-Pattern | Problem | Correct Approach |
|
|
79
|
+
|---|---|---|
|
|
80
|
+
| Using `100vh` for full screen apps | Bottom content gets hidden under Safari's tab bar. | Use `100dvh`. |
|
|
81
|
+
| Ignoring `-webkit-appearance` | Buttons/inputs look like default iOS forms instead of custom UI. | Set `-webkit-appearance: none;` on form elements. |
|
|
82
|
+
| Relying only on `manifest.json` for PWA icons | iOS won't use them for the "Add to Home Screen" icon. | Include `<link rel="apple-touch-icon" href="...">`. |
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
### Integration with Other Skills (MANDATORY)
|
|
87
|
+
|
|
88
|
+
This skill works best when combined with:
|
|
89
|
+
- `hig` — For detailed implementation of Apple Human Interface Guidelines styling.
|
|
90
|
+
- `mobile-expo-expert` — When building React Native/Expo apps for iOS.
|
|
91
|
+
- `tailwind-expert` — To apply CSS adjustments like `dvh` and safe-areas using Tailwind utility classes.
|
|
92
|
+
- `ui-components-expert` — To ensure UI components are sized correctly for iOS touch targets (44x44).
|
|
93
|
+
|
|
94
|
+
### Referenced By Orchestrators (MANDATORY)
|
|
95
|
+
|
|
96
|
+
This skill should be referenced by the following orchestrators:
|
|
97
|
+
- `brainstorming` — Add to the "Mobile & Web Ecosystems" row in the Skill Integration & Orchestration Matrix
|
|
98
|
+
- `zero-to-prod-orchestrator` — Add to Phase 4 (Frontend Implementation) & Phase 8 (Production Audit)
|
|
99
|
+
- `production-ready-hardener` — Add to Phase 2 (PWA & Compatibility Audit)
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
<a name="bahasa-indonesia"></a>
|
|
104
|
+
## Bahasa Indonesia
|
|
105
|
+
|
|
106
|
+
### Integrasi Orkestrasi
|
|
107
|
+
Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
|
|
108
|
+
|
|
109
|
+
### Deskripsi
|
|
110
|
+
Panduan ahli untuk pengembangan ekosistem Apple. Mencakup kompatibilitas Safari WebKit, Progressive Web Apps (PWA) khusus iOS, interaksi sentuhan, konfigurasi `manifest.json`, dan penerapan prinsip Human Interface Guidelines (HIG) untuk web dan aplikasi iOS.
|
|
111
|
+
|
|
112
|
+
### Kondisi Pemicu
|
|
113
|
+
Aktifkan skill ini ketika pengguna sedang:
|
|
114
|
+
- Menanyakan kompatibilitas browser Safari atau memperbaiki bug WebKit.
|
|
115
|
+
- Mengembangkan PWA atau aplikasi web yang menargetkan perangkat iOS/iPadOS.
|
|
116
|
+
- Menanyakan tentang `apple-touch-icon`, meta tag PWA iOS, atau safe area.
|
|
117
|
+
- Membangun elemen UI agar terlihat dan terasa *native* di ekosistem Apple.
|
|
118
|
+
|
|
119
|
+
### Panduan Singkat
|
|
120
|
+
|
|
121
|
+
Panduan praktis untuk dukungan Ekosistem Apple (iOS & Web):
|
|
122
|
+
|
|
123
|
+
- **[Gunakan `100dvh`]:** Jangan pernah gunakan `100vh` di web app iOS, gunakan `100dvh` (Dynamic Viewport Height) agar tidak tertutup navigation bar Safari.
|
|
124
|
+
- **[Meta Tag PWA Khusus]:** Wajib menggunakan `<link rel="apple-touch-icon">` dan `<meta name="apple-mobile-web-app-capable" content="yes">` agar PWA berjalan optimal saat ditambahkan ke Home Screen.
|
|
125
|
+
- **[Safe Area]:** Terapkan padding `env(safe-area-inset-top)` dsb, untuk menghindari notch (poni) dan Dynamic Island iPhone.
|
|
126
|
+
- **[Touch Targets HIG]:** Area sentuh minimum untuk elemen interaktif di iOS adalah 44x44 points.
|
|
127
|
+
|
|
128
|
+
### Integrasi dengan Skill Lain (WAJIB)
|
|
129
|
+
|
|
130
|
+
Skill ini bekerja paling baik dikombinasikan dengan:
|
|
131
|
+
- `hig` — Untuk menerapkan struktur dan prinsip desain dari Human Interface Guidelines Apple.
|
|
132
|
+
- `mobile-expo-expert` — Jika menggunakan React Native untuk aplikasi iOS.
|
|
133
|
+
- `tailwind-expert` — Mengatur penyesuaian WebKit seperti `dvh` dan safe-areas dengan utility class.
|
|
134
|
+
|
|
135
|
+
### Direferensikan oleh Orchestrator (WAJIB)
|
|
136
|
+
|
|
137
|
+
Skill ini harus direferensikan oleh orchestrator berikut:
|
|
138
|
+
- `brainstorming` — Bagian Mobile & Web Ecosystems.
|
|
139
|
+
- `zero-to-prod-orchestrator` — Fase 4 dan 8 (Kesiapan Produksi).
|
|
140
|
+
- `production-ready-hardener` — Fase 2 (Audit Kompatibilitas Lintas Browser & PWA).
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
## Orchestration & Integration
|
|
144
|
+
- Integrates with: `hig`, `mobile-expo-expert`, `tailwind-expert`, `ui-components-expert`.
|
|
145
|
+
- Orchestrated by: `brainstorming`, `zero-to-prod-orchestrator`, `production-ready-hardener`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: asisten-ramah
|
|
3
3
|
description: "Skill to make Antigravity respond in a friendly manner / Skill untuk membuat Antigravity membalas dengan ramah."
|
|
4
|
-
author: "Roedy Rustam"
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Asisten Ramah / Friendly Assistant
|
|
@@ -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 is a basic example to make Antigravity (me) always respond with a friendly, warm, and polite language style.
|
|
18
21
|
|
|
@@ -29,6 +32,9 @@ Always active for every interaction with the user.
|
|
|
29
32
|
<a name="bahasa-indonesia"></a>
|
|
30
33
|
## Bahasa Indonesia
|
|
31
34
|
|
|
35
|
+
### Integrasi Orkestrasi
|
|
36
|
+
Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
|
|
37
|
+
|
|
32
38
|
### Deskripsi
|
|
33
39
|
Skill ini adalah contoh dasar untuk membuat Antigravity (saya) selalu membalas dengan gaya bahasa tertentu yang ramah dan sopan.
|
|
34
40
|
|