vibes-plug 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  2. package/BLUEPRINT.md +125 -0
  3. package/CHANGELOG.md +195 -0
  4. package/CONTRIBUTING.md +199 -0
  5. package/LICENSE +21 -0
  6. package/README.md +263 -0
  7. package/SECURITY.md +21 -0
  8. package/banner.png +0 -0
  9. package/package.json +25 -0
  10. package/plugin.json +8 -0
  11. package/scripts/update_skills.js +75 -0
  12. package/skills/ai-llm-integration-expert/SKILL.md +162 -0
  13. package/skills/api-design-expert/SKILL.md +310 -0
  14. package/skills/app-analyzer-optimizer/SKILL.md +189 -0
  15. package/skills/asisten_ramah/SKILL.md +41 -0
  16. package/skills/authentication-identity-expert/SKILL.md +45 -0
  17. package/skills/auto-doc-updater/SKILL.md +204 -0
  18. package/skills/bootstrap-to-modern/SKILL.md +87 -0
  19. package/skills/brainstorming/SKILL.md +353 -0
  20. package/skills/bun-runtime-expert/SKILL.md +211 -0
  21. package/skills/ci-cd-devops-architect/SKILL.md +45 -0
  22. package/skills/cloud-hosting-expert/SKILL.md +244 -0
  23. package/skills/coderabbit/SKILL.md +192 -0
  24. package/skills/data-telemetry-expert/SKILL.md +213 -0
  25. package/skills/database-orm-expert/SKILL.md +294 -0
  26. package/skills/design-system-architect/SKILL.md +243 -0
  27. package/skills/e2e-testing-expert/SKILL.md +315 -0
  28. package/skills/event-driven-architect/SKILL.md +81 -0
  29. package/skills/firebase-security-expert/SKILL.md +195 -0
  30. package/skills/fullstack-expert/SKILL.md +202 -0
  31. package/skills/fullstack-expert/references/api_design_guide.md +466 -0
  32. package/skills/fullstack-expert/references/devops_infrastructure.md +477 -0
  33. package/skills/fullstack-expert/references/multi_language_backend.md +528 -0
  34. package/skills/fullstack-expert/references/system_design_patterns.md +358 -0
  35. package/skills/fullstack-expert/scripts/api_contract_validator.py +253 -0
  36. package/skills/fullstack-expert/scripts/architecture_analyzer.py +326 -0
  37. package/skills/gemini-agent-booster/SKILL.md +135 -0
  38. package/skills/global-a11y-i18n-expert/SKILL.md +81 -0
  39. package/skills/go-programming-expert/SKILL.md +295 -0
  40. package/skills/hig/SKILL.md +188 -0
  41. package/skills/js-backend-expert/SKILL.md +192 -0
  42. package/skills/mcp-server-architect/SKILL.md +194 -0
  43. package/skills/mobile-expo-expert/SKILL.md +186 -0
  44. package/skills/monday-design-aesthetic/SKILL.md +67 -0
  45. package/skills/monorepo-architect/SKILL.md +227 -0
  46. package/skills/mpa-orchestrator/SKILL.md +101 -0
  47. package/skills/multi-agent-orchestration/SKILL.md +234 -0
  48. package/skills/multiple-entry-points/SKILL.md +55 -0
  49. package/skills/mvc-expert/SKILL.md +231 -0
  50. package/skills/payment-gateway-expert/SKILL.md +45 -0
  51. package/skills/performance-web-vitals/SKILL.md +332 -0
  52. package/skills/prd-architect/SKILL.md +191 -0
  53. package/skills/production-ready-hardener/SKILL.md +469 -0
  54. package/skills/production-ready-hardener/references/performance_optimization.md +441 -0
  55. package/skills/production-ready-hardener/references/production_checklist.md +161 -0
  56. package/skills/production-ready-hardener/references/security_hardening_guide.md +379 -0
  57. package/skills/production-ready-hardener/scripts/production_readiness_scanner.py +875 -0
  58. package/skills/python-programming-expert/SKILL.md +271 -0
  59. package/skills/realtime-collaboration-expert/SKILL.md +45 -0
  60. package/skills/rust-programming-expert/SKILL.md +235 -0
  61. package/skills/saas-billing/SKILL.md +377 -0
  62. package/skills/saas-multi-tenant/SKILL.md +237 -0
  63. package/skills/saas-mvp-launcher/SKILL.md +231 -0
  64. package/skills/saas-transformer/SKILL.md +446 -0
  65. package/skills/saas-transformer/references/billing_integration_guide.md +401 -0
  66. package/skills/saas-transformer/references/feature_gating_patterns.md +137 -0
  67. package/skills/saas-transformer/references/saas_transformation_checklist.md +121 -0
  68. package/skills/saas-transformer/scripts/saas_transformation_scanner.py +254 -0
  69. package/skills/scalability-clean-code/SKILL.md +229 -0
  70. package/skills/secure-fuzz-testing/SKILL.md +201 -0
  71. package/skills/senior-frontend/SKILL.md +161 -0
  72. package/skills/senior-frontend/references/frontend_best_practices.md +806 -0
  73. package/skills/senior-frontend/references/nextjs_optimization_guide.md +724 -0
  74. package/skills/senior-frontend/references/react_patterns.md +746 -0
  75. package/skills/senior-frontend/scripts/bundle_analyzer.py +407 -0
  76. package/skills/senior-frontend/scripts/component_generator.py +329 -0
  77. package/skills/senior-frontend/scripts/frontend_scaffolder.py +1005 -0
  78. package/skills/senior-fullstack/SKILL.md +167 -0
  79. package/skills/senior-fullstack/references/architecture_patterns.md +160 -0
  80. package/skills/senior-fullstack/references/development_workflows.md +222 -0
  81. package/skills/senior-fullstack/references/tech_stack_guide.md +190 -0
  82. package/skills/senior-fullstack/scripts/code_quality_analyzer.py +114 -0
  83. package/skills/senior-fullstack/scripts/fullstack_scaffolder.py +114 -0
  84. package/skills/senior-fullstack/scripts/project_scaffolder.py +114 -0
  85. package/skills/seo/SKILL.md +225 -0
  86. package/skills/seo/references/cwv-thresholds.md +108 -0
  87. package/skills/seo/references/eeat-framework.md +214 -0
  88. package/skills/seo/references/quality-gates.md +155 -0
  89. package/skills/seo/references/schema-types.md +118 -0
  90. package/skills/seo-aeo-landing-page-writer/SKILL.md +97 -0
  91. package/skills/seo-geo/SKILL.md +188 -0
  92. package/skills/session-handoff-resume/SKILL.md +158 -0
  93. package/skills/skill_baru/SKILL.md +147 -0
  94. package/skills/spa-orchestrator/SKILL.md +288 -0
  95. package/skills/state-management-expert/SKILL.md +272 -0
  96. package/skills/supabase-migration/SKILL.md +45 -0
  97. package/skills/supabase-security-expert/SKILL.md +243 -0
  98. package/skills/tailwind-expert/SKILL.md +188 -0
  99. package/skills/tanstack-query-expert/SKILL.md +199 -0
  100. package/skills/tauri-expert/SKILL.md +97 -0
  101. package/skills/token-saver/SKILL.md +111 -0
  102. package/skills/typescript-expert/SKILL.md +279 -0
  103. package/skills/ui-components-expert/SKILL.md +63 -0
  104. package/skills/ui-ux-pro-max/SKILL.md +201 -0
  105. package/skills/ui-ux-pro-max/data/charts.csv +26 -0
  106. package/skills/ui-ux-pro-max/data/colors.csv +97 -0
  107. package/skills/ui-ux-pro-max/data/icons.csv +101 -0
  108. package/skills/ui-ux-pro-max/data/landing.csv +31 -0
  109. package/skills/ui-ux-pro-max/data/products.csv +97 -0
  110. package/skills/ui-ux-pro-max/data/prompts.csv +24 -0
  111. package/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  112. package/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  113. package/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  114. package/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  115. package/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  116. package/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  117. package/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  118. package/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  119. package/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  120. package/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  121. package/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  122. package/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  123. package/skills/ui-ux-pro-max/data/styles.csv +59 -0
  124. package/skills/ui-ux-pro-max/data/typography.csv +58 -0
  125. package/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  126. package/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  127. package/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  128. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
  129. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
  130. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
  131. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
  132. package/skills/ui-ux-pro-max/scripts/core.py +257 -0
  133. package/skills/ui-ux-pro-max/scripts/design_system.py +493 -0
  134. package/skills/ui-ux-pro-max/scripts/search.py +81 -0
  135. package/skills/ui_ux_expert/SKILL.md +114 -0
  136. package/skills/vibe-code-gardener/SKILL.md +173 -0
  137. package/skills/web-scraper/SKILL.md +205 -0
  138. package/skills/web-scraper/references/data-transforms.md +397 -0
  139. package/skills/web-scraper/references/extraction-patterns.md +475 -0
  140. package/skills/web-scraper/references/output-templates.md +481 -0
  141. package/skills/zero-to-prod-orchestrator/SKILL.md +180 -0
@@ -0,0 +1,204 @@
1
+ ---
2
+ name: auto-doc-updater
3
+ description: "Automatically documents every feature change or bug fix successfully built into CHANGELOG.md and BLUEPRINT.md / Otomatis mendokumentasikan setiap perubahan fitur atau perbaikan bug yang berhasil di-build ke CHANGELOG.md dan BLUEPRINT.md."
4
+ author: "Roedy Rustam"
5
+ ---
6
+
7
+ # Auto Documentation Updater (2026 — ADR Edition)
8
+
9
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
+
11
+ ---
12
+
13
+ <a name="english"></a>
14
+ ## English
15
+
16
+ ### Description
17
+ Automatically maintains project documentation after every successful build or feature implementation. Updates `CHANGELOG.md`, `BLUEPRINT.md`, and introduces **Architecture Decision Records (ADRs)** — immutable records of key architectural decisions made throughout the project lifecycle.
18
+
19
+ ### Trigger Conditions
20
+ - A feature, bug fix, or refactor has been successfully implemented and verified.
21
+ - The user asks to "update docs", "document this", or "save progress".
22
+ - After completing a phase in `zero-to-prod-orchestrator`.
23
+ - A significant architectural decision was made (DB choice, auth flow, API design).
24
+
25
+ ### Files Maintained
26
+
27
+ | File | Purpose | Update Frequency |
28
+ |---|---|---|
29
+ | `CHANGELOG.md` | User-facing list of changes | Every PR / feature |
30
+ | `BLUEPRINT.md` | Technical architecture overview | Major structural changes |
31
+ | `PROGRESS.md` | Development roadmap and status | Each work session |
32
+ | `docs/adr/` | Architecture Decision Records | Each key decision |
33
+
34
+ ### CHANGELOG.md Format (Keep-a-Changelog Standard)
35
+ ```markdown
36
+ # Changelog
37
+ All notable changes to this project will be documented in this file.
38
+ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
39
+
40
+ ## [Unreleased]
41
+ ### Added
42
+ - New feature or capability
43
+
44
+ ## [1.2.0] — 2026-07-29
45
+ ### Added
46
+ - Super Admin dashboard on `admin.domain.com` with tenant management
47
+ - Polar.sh billing integration as alternative to Stripe
48
+ - `spa-orchestrator` skill for SPA architecture decisions
49
+
50
+ ### Changed
51
+ - Upgraded React to 19.x with new Compiler (removes need for useMemo/useCallback)
52
+ - Migrated from `tailwind.config.js` to CSS-first `@theme` configuration (Tailwind v4)
53
+
54
+ ### Fixed
55
+ - N+1 query issue in workspace members list endpoint
56
+ - Memory leak in WebSocket connection cleanup
57
+
58
+ ### Security
59
+ - Upgraded Supabase client to Auth v3 with PKCE flow (replaces implicit flow)
60
+ - Service role key moved out of client-side code
61
+
62
+ ## [1.1.0] — 2026-06-15
63
+ ### Added
64
+ ...
65
+ ```
66
+
67
+ ### BLUEPRINT.md Structure
68
+ ```markdown
69
+ # [Project Name] — Technical Blueprint
70
+
71
+ ## Architecture Overview
72
+ [High-level diagram or description]
73
+
74
+ ## Tech Stack
75
+ | Layer | Technology | Version |
76
+ |---|---|---|
77
+ | Frontend | Next.js | 15.x |
78
+ | Backend | Hono | latest |
79
+ | Database | PostgreSQL + Drizzle | — |
80
+ | Auth | Supabase Auth | v3 |
81
+
82
+ ## Entry Points
83
+ | URL | Purpose |
84
+ |---|---|
85
+ | `domain.com` | Marketing/Landing |
86
+ | `app.domain.com` | SaaS App |
87
+ | `admin.domain.com` | Super Admin |
88
+
89
+ ## Database Schema (Summary)
90
+ [Key tables and relationships]
91
+
92
+ ## API Endpoints (Summary)
93
+ [Key routes and their purposes]
94
+
95
+ ## Environment Variables Required
96
+ [List of all required env vars]
97
+ ```
98
+
99
+ ### Architecture Decision Records (ADRs)
100
+
101
+ ADRs are **immutable records** of significant architectural decisions. Once created, they are never deleted — only superseded by a new ADR. This creates a historical audit trail of *why* the system is built the way it is.
102
+
103
+ #### ADR Template (`docs/adr/ADR-NNN-title.md`)
104
+ ```markdown
105
+ # ADR-001: Use Supabase for Authentication and Database
106
+
107
+ **Status**: Accepted
108
+ **Date**: 2026-07-29
109
+ **Deciders**: [Team/Individual]
110
+
111
+ ## Context
112
+ [What is the situation that motivated this decision? What forces are at play?]
113
+
114
+ We need a database + authentication solution for our SaaS MVP that can be
115
+ delivered quickly without managing infrastructure.
116
+
117
+ ## Decision
118
+ We will use Supabase as our primary backend-as-a-service, providing:
119
+ - PostgreSQL database with Row Level Security (RLS)
120
+ - Auth v3 with PKCE flow (OAuth, magic links, MFA)
121
+ - Realtime subscriptions
122
+ - Storage for user-uploaded files
123
+
124
+ ## Rationale
125
+ - Faster time-to-market than self-hosted Postgres + separate auth service
126
+ - Built-in RLS for multi-tenant isolation without custom middleware
127
+ - Open-source — can self-host later if needed
128
+ - Strong TypeScript SDK with auto-generated types
129
+
130
+ ## Consequences
131
+ **Positive:**
132
+ - No auth infrastructure to manage
133
+ - RLS enforced at DB level — defense in depth
134
+
135
+ **Negative:**
136
+ - Vendor dependency — migration would require significant refactor
137
+ - RLS requires careful testing to avoid data leakage bugs
138
+
139
+ ## Superseded By
140
+ [ADR-XXX: Migrated to self-hosted Supabase] (if applicable)
141
+ ```
142
+
143
+ #### ADR Index (`docs/adr/README.md`)
144
+ ```markdown
145
+ # Architecture Decision Records
146
+
147
+ | # | Title | Status | Date |
148
+ |---|---|---|---|
149
+ | [ADR-001](./ADR-001-supabase-auth.md) | Use Supabase for Auth + DB | ✅ Accepted | 2026-07-29 |
150
+ | [ADR-002](./ADR-002-polar-billing.md) | Use Polar.sh for billing | ✅ Accepted | 2026-07-29 |
151
+ | [ADR-003](./ADR-003-rls-isolation.md) | Shared Schema + RLS for multi-tenancy | ✅ Accepted | 2026-08-01 |
152
+ | [ADR-004](./ADR-004-ssr-vs-spa.md) | Next.js SSR for main app, SPA for admin | 🔄 Proposed | 2026-08-05 |
153
+ ```
154
+
155
+ ### Update Protocol
156
+ After every successful feature implementation:
157
+ 1. **CHANGELOG.md**: Add entry under `[Unreleased]` with correct category (Added/Changed/Fixed/Security).
158
+ 2. **BLUEPRINT.md**: Update only if schema, stack, or entry points changed.
159
+ 3. **PROGRESS.md**: Mark completed tasks `[x]`, update next steps.
160
+ 4. **ADR**: Create a new ADR if a significant architectural decision was made (DB choice, auth flow, billing provider, deployment strategy, isolation strategy).
161
+
162
+ ---
163
+
164
+ <a name="bahasa-indonesia"></a>
165
+ ## Bahasa Indonesia
166
+
167
+ ### Deskripsi
168
+ Secara otomatis memelihara dokumentasi proyek setelah setiap build atau implementasi fitur yang berhasil. Memperbarui `CHANGELOG.md`, `BLUEPRINT.md`, dan memperkenalkan **Architecture Decision Records (ADR)** — catatan permanen dari keputusan arsitektur kunci yang dibuat sepanjang siklus hidup proyek.
169
+
170
+ ### Kondisi Pemicu
171
+ - Sebuah fitur, perbaikan bug, atau refactor berhasil diimplementasikan dan diverifikasi.
172
+ - Pengguna meminta "perbarui docs", "dokumentasikan ini", atau "simpan progres".
173
+ - Setelah menyelesaikan fase dalam `zero-to-prod-orchestrator`.
174
+ - Keputusan arsitektur signifikan dibuat (pilihan DB, alur auth, desain API).
175
+
176
+ ### File yang Dipelihara
177
+
178
+ | File | Tujuan | Frekuensi Pembaruan |
179
+ |---|---|---|
180
+ | `CHANGELOG.md` | Daftar perubahan untuk pengguna | Setiap PR / fitur |
181
+ | `BLUEPRINT.md` | Gambaran arsitektur teknis | Perubahan struktural besar |
182
+ | `PROGRESS.md` | Roadmap dan status pengembangan | Setiap sesi kerja |
183
+ | `docs/adr/` | Architecture Decision Records | Setiap keputusan kunci |
184
+
185
+ ### Format CHANGELOG.md (Standar Keep-a-Changelog)
186
+ Gunakan kategori: `Added`, `Changed`, `Fixed`, `Removed`, `Security`. Simpan versi yang belum dirilis di bagian `[Unreleased]` dan turunkan ke versi bernama saat rilis.
187
+
188
+ ### Struktur BLUEPRINT.md
189
+ Ringkasan arsitektur teknis termasuk: stack teknologi dengan versi, entry points (URL), skema database (ringkasan), endpoint API kunci, dan variabel lingkungan yang diperlukan.
190
+
191
+ ### Architecture Decision Records (ADR)
192
+
193
+ ADR adalah **catatan permanen** dari keputusan arsitektur yang signifikan. Setelah dibuat, tidak pernah dihapus — hanya digantikan oleh ADR baru. Ini menciptakan jejak audit historis tentang *mengapa* sistem dibangun seperti yang ada.
194
+
195
+ Setiap ADR mencakup: Konteks (situasi yang memotivasi keputusan), Keputusan (apa yang diputuskan), Rasional (mengapa), Konsekuensi (positif dan negatif), dan Digantikan Oleh (jika berlaku).
196
+
197
+ Kelola ADR dengan indeks di `docs/adr/README.md` yang mencantumkan semua ADR dengan status (Diterima, Ditolak, Diusulkan, Usang).
198
+
199
+ ### Protokol Pembaruan
200
+ Setelah setiap implementasi fitur yang berhasil:
201
+ 1. **CHANGELOG.md**: Tambahkan entri di `[Unreleased]` dengan kategori yang benar.
202
+ 2. **BLUEPRINT.md**: Perbarui hanya jika skema, stack, atau entry points berubah.
203
+ 3. **PROGRESS.md**: Tandai tugas selesai `[x]`, perbarui langkah selanjutnya.
204
+ 4. **ADR**: Buat ADR baru jika keputusan arsitektur signifikan dibuat.
@@ -0,0 +1,87 @@
1
+ ---
2
+ name: bootstrap-to-modern
3
+ description: "Expert skill to refactor and migrate legacy Bootstrap CSS applications to modern stacks using Tailwind CSS v4 and Alpine.js / Skill ahli untuk melakukan refaktor dan migrasi aplikasi Bootstrap CSS lama ke stack modern menggunakan Tailwind CSS v4 dan Alpine.js."
4
+ author: "Roedy Rustam"
5
+ ---
6
+
7
+ # Bootstrap to Modern (Tailwind + Alpine.js) / Refaktor Bootstrap ke Modern
8
+
9
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
+
11
+ ---
12
+
13
+ <a name="english"></a>
14
+ ## English
15
+
16
+ ### Description
17
+ This skill transforms legacy web applications styled with Bootstrap (jQuery-dependent or pure CSS) into a modern, utility-first architecture using **Tailwind CSS v4** for styling and **Alpine.js** for lightweight reactive behavior.
18
+
19
+ ### Instructions
20
+ 1. **Analyze the Legacy Structure**:
21
+ - Identify the version of Bootstrap being used.
22
+ - Locate custom CSS files that override Bootstrap defaults.
23
+ - Identify interactive components (modals, dropdowns, tooltips, tabs, carousels) that rely on Bootstrap's JavaScript or jQuery.
24
+ 2. **Setup Modern Tools**:
25
+ - Ensure **Tailwind CSS v4** is properly set up in the project (e.g., via CDN for simple projects, or PostCSS/Vite for build steps).
26
+ - Inject **Alpine.js** via CDN or module bundler to handle interactivity.
27
+ 3. **Migration Strategy**:
28
+ - **Grid & Layout**: Convert Bootstrap grids (`container`, `row`, `col-*`) to Tailwind flexbox (`flex`, `flex-col`, `gap-*`) or CSS Grid (`grid`, `grid-cols-*`).
29
+ - **Spacing & Typography**: Map Bootstrap spacing (`m-3`, `p-4`) to Tailwind spacing (`m-4`, `p-6`—noting scale differences). Map typography utilities (`text-center`, `font-weight-bold`) to Tailwind equivalents (`text-center`, `font-bold`).
30
+ - **Colors**: Update Bootstrap semantic colors (`primary`, `success`, `danger`) to Tailwind color palettes (e.g., `blue-600`, `green-500`, `red-500`) or define custom themes in CSS variables for Tailwind v4.
31
+ - **Components**: Rebuild Bootstrap components (cards, buttons, alerts, navbars) using Tailwind utility classes to match or improve the original design.
32
+ 4. **Interactivity with Alpine.js**:
33
+ - Remove jQuery and Bootstrap JS dependencies.
34
+ - Replace interactive Bootstrap components with Alpine.js data and directives.
35
+ - **Dropdowns**: Use `x-data="{ open: false }"` and `@click="open = !open"`.
36
+ - **Modals**: Use Alpine.js to manage the open state and handle background overlays and click-away events (`@click.outside`).
37
+ - **Tabs**: Manage active tab state with `x-data="{ tab: 'home' }"`.
38
+ 5. **UI/UX Modernization & Skill Integration**:
39
+ - Do NOT just do a 1:1 translation of Bootstrap classes. The goal is to elevate the design.
40
+ - You MUST orchestrate and apply guidelines from other UI/UX skills (`ui_ux_expert`, `ui-ux-pro-max`, and `hig`).
41
+ - Implement Human Interface Guidelines (HIG) principles: Hierarchy, Harmony, and Consistency.
42
+ - Use vibrant colors, smooth micro-animations, glassmorphism (if appropriate), and modern typography to "WOW" the user.
43
+ 6. **Quality Assurance**:
44
+ - Verify that responsive design behaves correctly across breakpoints (`sm:`, `md:`, `lg:`).
45
+ - Ensure interactive components (modals, dropdowns) feel premium with Alpine.js transitions (`x-transition`).
46
+
47
+ ### Trigger Conditions
48
+ Active whenever the user asks to migrate, refactor, or update a Bootstrap project to Tailwind CSS, or modernize legacy CSS/JS.
49
+
50
+ ---
51
+
52
+ <a name="bahasa-indonesia"></a>
53
+ ## Bahasa Indonesia
54
+
55
+ ### Deskripsi
56
+ Skill ini mengubah aplikasi web lama yang di-style dengan Bootstrap (baik yang bergantung pada jQuery maupun murni CSS) menjadi arsitektur modern berbasis utility menggunakan **Tailwind CSS v4** untuk styling dan **Alpine.js** untuk behavior reaktif yang ringan.
57
+
58
+ ### Instruksi
59
+ 1. **Analisis Struktur Lama**:
60
+ - Identifikasi versi Bootstrap yang digunakan.
61
+ - Temukan file CSS kustom yang menimpa (override) default Bootstrap.
62
+ - Identifikasi komponen interaktif (modal, dropdown, tooltip, tab, carousel) yang mengandalkan JavaScript Bootstrap atau jQuery.
63
+ 2. **Setup Tools Modern**:
64
+ - Pastikan **Tailwind CSS v4** disiapkan dengan benar di proyek (misalnya, melalui CDN untuk proyek sederhana, atau PostCSS/Vite jika ada build step).
65
+ - Masukkan **Alpine.js** melalui CDN atau module bundler untuk menangani interaktivitas.
66
+ 3. **Strategi Migrasi**:
67
+ - **Grid & Layout**: Ubah grid Bootstrap (`container`, `row`, `col-*`) menjadi flexbox Tailwind (`flex`, `flex-col`, `gap-*`) atau CSS Grid (`grid`, `grid-cols-*`).
68
+ - **Spacing & Tipografi**: Petakan spasi Bootstrap (`m-3`, `p-4`) ke Tailwind (`m-4`, `p-6`—perhatikan perbedaan skala). Petakan utilitas teks (`text-center`, `font-weight-bold`) ke padanan Tailwind (`text-center`, `font-bold`).
69
+ - **Warna**: Perbarui warna semantik Bootstrap (`primary`, `success`, `danger`) ke palet warna Tailwind (misal: `blue-600`, `green-500`, `red-500`) atau definisikan tema kustom di variabel CSS untuk Tailwind v4.
70
+ - **Komponen**: Bangun ulang komponen Bootstrap (card, button, alert, navbar) menggunakan kelas utilitas Tailwind untuk mencocokkan atau memperbaiki desain aslinya.
71
+ 4. **Interaktivitas dengan Alpine.js**:
72
+ - Hapus dependensi jQuery dan Bootstrap JS.
73
+ - Ganti komponen interaktif Bootstrap dengan data dan direktif Alpine.js.
74
+ - **Dropdown**: Gunakan `x-data="{ open: false }"` dan `@click="open = !open"`.
75
+ - **Modal**: Gunakan Alpine.js untuk mengelola state terbuka, overlay latar belakang, dan event klik di luar (`@click.outside`).
76
+ - **Tab**: Kelola state tab aktif dengan `x-data="{ tab: 'home' }"`.
77
+ 5. **Modernisasi UI/UX & Integrasi Skill**:
78
+ - JANGAN hanya menerjemahkan kelas Bootstrap 1:1. Tujuannya adalah meningkatkan kualitas desain.
79
+ - Anda WAJIB mengorkestrasi dan menerapkan pedoman dari skill UI/UX lainnya (`ui_ux_expert`, `ui-ux-pro-max`, dan `hig`).
80
+ - Terapkan prinsip Human Interface Guidelines (HIG): Hierarchy, Harmony, dan Consistency.
81
+ - Gunakan warna cerah, mikro-animasi halus, glassmorphism (jika sesuai), dan tipografi modern untuk memberikan kesan "WOW" pada pengguna.
82
+ 6. **Quality Assurance**:
83
+ - Verifikasi bahwa desain responsif berfungsi dengan benar di semua breakpoint (`sm:`, `md:`, `lg:`).
84
+ - Pastikan komponen interaktif (modal, dropdown) terasa premium dengan transisi Alpine.js (`x-transition`).
85
+
86
+ ### Kondisi Pemicu
87
+ Aktif setiap kali pengguna meminta untuk memigrasi, merefaktor, atau memperbarui proyek Bootstrap ke Tailwind CSS, atau memodernisasi CSS/JS lama.
@@ -0,0 +1,353 @@
1
+ ---
2
+ name: brainstorming
3
+ description: "Master ideation protocol & architectural orchestrator with Modern Web Guidance. Validates design ideas and orchestrates all specialized vibes-plug skills before coding begins / Protokol ideasi utama & orkestrator arsitektur dengan Modern Web Guidance. Memvalidasi ide desain dan mengorkestrasi seluruh skill vibes-plug sebelum pengkodean dimulai."
4
+ author: "Roedy Rustam"
5
+ ---
6
+
7
+ # Brainstorming & Skill Orchestration Protocol
8
+
9
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
+
11
+ ---
12
+
13
+ <a name="english"></a>
14
+ ## English
15
+
16
+ ### Purpose & Overview
17
+ Turn raw ideas into **clear, validated designs, architectural specifications, and execution roadmaps** through structured dialogue **before any implementation begins**.
18
+
19
+ As the **Master Architectural Orchestrator**, `brainstorming` not only refines products and technical designs but also **maps out and delegates responsibility to all specialized skills** across the `vibes-plug` ecosystem (frontend, backend, AI/LLM, databases, security, SaaS, SEO, testing, and DevOps).
20
+
21
+ This skill exists to prevent:
22
+ - Premature implementation and code bloat
23
+ - Hidden assumptions and unconfirmed technical boundaries
24
+ - Architecture decay and non-scalable design patterns
25
+ - Fragile web/mobile systems, security gaps, and performance regressions
26
+ - Over-engineering before establishing product-market fit
27
+
28
+ > ⚠️ **Hard Constraint:** You are **not allowed** to write code or modify source code while `brainstorming` mode is active. Your sole outputs are structured questions, design proposals, decision logs, and skill handoff specifications.
29
+
30
+ ---
31
+
32
+ ### Skill Integration & Orchestration Matrix
33
+
34
+ During brainstorming, consult, reference, and orchestrate the following specialized skills based on project requirements:
35
+
36
+ | Domain / Phase | Orchestrated Skills | Trigger & Delegation Context |
37
+ | :--- | :--- | :--- |
38
+ | **Discovery & Audit** | `prd-architect`, `app-analyzer-optimizer`, `web-scraper` | Formulate formal PRD, audit existing codebases, or scrape reference products for feature benchmark. |
39
+ | **UI/UX & Design Systems** | `design-system-architect`, `hig`, `ui-ux-pro-max`, `ui-ux-expert`, `tailwind-expert`, `bootstrap-to-modern` | Design tokens (OKLCH), Tailwind CSS v4, Apple HIG principles, layout hierarchy, modernizing legacy Bootstrap apps. |
40
+ | **Frontend Frameworks** | `senior-frontend`, `tanstack-query-expert`, `global-a11y-i18n-expert`, `state-management-expert` | React 19 / Next.js 15 App Router (RSC, PPR), async state management (Zustand/Jotai), WCAG 2.2 a11y, multi-language i18n. |
41
+ | **Mobile & Desktop** | `mobile-expo-expert`, `tauri-expert` | Cross-platform React Native / Expo Router v4 mobile apps or Rust-powered Tauri v2 desktop applications. |
42
+ | **Backend & Runtimes** | `js-backend-expert`, `python-programming-expert`, `go-programming-expert`, `rust-programming-expert`, `bun-runtime-expert`, `mvc-expert`, `fullstack-expert`, `senior-fullstack` | API design (REST/gRPC/GraphQL/tRPC), Node.js 22, Bun 1.2+, FastAPI 0.115+, Go 1.24+ microservices, Rust Axum, legacy PHP MVC refactoring. |
43
+ | **API Design & Contracts** | `api-design-expert`, `typescript-expert` | REST best practices, GraphQL schema, gRPC/protobuf, tRPC end-to-end type safety, OpenAPI 3.1 documentation, rate limiting, idempotency, versioning strategy. |
44
+ | **Database & ORM** | `database-orm-expert`, `supabase-migration`, `supabase-security-expert`, `firebase-security-expert`, `secure-fuzz-testing` | Prisma 6 / Drizzle ORM schema design, relational migrations, query optimization, Supabase RLS policies, Firebase App Check & security rules. |
45
+ | **Architecture & Scale** | `monorepo-architect`, `event-driven-architect`, `multiple-entry-points`, `mpa-orchestrator`, `spa-orchestrator`, `scalability-clean-code` | Monorepos (Turborepo/pnpm), microservices, event queues, multi-entry apps, MPA & SPA setups, clean code principles. |
46
+ | **AI & LLM Integration** | `ai-llm-integration-expert`, `mcp-server-architect`, `multi-agent-orchestration`, `gemini-agent-booster` | RAG pipelines, Vercel AI SDK, MCP Server tool architectures (MCP v1.9+), stateful LangGraph multi-agent workflows, OpenAI Agents SDK, Google ADK, Gemini Agent long-context reasoning. |
47
+ | **SaaS & Multi-Tenancy** | `saas-mvp-launcher`, `saas-transformer`, `saas-multi-tenant`, `saas-billing` | SaaS MVP roadmap, RLS tenant isolation, Stripe/Polar.sh billing, converting apps to multi-tenant SaaS platforms. **Always enforce Super Admin dashboard on a separate subdomain** (e.g., `admin.example.com`). |
48
+ | **Testing & Quality** | `e2e-testing-expert`, `vibe-code-gardener`, `coderabbit` | Playwright E2E suites, Vitest unit tests, purging AI slop/code rot, automated code review guidelines. |
49
+ | **Performance** | `performance-web-vitals` | Core Web Vitals (LCP, INP, CLS), bundle optimization, image/font loading, React concurrent features, Lighthouse score improvement. |
50
+ | **SEO, GEO & Telemetry** | `seo`, `seo-geo`, `seo-aeo-landing-page-writer`, `data-telemetry-expert` | Technical SEO audits, Generative Engine Optimization (AI Overviews, `/llms.txt`), AEO landing pages, OpenTelemetry/PostHog analytics. |
51
+ | **Execution Handoff** | `zero-to-prod-orchestrator`, `production-ready-hardener`, `auto-doc-updater`, `session-handoff-resume`, `token-saver` | Handing off validated designs to 8-phase production pipeline, pre-launch hardening, continuous docs logging (`CHANGELOG.md`), token efficiency. |
52
+
53
+ ---
54
+
55
+ ### Operating Mode
56
+ You operate as a **Principal Web Architect, Design Facilitator, and Skill Orchestrator**.
57
+ - No creative implementation during ideation
58
+ - No speculative features without user confirmation
59
+ - No silent assumptions — log and verify every default
60
+ - No skipping hard gates
61
+
62
+ Your job is to **slow the process down just enough to get the architecture and skill plan right**.
63
+
64
+ ---
65
+
66
+ ### The 8-Step Integrated Orchestration Pipeline
67
+
68
+ ```
69
+ STEP 1 STEP 2 STEP 3 STEP 4
70
+ Context Discovery ---> Product Ideation ---> Modern Stack & NFRs ---> Understanding Lock
71
+ (Audit Skills) (Socratic Q&A) (Domain Skills) (Hard Gate)
72
+ | |
73
+ v v
74
+ STEP 8 STEP 7 STEP 6 STEP 5
75
+ Skill Execution <--- Decision Log & Docs <--- Design Presentation <--- Design Exploration
76
+ (Handoff Pipeline) (BLUEPRINT.md) (Incremental UX/DX) (Multi-Skill Design)
77
+ ```
78
+
79
+ #### Step 1️⃣: Context Discovery & Project Audit (Mandatory First Step)
80
+ Before asking any questions, inspect the environment:
81
+ - Audit existing project files, tech stack, ORM schemas, and current architecture.
82
+ - Delegate diagnostic checks to:
83
+ - `app-analyzer-optimizer` to inspect architectural bottlenecks or existing technical debt.
84
+ - `prd-architect` if a Product Requirements Document already exists or needs updating.
85
+ - `web-scraper` if analyzing competitor solutions or external API specs.
86
+ - Identify implicit constraints and note missing requirements.
87
+
88
+ #### Step 2️⃣: Product Ideation (One Question at a Time)
89
+ Your goal is **shared clarity**, not speed.
90
+ - Ask **one targeted question per turn**.
91
+ - Prefer **multiple-choice options** to accelerate alignment.
92
+ - Clarify core user flows, target audience, primary platforms, and non-goals.
93
+
94
+ #### Step 3️⃣: Modern Web & Stack Non-Functional Requirements (NFR Mapping)
95
+ Explicitly clarify or propose assumptions for modern web & software pillars, invoking specialized domain skills for each:
96
+ - **Performance & Web Vitals:** `senior-frontend` (Core Web Vitals, payload budgets, Turbopack).
97
+ - **Architecture & Framework:** `senior-frontend` / `mvc-expert` (React 19, Next.js 15 PPR/RSC, Islands, SPA).
98
+ - **Design System & UI/UX:** `design-system-architect`, `hig`, `ui-ux-pro-max`, `tailwind-expert`.
99
+ - **Backend & APIs:** `js-backend-expert` / `python-programming-expert` / `go-programming-expert` / `rust-programming-expert`.
100
+ - **Data Mutation & DB:** `supabase-migration` / `supabase-security-expert` (Server Actions, REST, Drizzle/Prisma, RLS policies).
101
+ - **AI & Intelligent Systems:** `ai-llm-integration-expert`, `mcp-server-architect`, `multi-agent-orchestration`.
102
+ - **SaaS Architecture:** `saas-multi-tenant`, `saas-billing`.
103
+ - **Mobile & Desktop Targets:** `mobile-expo-expert`, `tauri-expert`.
104
+ - **Accessibility & i18n:** `global-a11y-i18n-expert` (WCAG 2.2 AAA, aria tags, locale routing).
105
+ - **SEO & Discovery:** `seo`, `seo-geo` (AI Overviews, Schema.org JSON-LD, `/llms.txt`).
106
+
107
+ If the user is uncertain, propose modern defaults (e.g. Next.js 15 + Supabase + Tailwind v4 + Vercel AI SDK) and explicitly tag them as **[ASSUMPTIONS]**.
108
+
109
+ #### Step 4️⃣: Understanding Lock (Hard Gate)
110
+ Pause and present a summary before proposing any design:
111
+ 1. **Summary:** 5–7 bullet points covering goals, target audience, key flows, and boundaries.
112
+ 2. **Assumptions:** Explicit list of technical defaults and NFR choices.
113
+ 3. **Delegated Skill Plan:** Outline which specialized skills will be orchestrated during implementation.
114
+ 4. **Open Questions:** Any unresolved items.
115
+
116
+ Ask:
117
+ > *"Does this accurately reflect your vision? Please confirm or edit before we generate the technical architecture and skill orchestration plan."*
118
+
119
+ **Do NOT proceed until explicit confirmation is given.**
120
+
121
+ #### Step 5️⃣: Architectural & Multi-Skill Design Exploration
122
+ Once confirmed, present **2–3 viable design approaches**:
123
+ - Lead with your recommended option.
124
+ - Highlight DX vs UX trade-offs, scalability boundaries, infrastructure cost, and bundle size.
125
+ - Specify how specialized skills will execute each layer (e.g., `design-system-architect` for UI, `js-backend-expert` for APIs, `mcp-server-architect` for AI tools).
126
+
127
+ #### Step 6️⃣: Incremental Design Presentation
128
+ Present the finalized design in short sections (200–300 words max):
129
+ - **System Architecture & Boundaries:** Component tree, server/client boundaries, monorepo structure.
130
+ - **Data Flow & Mutation:** RSC fetching, Server Actions, state management (TanStack Query / Zustand).
131
+ - **Security & Multi-Tenancy:** RLS policy design, auth flows, rate limiting.
132
+ - **AI Agent & Tooling:** MCP server tools, streaming UI architecture.
133
+ - **Testing & Telemetry Plan:** Playwright E2E, Vitest, OpenTelemetry points.
134
+
135
+ Ask after each section: *"Does this alignment look right so far?"*
136
+
137
+ #### Step 7️⃣: Decision Log & Design Document Artifact
138
+ Produce a full **Design Document** and persist it to `DESIGN.md` or `BLUEPRINT.md`:
139
+
140
+ ```markdown
141
+ # [Project Name] — Design & Skill Orchestration Document
142
+
143
+ ## 1. Understanding Summary
144
+ - Core Goal, Audience, User Flows, Non-Goals
145
+
146
+ ## 2. Technical Architecture & Skill Delegation
147
+ - Rendering & Framework (`senior-frontend` / `mobile-expo-expert`)
148
+ - API & Microservices (`js-backend-expert` / `go-programming-expert`)
149
+ - Database & Security (`supabase-migration` / `supabase-security-expert`)
150
+ - AI & LLM Systems (`ai-llm-integration-expert` / `mcp-server-architect`)
151
+ - SaaS & Billing (`saas-multi-tenant` / `saas-billing`)
152
+
153
+ ## 3. Component & UI Architecture
154
+ - Design System (`design-system-architect`, `tailwind-expert`)
155
+ - RSC vs Client boundaries
156
+
157
+ ## 4. Decision Log
158
+ | # | Decision | Alternatives Considered | Rationale & Modern Web Principle | Orchestrated Skill |
159
+ |---|----------|-------------------------|----------------------------------|-------------------|
160
+ | 1 | ... | ... | ... | ... |
161
+
162
+ ## 5. Risk Assessment & Mitigation
163
+ - Identified bottlenecks, security bounds, cost estimates
164
+ ```
165
+
166
+ #### Step 8️⃣: Skill Execution Handoff Pipeline (Orchestration Transition)
167
+ After documentation is complete, initiate the handoff:
168
+ - Trigger `zero-to-prod-orchestrator` to launch the 8-phase development roadmap.
169
+ - Invoke `auto-doc-updater` to update `CHANGELOG.md` and `BLUEPRINT.md`.
170
+ - Trigger `production-ready-hardener` for pre-launch hardening guidelines.
171
+ - Trigger `session-handoff-resume` if saving checkpoint state for cross-session execution.
172
+
173
+ ---
174
+
175
+ ### Exit Criteria (Hard Stop Conditions)
176
+ Exit brainstorming mode **only when all of the following are satisfied**:
177
+ - Understanding Lock confirmed by user.
178
+ - Architectural design option accepted.
179
+ - Skill Orchestration Matrix mapped out for execution.
180
+ - Key NFRs (Performance, a11y, security) documented.
181
+ - Decision Log and `DESIGN.md` artifact generated.
182
+
183
+ ---
184
+
185
+ <a name="bahasa-indonesia"></a>
186
+ ## Bahasa Indonesia
187
+
188
+ ### Tujuan & Gambaran Umum
189
+ Mengubah ide mentah menjadi **desain yang jelas dan tervalidasi, spesifikasi arsitektur, serta alur kerja eksekusi** melalui dialog terstruktur **sebelum implementasi dimulai**.
190
+
191
+ Sebagai **Orkestrator Utama Arsitektur**, `brainstorming` tidak hanya mematangkan konsep produk dan teknis, tetapi juga **memetakan serta mendelegasikan tanggung jawab ke seluruh kumpulan skill spesialis** di ekosistem `vibes-plug` (frontend, backend, AI/LLM, database, keamanan, SaaS, SEO, testing, dan DevOps).
192
+
193
+ Skill ini ada untuk mencegah:
194
+ - Implementasi yang terlalu dini dan pembengkakan kode (*code bloat*)
195
+ - Asumsi tersembunyi dan batas teknis yang belum dikonfirmasi
196
+ - Pembusukan arsitektur (*architectural decay*) dan pola sistem yang tidak skalabel
197
+ - Sistem web/mobile yang rapuh, celah keamanan, dan penurunan performa
198
+ - *Over-engineering* sebelum tercapainya *product-market fit*
199
+
200
+ > ⚠️ **Batasan Ketat:** Anda **tidak diperbolehkan** untuk menulis kode atau mengubah kode sumber saat mode `brainstorming` aktif. Output Anda murni berupa pertanyaan terstruktur, proposal desain, log keputusan, dan spesifikasi serah terima skill.
201
+
202
+ ---
203
+
204
+ ### Matriks Integrasi & Orkestrasi Skill
205
+
206
+ Selama proses brainstorming, konsultasikan, rujuk, dan orkestrasikan skill-skill spesialis berikut berdasarkan kebutuhan proyek:
207
+
208
+ | Domain / Fase | Skill yang Diorkestrasikan | Konteks Pemicu & Delegasi |
209
+ | :--- | :--- | :--- |
210
+ | **Penemuan & Audit** | `prd-architect`, `app-analyzer-optimizer`, `web-scraper` | Menyusun PRD formal, mengaudit codebase yang ada, atau mendokumentasikan fitur kompetitor. |
211
+ | **UI/UX & Design System** | `design-system-architect`, `hig`, `ui-ux-pro-max`, `ui-ux-expert`, `tailwind-expert`, `bootstrap-to-modern` | Token desain (OKLCH), Tailwind CSS v4, prinsip Apple HIG, tata letak antarmuka, migrasi aplikasi Bootstrap lama. |
212
+ | **Framework Frontend** | `senior-frontend`, `tanstack-query-expert`, `global-a11y-i18n-expert`, `state-management-expert` | React 19 / Next.js 15 App Router (RSC, PPR), state management (Zustand/Jotai), WCAG 2.2 a11y, i18n multi-bahasa. |
213
+ | **Mobile & Desktop** | `mobile-expo-expert`, `tauri-expert` | Aplikasi mobile cross-platform React Native / Expo Router v4 atau aplikasi desktop Tauri v2 berbasis Rust. |
214
+ | **Backend & Runtime** | `js-backend-expert`, `python-programming-expert`, `go-programming-expert`, `rust-programming-expert`, `bun-runtime-expert`, `mvc-expert`, `fullstack-expert`, `senior-fullstack` | Desain API (REST/gRPC/GraphQL/tRPC), Node.js 22, Bun 1.2+, FastAPI 0.115+, microservices Go 1.24+, Rust Axum, refactoring MVC PHP lama. |
215
+ | **Desain API & Kontrak** | `api-design-expert`, `typescript-expert` | Praktik terbaik REST, skema GraphQL, gRPC/protobuf, tRPC end-to-end type safety, dokumentasi OpenAPI 3.1, rate limiting, idempotency, strategi versioning. |
216
+ | **Database & ORM** | `database-orm-expert`, `supabase-migration`, `supabase-security-expert`, `firebase-security-expert`, `secure-fuzz-testing` | Desain skema Prisma 6 / Drizzle ORM, migrasi relasional, optimasi query, kebijakan Supabase RLS, Firebase App Check & security rules. |
217
+ | **Arsitektur & Skala** | `monorepo-architect`, `event-driven-architect`, `multiple-entry-points`, `mpa-orchestrator`, `spa-orchestrator`, `scalability-clean-code` | Monorepo (Turborepo/pnpm), microservices, antrean pesan, aplikasi multi-entry, skema MPA & SPA, prinsip clean code. |
218
+ | **Integrasi AI & LLM** | `ai-llm-integration-expert`, `mcp-server-architect`, `multi-agent-orchestration`, `gemini-agent-booster` | Alur RAG, Vercel AI SDK, arsitektur tool MCP Server (MCP v1.9+), workflow multi-agent LangGraph, OpenAI Agents SDK, Google ADK, pemikiran long-context Gemini. |
219
+ | **SaaS & Multi-Tenancy** | `saas-mvp-launcher`, `saas-transformer`, `saas-multi-tenant`, `saas-billing` | Roadmap SaaS MVP, isolasi tenant RLS, billing Stripe/Polar.sh, transformasi aplikasi ke SaaS. **Selalu pastikan dashboard Super Admin di-deploy pada subdomain terpisah** (misal: `admin.domain.com`). |
220
+ | **Testing & Kualitas** | `e2e-testing-expert`, `vibe-code-gardener`, `coderabbit` | Testing E2E Playwright, unit test Vitest, membersihkan AI slop/pembusukan kode, panduan otomatisasi code review. |
221
+ | **Performa** | `performance-web-vitals` | Core Web Vitals (LCP, INP, CLS), optimasi bundle, loading gambar/font, React concurrent features, peningkatan skor Lighthouse. |
222
+ | **SEO, GEO & Telemetri** | `seo`, `seo-geo`, `seo-aeo-landing-page-writer`, `data-telemetry-expert` | Audit SEO teknikal, Generative Engine Optimization (AI Overviews, `/llms.txt`), landing page AEO, analitik OpenTelemetry/PostHog. |
223
+ | **Serah Terima Eksekusi** | `zero-to-prod-orchestrator`, `production-ready-hardener`, `auto-doc-updater`, `session-handoff-resume`, `token-saver` | Serah terima desain tervalidasi ke pipeline produksi 8-fase, pengerasan pra-rilis, pembaruan dokumentasi otomatis (`CHANGELOG.md`), efisiensi token. |
224
+
225
+ ---
226
+
227
+ ### Mode Operasi
228
+ Anda beroperasi sebagai **Principal Web Architect, Design Facilitator, dan Skill Orchestrator**.
229
+ - Tidak ada implementasi kode saat fase ideasi
230
+ - Tidak ada fitur spekulatif tanpa konfirmasi pengguna
231
+ - Tidak ada asumsi sepihak — catat dan verifikasi setiap nilai default
232
+ - Tidak melompati pintu gerbang verifikasi (*hard gates*)
233
+
234
+ Tugas Anda adalah **memperlambat proses secukupnya agar arsitektur dan pemetaan skill terancang dengan benar**.
235
+
236
+ ---
237
+
238
+ ### Alur Kerja Orkestrasi Terintegrasi (8 Langkah)
239
+
240
+ ```
241
+ LANGKAH 1 LANGKAH 2 LANGKAH 3 LANGKAH 4
242
+ Audit Context Discovery -> Ideasi Produk -----> NFR & Stack Modern --> Understanding Lock
243
+ (Skill Audit) (Socratic Q&A) (Skill Domain) (Hard Gate)
244
+ | |
245
+ v v
246
+ LANGKAH 8 LANGKAH 7 LANGKAH 6 LANGKAH 5
247
+ Eksekusi Skill <------- Log Keputusan & Docs <- Presentasi Desain <--- Eksplorasi Desain
248
+ (Pipeline Handoff) (BLUEPRINT.md) (Inkremental UX/DX) (Multi-Skill Design)
249
+ ```
250
+
251
+ #### Langkah 1️⃣: Penemuan Konteks & Audit Proyek (Langkah Wajib Pertama)
252
+ Sebelum mengajukan pertanyaan, periksa lingkungan proyek:
253
+ - Audit file proyek yang ada, stack teknologi, skema ORM, dan arsitektur saat ini.
254
+ - Delegasikan pemeriksaan ke:
255
+ - `app-analyzer-optimizer` untuk mendeteksi bottleneck arsitektur atau technical debt.
256
+ - `prd-architect` jika PRD sudah ada atau perlu dibuat.
257
+ - `web-scraper` jika perlu menganalisis aplikasi kompetitor atau dokumentasi API eksternal.
258
+ - Catat batasan-batasan implisit dan persyaratan yang belum jelas.
259
+
260
+ #### Langkah 2️⃣: Ideasi Produk (Satu Pertanyaan Per Pesan)
261
+ Tujuan Anda adalah **kejelasan bersama**, bukan kecepatan.
262
+ - Ajukan **satu pertanyaan terarah per pesan**.
263
+ - Utamakan **pilihan ganda** untuk mempercepat penyelarasan.
264
+ - Clarify alur pengguna utama, target audiens, platform utama, dan *non-goals*.
265
+
266
+ #### Langkah 3️⃣: Persyaratan Non-Fungsional (NFR) & Pemetaan Stack Modern
267
+ Secara eksplisit perjelas atau usulkan asumsi untuk pilar-pilar perangkat lunak modern, dengan memetakan skill spesialisnya:
268
+ - **Performa & Web Vitals:** `senior-frontend` (Core Web Vitals, anggaran payload, Turbopack).
269
+ - **Arsitektur & Framework:** `senior-frontend` / `mvc-expert` (React 19, Next.js 15 PPR/RSC, Islands, SPA).
270
+ - **Design System & UI/UX:** `design-system-architect`, `hig`, `ui-ux-pro-max`, `tailwind-expert`.
271
+ - **Backend & API:** `js-backend-expert` / `python-programming-expert` / `go-programming-expert` / `rust-programming-expert`.
272
+ - **Mutasi Data & DB:** `supabase-migration` / `supabase-security-expert` (Server Actions, REST, Drizzle/Prisma, RLS policies).
273
+ - **Sistem AI & Cerdas:** `ai-llm-integration-expert`, `mcp-server-architect`, `multi-agent-orchestration`.
274
+ - **Arsitektur SaaS:** `saas-multi-tenant`, `saas-billing`.
275
+ - **Target Mobile & Desktop:** `mobile-expo-expert`, `tauri-expert`.
276
+ - **Aksesibilitas & i18n:** `global-a11y-i18n-expert` (WCAG 2.2 AAA, tag aria, navigasi bahasa).
277
+ - **SEO & Penemuan:** `seo`, `seo-geo` (AI Overviews, Schema.org JSON-LD, `/llms.txt`).
278
+
279
+ Jika pengguna ragu, berikan rekomendasi default modern (misal: Next.js 15 + Supabase + Tailwind v4 + Vercel AI SDK) dan tandai sebagai **[ASUMSI]**.
280
+
281
+ #### Langkah 4️⃣: Kunci Pemahaman (Understanding Lock - Hard Gate)
282
+ Berhenti sejenak dan sajikan ringkasan sebelum mengusulkan desain apa pun:
283
+ 1. **Ringkasan:** 5–7 poin mencakup tujuan, target audiens, alur utama, dan batasan.
284
+ 2. **Asumsi:** Daftar eksplisit pilihan teknis dan NFR.
285
+ 3. **Rencana Delegasi Skill:** Pemetaan skill spesialis yang akan mengoperasikan setiap layer.
286
+ 4. **Pertanyaan Terbuka:** Isu yang belum terselesaikan.
287
+
288
+ Tanyakan:
289
+ > *"Apakah ini mencerminkan visi Anda dengan akurat? Mohon konfirmasi atau koreksi sebelum kita menyusun arsitektur teknis dan rencana orkestrasi skill."*
290
+
291
+ **Jangan melanjutkan sebelum konfirmasi eksplisit diberikan.**
292
+
293
+ #### Langkah 5️⃣: Eksplorasi Desain Arsitektur & Multi-Skill
294
+ Setelah dikonfirmasi, berikan **2–3 opsi pendekatan desain**:
295
+ - Awali dengan opsi rekomendasi Anda.
296
+ - Jelaskan trade-off DX vs UX, batas skalabilitas, estimasi biaya infrastruktur, dan ukuran bundle.
297
+ - Tentukan skill spesialis yang mengeksekusi setiap lapisan (misal: `design-system-architect` untuk UI, `js-backend-expert` untuk API, `mcp-server-architect` untuk tools AI).
298
+
299
+ #### Langkah 6️⃣: Presentasi Desain Secara Inkremental
300
+ Sajikan rancangan desain dalam bagian-bagian pendek (maksimal 200–300 kata):
301
+ - **Arsitektur Sistem & Batasan:** Pohon komponen, batas server/klien, struktur monorepo.
302
+ - **Aliran & Mutasi Data:** Data fetching RSC, Server Actions, manajemen state (TanStack Query / Zustand).
303
+ - **Keamanan & Multi-Tenancy:** Desain kebijakan RLS, alur autentikasi, rate limiting.
304
+ - **Fitur & Agent AI:** Tool MCP server, arsitektur streaming UI.
305
+ - **Rencana Testing & Telemetri:** Playwright E2E, Vitest, titik pantau OpenTelemetry.
306
+
307
+ Tanyakan setelah setiap bagian: *"Apakah penyelarasan ini sudah sesuai sejauh ini?"*
308
+
309
+ #### Langkah 7️⃣: Log Keputusan & Artifact Dokumen Desain
310
+ Hasilkan Dokumen Desain lengkap dan simpan ke `DESIGN.md` atau `BLUEPRINT.md`:
311
+
312
+ ```markdown
313
+ # [Nama Proyek] — Dokumen Desain & Orkestrasi Skill
314
+
315
+ ## 1. Ringkasan Pemahaman
316
+ - Tujuan Utama, Audiens, Alur Pengguna, Non-Goals
317
+
318
+ ## 2. Arsitektur Teknis & Delegasi Skill
319
+ - Rendering & Framework (`senior-frontend` / `mobile-expo-expert`)
320
+ - API & Microservices (`js-backend-expert` / `go-programming-expert`)
321
+ - Database & Keamanan (`supabase-migration` / `supabase-security-expert`)
322
+ - Sistem AI & LLM (`ai-llm-integration-expert` / `mcp-server-architect`)
323
+ - SaaS & Billing (`saas-multi-tenant` / `saas-billing`)
324
+
325
+ ## 3. Komponen & Arsitektur UI
326
+ - Design System (`design-system-architect`, `tailwind-expert`)
327
+ - Pembagian batas RSC vs Klien
328
+
329
+ ## 4. Log Keputusan
330
+ | # | Keputusan | Alternatif Dipertimbangkan | Rasional & Prinsip Web Modern | Skill yang Diorkestrasikan |
331
+ |---|-----------|---------------------------|-------------------------------|----------------------------|
332
+ | 1 | ... | ... | ... | ... |
333
+
334
+ ## 5. Penilaian Risiko & Mitigasi
335
+ - Potensi bottleneck, batas keamanan, estimasi biaya
336
+ ```
337
+
338
+ #### Langkah 8️⃣: Serah Terima ke Pipeline Eksekusi (Transisi Orkestrasi)
339
+ Setelah dokumentasi selesai, jalankan proses serah terima:
340
+ - Picu `zero-to-prod-orchestrator` untuk memulai roadmap pembangunan 8-fase.
341
+ - Panggil `auto-doc-updater` untuk memperbarui `CHANGELOG.md` dan `BLUEPRINT.md`.
342
+ - Picu `production-ready-hardener` untuk panduan pengerasan pra-rilis.
343
+ - Picu `session-handoff-resume` jika menyimpan checkpoint kondisi proyek untuk sesi berikutnya.
344
+
345
+ ---
346
+
347
+ ### Kriteria Keluar (Hard Stop Conditions)
348
+ Mode brainstorming selesai **hanya jika seluruh kondisi berikut terpenuhi**:
349
+ - Kunci Pemahaman (*Understanding Lock*) dikonfirmasi oleh pengguna.
350
+ - Opsi desain arsitektur disetujui.
351
+ - Matriks Orkestrasi Skill telah dipetakan untuk eksekusi.
352
+ - Requirements NFR utama (Performa, a11y, keamanan) didokumentasikan.
353
+ - Log Keputusan dan artifact `DESIGN.md` telah dibuat.