vibes-plug 2.11.0 → 3.9.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 (181) hide show
  1. package/.claude/rules/vibes-plug-core.md +5 -0
  2. package/.cursor/rules/vibes-plug-core.mdc +8 -3
  3. package/.cursorrules +9 -3
  4. package/AGENTS.md +25 -4
  5. package/CHANGELOG.md +151 -0
  6. package/CLAUDE.md +15 -8
  7. package/README.md +216 -641
  8. package/bin/vibes.mjs +1104 -0
  9. package/index.js +1 -1
  10. package/package.json +11 -3
  11. package/plugin.json +4 -3
  12. package/scripts/check-anti-slop.js +53 -0
  13. package/scripts/check-anti-slop.mjs +53 -0
  14. package/scripts/generate_swarm_gif.py +2 -2
  15. package/scripts/install.js +3 -1
  16. package/scripts/update_skills.js +1 -1
  17. package/scripts/update_skills.mjs +86 -0
  18. package/scripts/validate-skills.mjs +111 -0
  19. package/skills/accessibility-testing-expert/SKILL.md +117 -116
  20. package/skills/affective-computing-emotion-ai/SKILL.md +83 -0
  21. package/skills/agentic-coding-workflow-expert/SKILL.md +297 -0
  22. package/skills/agentic-memory-architect/SKILL.md +52 -0
  23. package/skills/agentic-micro-economy-architect/SKILL.md +92 -0
  24. package/skills/ai-llm-integration-expert/SKILL.md +330 -187
  25. package/skills/ai-media-generation-expert/SKILL.md +173 -172
  26. package/skills/ai-prompt-engineering-expert/SKILL.md +170 -50
  27. package/skills/ai-safety-governance-expert/SKILL.md +223 -0
  28. package/skills/angular-expert/SKILL.md +149 -148
  29. package/skills/anti-slop/SKILL.md +134 -0
  30. package/skills/api-design-expert/SKILL.md +4 -3
  31. package/skills/api-gateway-proxy-expert/SKILL.md +3 -2
  32. package/skills/app-analyzer-optimizer/SKILL.md +4 -3
  33. package/skills/apple-ecosystem-expert/SKILL.md +6 -5
  34. package/skills/astro-framework-expert/SKILL.md +201 -200
  35. package/skills/async-queue-temporal-expert/SKILL.md +218 -240
  36. package/skills/authentication-identity-expert/SKILL.md +79 -184
  37. package/skills/autonomous-red-teamer/SKILL.md +338 -203
  38. package/skills/autonomous-tdd-debugger/SKILL.md +6 -5
  39. package/skills/biome-linter-formatter-expert/SKILL.md +90 -89
  40. package/skills/blockchain-web3-expert/SKILL.md +116 -115
  41. package/skills/brainstorming/SKILL.md +392 -377
  42. package/skills/browser-automation-expert/SKILL.md +260 -222
  43. package/skills/bun-runtime-expert/SKILL.md +5 -4
  44. package/skills/chatbot-messaging-expert/SKILL.md +115 -114
  45. package/skills/ci-cd-devops-architect/SKILL.md +3 -2
  46. package/skills/cloud-hosting-expert/SKILL.md +5 -4
  47. package/skills/coderabbit/SKILL.md +5 -4
  48. package/skills/compliance-gdpr-privacy-expert/SKILL.md +3 -2
  49. package/skills/composable-mach-architect/SKILL.md +338 -0
  50. package/skills/cron-scheduler-expert/SKILL.md +5 -4
  51. package/skills/data-pipeline-etl-expert/SKILL.md +3 -2
  52. package/skills/data-telemetry-expert/SKILL.md +5 -4
  53. package/skills/data-visualization-expert/SKILL.md +155 -154
  54. package/skills/database-orm-expert/SKILL.md +102 -240
  55. package/skills/deep-research-analyst/SKILL.md +182 -0
  56. package/skills/dependency-upgrade-migrator/SKILL.md +11 -10
  57. package/skills/design-system-architect/SKILL.md +34 -3
  58. package/skills/desktop-electron-expert/SKILL.md +129 -128
  59. package/skills/documentation-site-expert/SKILL.md +60 -59
  60. package/skills/doku-mcp-server/SKILL.md +5 -4
  61. package/skills/doku-payment-gateway/SKILL.md +250 -232
  62. package/skills/domain-driven-design-expert/SKILL.md +3 -2
  63. package/skills/e2e-testing-expert/SKILL.md +5 -4
  64. package/skills/ecommerce-expert/SKILL.md +88 -87
  65. package/skills/email-notification-expert/SKILL.md +35 -7
  66. package/skills/ephemeral-generative-ui-architect/SKILL.md +88 -0
  67. package/skills/error-resilience-expert/SKILL.md +26 -4
  68. package/skills/event-driven-architect/SKILL.md +5 -4
  69. package/skills/feature-flag-analytics-expert/SKILL.md +3 -2
  70. package/skills/file-upload-media-expert/SKILL.md +5 -4
  71. package/skills/firebase-security-expert/SKILL.md +5 -4
  72. package/skills/form-validation-expert/SKILL.md +7 -6
  73. package/skills/frontier-ai-models-expert/SKILL.md +116 -0
  74. package/skills/fullstack-expert/SKILL.md +68 -144
  75. package/skills/gemini-agent-booster/SKILL.md +248 -172
  76. package/skills/geospatial-maps-expert/SKILL.md +81 -80
  77. package/skills/global-a11y-i18n-expert/SKILL.md +5 -4
  78. package/skills/glsl-shader-expert/SKILL.md +155 -71
  79. package/skills/go-programming-expert/SKILL.md +5 -4
  80. package/skills/graph-rag-knowledge-expert/SKILL.md +201 -159
  81. package/skills/graphql-apollo-expert/SKILL.md +5 -4
  82. package/skills/headless-cms-expert/SKILL.md +182 -181
  83. package/skills/hig/SKILL.md +5 -4
  84. package/skills/js-backend-expert/SKILL.md +219 -218
  85. package/skills/legacy-code-translator/SKILL.md +6 -5
  86. package/skills/llm-finops-router/SKILL.md +52 -0
  87. package/skills/local-slm-edge-ai-expert/SKILL.md +168 -167
  88. package/skills/logging-error-tracking-expert/SKILL.md +5 -4
  89. package/skills/mcp-server-architect/SKILL.md +316 -294
  90. package/skills/micro-frontend-architect/SKILL.md +5 -4
  91. package/skills/mobile-expo-expert/SKILL.md +5 -4
  92. package/skills/modern-css-native-expert/SKILL.md +190 -189
  93. package/skills/monorepo-architect/SKILL.md +5 -4
  94. package/skills/mpa-orchestrator/SKILL.md +41 -4
  95. package/skills/multi-agent-orchestration/SKILL.md +388 -254
  96. package/skills/mvc-expert/SKILL.md +5 -4
  97. package/skills/n8n-automation-expert/SKILL.md +90 -89
  98. package/skills/nextjs-app-router-expert/SKILL.md +3 -2
  99. package/skills/openapi-swagger-codegen-expert/SKILL.md +4 -3
  100. package/skills/payment-gateway-expert/SKILL.md +131 -128
  101. package/skills/pdf-document-generation-expert/SKILL.md +92 -91
  102. package/skills/performance-web-vitals/SKILL.md +5 -4
  103. package/skills/post-quantum-crypto-migrator/SKILL.md +3 -2
  104. package/skills/prd-architect/SKILL.md +85 -109
  105. package/skills/proactive-background-watcher/SKILL.md +5 -4
  106. package/skills/production-ready-hardener/SKILL.md +25 -27
  107. package/skills/pwa-offline-first-expert/SKILL.md +227 -185
  108. package/skills/pydantic-ai-expert/SKILL.md +162 -0
  109. package/skills/python-programming-expert/SKILL.md +5 -4
  110. package/skills/rate-limit-abuse-prevention/SKILL.md +5 -4
  111. package/skills/realtime-collaboration-expert/SKILL.md +3 -2
  112. package/skills/rich-text-editor-expert/SKILL.md +178 -177
  113. package/skills/rust-programming-expert/SKILL.md +5 -4
  114. package/skills/saas-architect/SKILL.md +155 -0
  115. package/skills/saas-billing/SKILL.md +394 -382
  116. package/skills/saas-multi-tenant/SKILL.md +7 -6
  117. package/skills/scalability-clean-code/SKILL.md +5 -4
  118. package/skills/search-engine-expert/SKILL.md +90 -89
  119. package/skills/self-healing-cloud-orchestrator/SKILL.md +3 -2
  120. package/skills/senior-frontend/SKILL.md +21 -18
  121. package/skills/senior-frontend/scripts/frontend_scaffolder.py +1 -1
  122. package/skills/seo/SKILL.md +4 -4
  123. package/skills/session-memory-manager/SKILL.md +129 -0
  124. package/skills/solidjs-expert/SKILL.md +81 -80
  125. package/skills/spa-orchestrator/SKILL.md +5 -4
  126. package/skills/sse-websocket-streaming-expert/SKILL.md +3 -2
  127. package/skills/state-management-expert/SKILL.md +5 -4
  128. package/skills/supabase-security-expert/SKILL.md +5 -4
  129. package/skills/svelte-sveltekit-expert/SKILL.md +92 -91
  130. package/skills/svg-animation-motion-expert/SKILL.md +3 -2
  131. package/skills/synthetic-data-finetuning-expert/SKILL.md +156 -0
  132. package/skills/tailwind-expert/SKILL.md +62 -5
  133. package/skills/tanstack-query-expert/SKILL.md +5 -4
  134. package/skills/tauri-expert/SKILL.md +5 -4
  135. package/skills/typescript-expert/SKILL.md +5 -4
  136. package/skills/ui-ux-pro-max/SKILL.md +7 -4
  137. package/skills/vector-db-rag-expert/SKILL.md +209 -208
  138. package/skills/vercel-ai-sdk-expert/SKILL.md +226 -0
  139. package/skills/voice-ai-realtime-agent/SKILL.md +243 -202
  140. package/skills/vue-frontend-expert/SKILL.md +5 -4
  141. package/skills/wasm-edge-computing-expert/SKILL.md +3 -2
  142. package/skills/web-3d-graphics-expert/SKILL.md +259 -82
  143. package/skills/web-game-engine-expert/SKILL.md +278 -50
  144. package/skills/web-scraper/SKILL.md +158 -157
  145. package/skills/website-design-cloner/SKILL.md +5 -4
  146. package/skills/webxr-ar-vr-expert/SKILL.md +105 -65
  147. package/skills/wordpress-headless-expert/SKILL.md +145 -144
  148. package/skills/zero-tech-debt-auditor/SKILL.md +115 -0
  149. package/skills/zero-to-prod-orchestrator/SKILL.md +281 -227
  150. package/skills/zero-trust-secret-vault/SKILL.md +3 -2
  151. package/BLUEPRINT.md +0 -309
  152. package/skills/ai-cost-token-optimizer/SKILL.md +0 -82
  153. package/skills/ai-evals-benchmark-expert/SKILL.md +0 -188
  154. package/skills/asisten-ramah/SKILL.md +0 -47
  155. package/skills/auto-doc-updater/SKILL.md +0 -220
  156. package/skills/autonomous-chaos-monkey/SKILL.md +0 -63
  157. package/skills/background-jobs-queue-expert/SKILL.md +0 -235
  158. package/skills/bootstrap-to-modern/SKILL.md +0 -94
  159. package/skills/database-migration-versioning-expert/SKILL.md +0 -90
  160. package/skills/edge-serverless-db-expert/SKILL.md +0 -99
  161. package/skills/mcp-client-orchestrator/SKILL.md +0 -76
  162. package/skills/mobile-push-notification-expert/SKILL.md +0 -71
  163. package/skills/monday-design-aesthetic/SKILL.md +0 -73
  164. package/skills/multiple-entry-points/SKILL.md +0 -91
  165. package/skills/project-context-mapper/SKILL.md +0 -85
  166. package/skills/saas-mvp-launcher/SKILL.md +0 -260
  167. package/skills/saas-transformer/SKILL.md +0 -500
  168. package/skills/saas-transformer/references/billing_integration_guide.md +0 -401
  169. package/skills/secure-fuzz-testing/SKILL.md +0 -207
  170. package/skills/self-evolving-memory-graph/SKILL.md +0 -91
  171. package/skills/session-context-loader/SKILL.md +0 -83
  172. package/skills/session-handoff-resume/SKILL.md +0 -164
  173. package/skills/skill-baru/SKILL.md +0 -178
  174. package/skills/supabase-migration/SKILL.md +0 -91
  175. package/skills/token-saver/SKILL.md +0 -119
  176. package/skills/ui-components-expert/SKILL.md +0 -166
  177. package/skills/vibe-code-gardener/SKILL.md +0 -181
  178. package/skills/visual-qa-vision-agent/SKILL.md +0 -71
  179. /package/skills/{saas-transformer → saas-architect}/references/feature_gating_patterns.md +0 -0
  180. /package/skills/{saas-transformer → saas-architect}/references/saas_transformation_checklist.md +0 -0
  181. /package/skills/{saas-transformer → saas-architect}/scripts/saas_transformation_scanner.py +0 -0
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: micro-frontend-architect
3
3
  description: "Expert guide for designing Micro-Frontend architectures using Webpack Module Federation, Vite Federation, and Single-SPA for large scale Vue and React applications."
4
- author: "Roedy Rustam"
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
5
6
  ---
6
7
 
7
8
  # Micro-Frontend Architect
@@ -14,7 +15,7 @@ author: "Roedy Rustam"
14
15
  ## English
15
16
 
16
17
  ### 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
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, and `session-memory-manager` to ensure cohesive execution.
18
19
 
19
20
  ### Description
20
21
  Production-grade guidance for breaking down monolithic frontend applications into scalable, independently deployable **Micro-Frontends (MFE)**. Covers integration via **Webpack Module Federation**, **Vite Federation**, and run-time container orchestration using patterns suitable for massive Enterprise applications in Vue or React.
@@ -95,7 +96,7 @@ This skill works best when combined with:
95
96
  ## Bahasa Indonesia
96
97
 
97
98
  ### Integrasi Orkestrasi
98
- Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
99
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `session-memory-manager` untuk memastikan eksekusi yang kohesif.
99
100
 
100
101
  ### Deskripsi
101
102
  Panduan arsitektur untuk memecah aplikasi frontend raksasa menjadi **Micro-Frontends (MFE)** yang terukur dan dapat di-deploy secara independen. Mencakup **Webpack Module Federation** dan **Vite Federation**.
@@ -109,4 +110,4 @@ Panduan arsitektur untuk memecah aplikasi frontend raksasa menjadi **Micro-Front
109
110
  - **Host vs Remote:** *Host* adalah cangkang (shell) utama aplikasi Anda, *Remote* adalah aplikasi kecil (fitur) yang dimuat oleh Host secara dinamis di runtime.
110
111
  - **Berbagi Dependensi (Shared):** Sangat krusial! Pastikan framework utama (`vue`, `react`, `pinia`, `vue-router`) ditandai sebagai `shared` (dan seringkali `singleton`). Jika tidak, aplikasi akan error karena ada 2 instance Vue/React yang berjalan bersamaan.
111
112
  - **Isolasi CSS:** Pastikan gaya CSS dari MFE A tidak merusak MFE B. Gunakan *CSS Modules* atau kapsulasi *Scoped CSS*.
112
- - **Komunikasi Data:** Hindari penggunaan Global State (Redux/Pinia) lintas MFE jika memungkinkan. Gunakan *Custom Event Listener* di `window` atau passing props/URL untuk menjaga tiap MFE tetap independen.
113
+ - **Komunikasi Data:** Hindari penggunaan Global State (Redux/Pinia) lintas MFE jika memungkinkan. Gunakan *Custom Event Listener* di `window` atau passing props/URL untuk menjaga tiap MFE tetap independen.
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: mobile-expo-expert
3
3
  description: "Expert guide for React Native 0.79+ and Expo SDK 53+ development. Covers cross-platform mobile architecture, Expo Router v4, New Architecture, OTA updates, and native modules / Panduan ahli pengembangan React Native 0.79+ dan Expo SDK 53+ untuk aplikasi mobile."
4
- author: "Roedy Rustam"
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
5
6
  ---
6
7
 
7
8
  # Mobile Expert — React Native & Expo (SDK 53 / RN 0.79 Edition)
@@ -14,7 +15,7 @@ author: "Roedy Rustam"
14
15
  ## English
15
16
 
16
17
  ### 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
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, and `session-memory-manager` to ensure cohesive execution.
18
19
 
19
20
  ### Description
20
21
  Expert guide for building production-grade cross-platform mobile applications using **React Native 0.79+** and **Expo SDK 53+**. Covers the New Architecture (stable), Expo Router v4, OTA updates, native modules, and modern state management patterns for iOS and Android.
@@ -136,7 +137,7 @@ Use **channels** to target specific user groups (production, staging, beta).
136
137
  ## Bahasa Indonesia
137
138
 
138
139
  ### Integrasi Orkestrasi
139
- Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
140
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `session-memory-manager` untuk memastikan eksekusi yang kohesif.
140
141
 
141
142
  ### Deskripsi
142
143
  Panduan ahli untuk membangun aplikasi mobile cross-platform tingkat produksi menggunakan **React Native 0.79+** dan **Expo SDK 53+**. Mencakup New Architecture (stabil), Expo Router v4, OTA updates, native modules, dan pola state management modern untuk iOS dan Android.
@@ -189,4 +190,4 @@ Dorong pembaruan instan ke pengguna tanpa melalui review App Store. Gunakan chan
189
190
  - **FlashList**: Pengganti FlatList yang jauh lebih cepat untuk daftar panjang.
190
191
  - **react-native-reanimated v3**: Animasi 60/120fps yang berjalan di UI thread.
191
192
  - **react-native-gesture-handler**: Pengenalan gesture di native thread.
192
- - **Hermes Engine**: Default di SDK 53 — startup lebih cepat, memori lebih sedikit.
193
+ - **Hermes Engine**: Default di SDK 53 — startup lebih cepat, memori lebih sedikit.
@@ -1,189 +1,190 @@
1
- ---
2
- name: modern-css-native-expert
3
- description: "Expert guide for cutting-edge Native CSS (2026 Standard) — CSS Anchor Positioning, @starting-style, View Transitions Level 2, Container Queries, and :has() / Panduan ahli fitur CSS native modern 2026."
4
- author: "Roedy Rustam"
5
- ---
6
-
7
- # Modern Native CSS Expert (2026 Standard & Primitives)
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### Purpose & Overview
17
- Production-grade engineering guide for modern **Native CSS features (2026 Edition)** that replace cumbersome JavaScript libraries with pure browser-native primitives. Covers the **CSS Anchor Positioning API** for tooltips/popovers, **`@starting-style`** for smooth entry/exit animations on top-layer elements (`<dialog>`, `popover`), **View Transitions API Level 2**, **Container Queries (`@container`)**, and the **`:has()`** relational selector.
18
-
19
- ### Key Capabilities
20
- 1. **CSS Anchor Positioning**: Eliminating Floating UI / Popper.js dependencies. Tether tooltips, menus, and popovers to trigger elements natively with auto-flip fallbacks (`position-try-fallbacks`).
21
- 2. **Smooth Top-Layer Transitions**: Animating `<dialog>` and `[popover]` elements from `display: none` to visible with `@starting-style` and `transition-behavior: allow-discrete`.
22
- 3. **Container Queries (`@container`)**: Component-level responsive design based on parent container dimensions rather than viewport width.
23
- 4. **Relational `:has()` Selector**: Styling parent containers or sibling trees based on nested child states without React/JS state overhead.
24
- 5. **Native CSS Nesting & `@layer`**: Structuring clean, zero-build styles with cascade priority layers.
25
-
26
- ---
27
-
28
- ### Production Implementation Recipes
29
-
30
- #### Recipe 1: Pure Native Anchor Positioning for Tooltips & Dropdowns (No JS)
31
- ```css
32
- /* Define the anchor trigger button */
33
- .anchor-trigger {
34
- anchor-name: --my-dropdown-anchor;
35
- }
36
-
37
- /* Tether the popover menu to the anchor trigger */
38
- .dropdown-menu {
39
- position: fixed;
40
- position-anchor: --my-dropdown-anchor;
41
-
42
- /* Place below the anchor by default */
43
- top: anchor(bottom);
44
- left: anchor(left);
45
- margin-top: 8px;
46
-
47
- /* Automatic flip to top if screen boundary is reached */
48
- position-try-fallbacks: flip-block;
49
- }
50
- ```
51
-
52
- #### Recipe 2: Smooth `<dialog>` Entry/Exit Animation with `@starting-style`
53
- ```css
54
- /* Dialog element with discrete transition support */
55
- dialog {
56
- opacity: 0;
57
- transform: scale(0.95) translateY(10px);
58
- transition: opacity 0.25s ease-out, transform 0.25s ease-out, display 0.25s allow-discrete;
59
- }
60
-
61
- /* Open state */
62
- dialog[open] {
63
- opacity: 1;
64
- transform: scale(1) translateY(0);
65
- }
66
-
67
- /* Starting style when transitioning from display: none to open */
68
- @starting-style {
69
- dialog[open] {
70
- opacity: 0;
71
- transform: scale(0.95) translateY(10px);
72
- }
73
- }
74
-
75
- /* Backdrop smooth fade */
76
- dialog::backdrop {
77
- background-color: rgb(0 0 0 / 0%);
78
- transition: background-color 0.25s ease-out, display 0.25s allow-discrete;
79
- }
80
-
81
- dialog[open]::backdrop {
82
- background-color: rgb(0 0 0 / 50%);
83
- }
84
-
85
- @starting-style {
86
- dialog[open]::backdrop {
87
- background-color: rgb(0 0 0 / 0%);
88
- }
89
- }
90
- ```
91
-
92
- ---
93
-
94
- ### Implementation Checklist
95
- - [ ] Replace JS positioning libraries (Popper, Floating UI) with native `anchor-name` and `position-anchor`.
96
- - [ ] Use `@starting-style` and `transition-behavior: allow-discrete` for animating modals and popovers without JavaScript timers.
97
- - [ ] Use `@container` on modular components to allow seamless reuse across sidebars, grids, and modals.
98
- - [ ] Organize design tokens and reset styles into `@layer` (e.g. `@layer base, components, utilities;`).
99
-
100
- ## Orchestration & Integration
101
- - Integrates with: `design-system-architect`, `ui-components-expert`, `tailwind-expert`, `senior-frontend`.
102
-
103
- ---
104
-
105
- <a name="bahasa-indonesia"></a>
106
- ## Bahasa Indonesia
107
-
108
- ### Tujuan & Gambaran Umum
109
- Panduan rekayasa tingkat produksi untuk memanfaatkan **Fitur CSS Native Modern (Standar 2026)** yang menggantikan pustaka JavaScript berukuran besar dengan fitur asli browser. Mencakup **CSS Anchor Positioning API** untuk tooltip dan popover, **`@starting-style`** untuk animasi masuk dan keluar yang mulus pada elemen *top-layer* (`<dialog>`, `popover`), **View Transitions API Level 2**, **Container Queries (`@container`)**, dan selektor relasional **`:has()`**.
110
-
111
- ### Kemampuan Utama
112
- 1. **CSS Anchor Positioning**: Menghapus ketergantungan pada pustaka seperti Floating UI atau Popper.js. Mengikat tooltip, menu, dan popover ke tombol pemicu secara native dengan pembalikan posisi otomatis (`position-try-fallbacks`).
113
- 2. **Animasi Mulus Top-Layer**: Menganimasikan dialog dari status `display: none` ke tampil menggunakan `@starting-style` dan `transition-behavior: allow-discrete`.
114
- 3. **Container Queries (`@container`)**: Desain responsif berbasis ukuran kontainer induk, bukan lebar layar viewport.
115
- 4. **Selektor Relasional `:has()`**: Menata gaya elemen induk berdasarkan status elemen anak di dalamnya tanpa membutuhkan *state* JavaScript.
116
- 5. **Nesting Native & `@layer`**: Mengatur hierarki gaya CSS tanpa alat build dan mengontrol urutan spesifisitas secara terstruktur.
117
-
118
- ---
119
-
120
- ### Resep Implementasi Produksi
121
-
122
- #### Resep 1: Anchor Positioning Murni untuk Menu Dropdown (Tanpa JavaScript)
123
- ```css
124
- /* Definisikan tombol pemicu sebagai jangkar (anchor) */
125
- .tombol-pemicu {
126
- anchor-name: --jangkar-menu;
127
- }
128
-
129
- /* Hubungkan menu popover ke tombol pemicu */
130
- .menu-dropdown {
131
- position: fixed;
132
- position-anchor: --jangkar-menu;
133
-
134
- /* Posisikan di bawah tombol pemicu */
135
- top: anchor(bottom);
136
- left: anchor(left);
137
- margin-top: 8px;
138
-
139
- /* Balik posisi ke atas jika terpotong batas layar */
140
- position-try-fallbacks: flip-block;
141
- }
142
- ```
143
-
144
- #### Resep 2: Animasi Modal `<dialog>` dengan `@starting-style`
145
- ```css
146
- dialog {
147
- opacity: 0;
148
- transform: scale(0.95) translateY(10px);
149
- transition: opacity 0.25s ease-out, transform 0.25s ease-out, display 0.25s allow-discrete;
150
- }
151
-
152
- dialog[open] {
153
- opacity: 1;
154
- transform: scale(1) translateY(0);
155
- }
156
-
157
- @starting-style {
158
- dialog[open] {
159
- opacity: 0;
160
- transform: scale(0.95) translateY(10px);
161
- }
162
- }
163
-
164
- dialog::backdrop {
165
- background-color: rgb(0 0 0 / 0%);
166
- transition: background-color 0.25s ease-out, display 0.25s allow-discrete;
167
- }
168
-
169
- dialog[open]::backdrop {
170
- background-color: rgb(0 0 0 / 50%);
171
- }
172
-
173
- @starting-style {
174
- dialog[open]::backdrop {
175
- background-color: rgb(0 0 0 / 0%);
176
- }
177
- }
178
- ```
179
-
180
- ---
181
-
182
- ### Checklist Implementasi
183
- - [ ] Ganti library positioning pihak ketiga dengan CSS `anchor-name` dan `position-anchor`.
184
- - [ ] Gunakan `@starting-style` dan `transition-behavior: allow-discrete` untuk animasi modal tanpa jeda JavaScript.
185
- - [ ] Gunakan `@container` pada komponen reusable agar adaptif di semua layout.
186
- - [ ] Tata arsitektur CSS menggunakan `@layer base, components, utilities;`.
187
-
188
- ## Integrasi Orkestrasi
189
- - Terintegrasi dengan: `design-system-architect`, `ui-components-expert`, `tailwind-expert`, `senior-frontend`.
1
+ ---
2
+ name: modern-css-native-expert
3
+ description: "Expert guide for cutting-edge Native CSS (2026 Standard) — CSS Anchor Positioning, @starting-style, View Transitions Level 2, Container Queries, and :has() / Panduan ahli fitur CSS native modern 2026."
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
6
+ ---
7
+
8
+ # Modern Native CSS Expert (2026 Standard & Primitives)
9
+
10
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
11
+
12
+ ---
13
+
14
+ <a name="english"></a>
15
+ ## English
16
+
17
+ ### Purpose & Overview
18
+ Production-grade engineering guide for modern **Native CSS features (2026 Edition)** that replace cumbersome JavaScript libraries with pure browser-native primitives. Covers the **CSS Anchor Positioning API** for tooltips/popovers, **`@starting-style`** for smooth entry/exit animations on top-layer elements (`<dialog>`, `popover`), **View Transitions API Level 2**, **Container Queries (`@container`)**, and the **`:has()`** relational selector.
19
+
20
+ ### Key Capabilities
21
+ 1. **CSS Anchor Positioning**: Eliminating Floating UI / Popper.js dependencies. Tether tooltips, menus, and popovers to trigger elements natively with auto-flip fallbacks (`position-try-fallbacks`).
22
+ 2. **Smooth Top-Layer Transitions**: Animating `<dialog>` and `[popover]` elements from `display: none` to visible with `@starting-style` and `transition-behavior: allow-discrete`.
23
+ 3. **Container Queries (`@container`)**: Component-level responsive design based on parent container dimensions rather than viewport width.
24
+ 4. **Relational `:has()` Selector**: Styling parent containers or sibling trees based on nested child states without React/JS state overhead.
25
+ 5. **Native CSS Nesting & `@layer`**: Structuring clean, zero-build styles with cascade priority layers.
26
+
27
+ ---
28
+
29
+ ### Production Implementation Recipes
30
+
31
+ #### Recipe 1: Pure Native Anchor Positioning for Tooltips & Dropdowns (No JS)
32
+ ```css
33
+ /* Define the anchor trigger button */
34
+ .anchor-trigger {
35
+ anchor-name: --my-dropdown-anchor;
36
+ }
37
+
38
+ /* Tether the popover menu to the anchor trigger */
39
+ .dropdown-menu {
40
+ position: fixed;
41
+ position-anchor: --my-dropdown-anchor;
42
+
43
+ /* Place below the anchor by default */
44
+ top: anchor(bottom);
45
+ left: anchor(left);
46
+ margin-top: 8px;
47
+
48
+ /* Automatic flip to top if screen boundary is reached */
49
+ position-try-fallbacks: flip-block;
50
+ }
51
+ ```
52
+
53
+ #### Recipe 2: Smooth `<dialog>` Entry/Exit Animation with `@starting-style`
54
+ ```css
55
+ /* Dialog element with discrete transition support */
56
+ dialog {
57
+ opacity: 0;
58
+ transform: scale(0.95) translateY(10px);
59
+ transition: opacity 0.25s ease-out, transform 0.25s ease-out, display 0.25s allow-discrete;
60
+ }
61
+
62
+ /* Open state */
63
+ dialog[open] {
64
+ opacity: 1;
65
+ transform: scale(1) translateY(0);
66
+ }
67
+
68
+ /* Starting style when transitioning from display: none to open */
69
+ @starting-style {
70
+ dialog[open] {
71
+ opacity: 0;
72
+ transform: scale(0.95) translateY(10px);
73
+ }
74
+ }
75
+
76
+ /* Backdrop smooth fade */
77
+ dialog::backdrop {
78
+ background-color: rgb(0 0 0 / 0%);
79
+ transition: background-color 0.25s ease-out, display 0.25s allow-discrete;
80
+ }
81
+
82
+ dialog[open]::backdrop {
83
+ background-color: rgb(0 0 0 / 50%);
84
+ }
85
+
86
+ @starting-style {
87
+ dialog[open]::backdrop {
88
+ background-color: rgb(0 0 0 / 0%);
89
+ }
90
+ }
91
+ ```
92
+
93
+ ---
94
+
95
+ ### Implementation Checklist
96
+ - [ ] Replace JS positioning libraries (Popper, Floating UI) with native `anchor-name` and `position-anchor`.
97
+ - [ ] Use `@starting-style` and `transition-behavior: allow-discrete` for animating modals and popovers without JavaScript timers.
98
+ - [ ] Use `@container` on modular components to allow seamless reuse across sidebars, grids, and modals.
99
+ - [ ] Organize design tokens and reset styles into `@layer` (e.g. `@layer base, components, utilities;`).
100
+
101
+ ## Orchestration & Integration
102
+ - Integrates with: `design-system-architect`, `design-system-architect, senior-frontend`, `tailwind-expert`, `senior-frontend`.
103
+
104
+ ---
105
+
106
+ <a name="bahasa-indonesia"></a>
107
+ ## Bahasa Indonesia
108
+
109
+ ### Tujuan & Gambaran Umum
110
+ Panduan rekayasa tingkat produksi untuk memanfaatkan **Fitur CSS Native Modern (Standar 2026)** yang menggantikan pustaka JavaScript berukuran besar dengan fitur asli browser. Mencakup **CSS Anchor Positioning API** untuk tooltip dan popover, **`@starting-style`** untuk animasi masuk dan keluar yang mulus pada elemen *top-layer* (`<dialog>`, `popover`), **View Transitions API Level 2**, **Container Queries (`@container`)**, dan selektor relasional **`:has()`**.
111
+
112
+ ### Kemampuan Utama
113
+ 1. **CSS Anchor Positioning**: Menghapus ketergantungan pada pustaka seperti Floating UI atau Popper.js. Mengikat tooltip, menu, dan popover ke tombol pemicu secara native dengan pembalikan posisi otomatis (`position-try-fallbacks`).
114
+ 2. **Animasi Mulus Top-Layer**: Menganimasikan dialog dari status `display: none` ke tampil menggunakan `@starting-style` dan `transition-behavior: allow-discrete`.
115
+ 3. **Container Queries (`@container`)**: Desain responsif berbasis ukuran kontainer induk, bukan lebar layar viewport.
116
+ 4. **Selektor Relasional `:has()`**: Menata gaya elemen induk berdasarkan status elemen anak di dalamnya tanpa membutuhkan *state* JavaScript.
117
+ 5. **Nesting Native & `@layer`**: Mengatur hierarki gaya CSS tanpa alat build dan mengontrol urutan spesifisitas secara terstruktur.
118
+
119
+ ---
120
+
121
+ ### Resep Implementasi Produksi
122
+
123
+ #### Resep 1: Anchor Positioning Murni untuk Menu Dropdown (Tanpa JavaScript)
124
+ ```css
125
+ /* Definisikan tombol pemicu sebagai jangkar (anchor) */
126
+ .tombol-pemicu {
127
+ anchor-name: --jangkar-menu;
128
+ }
129
+
130
+ /* Hubungkan menu popover ke tombol pemicu */
131
+ .menu-dropdown {
132
+ position: fixed;
133
+ position-anchor: --jangkar-menu;
134
+
135
+ /* Posisikan di bawah tombol pemicu */
136
+ top: anchor(bottom);
137
+ left: anchor(left);
138
+ margin-top: 8px;
139
+
140
+ /* Balik posisi ke atas jika terpotong batas layar */
141
+ position-try-fallbacks: flip-block;
142
+ }
143
+ ```
144
+
145
+ #### Resep 2: Animasi Modal `<dialog>` dengan `@starting-style`
146
+ ```css
147
+ dialog {
148
+ opacity: 0;
149
+ transform: scale(0.95) translateY(10px);
150
+ transition: opacity 0.25s ease-out, transform 0.25s ease-out, display 0.25s allow-discrete;
151
+ }
152
+
153
+ dialog[open] {
154
+ opacity: 1;
155
+ transform: scale(1) translateY(0);
156
+ }
157
+
158
+ @starting-style {
159
+ dialog[open] {
160
+ opacity: 0;
161
+ transform: scale(0.95) translateY(10px);
162
+ }
163
+ }
164
+
165
+ dialog::backdrop {
166
+ background-color: rgb(0 0 0 / 0%);
167
+ transition: background-color 0.25s ease-out, display 0.25s allow-discrete;
168
+ }
169
+
170
+ dialog[open]::backdrop {
171
+ background-color: rgb(0 0 0 / 50%);
172
+ }
173
+
174
+ @starting-style {
175
+ dialog[open]::backdrop {
176
+ background-color: rgb(0 0 0 / 0%);
177
+ }
178
+ }
179
+ ```
180
+
181
+ ---
182
+
183
+ ### Checklist Implementasi
184
+ - [ ] Ganti library positioning pihak ketiga dengan CSS `anchor-name` dan `position-anchor`.
185
+ - [ ] Gunakan `@starting-style` dan `transition-behavior: allow-discrete` untuk animasi modal tanpa jeda JavaScript.
186
+ - [ ] Gunakan `@container` pada komponen reusable agar adaptif di semua layout.
187
+ - [ ] Tata arsitektur CSS menggunakan `@layer base, components, utilities;`.
188
+
189
+ ## Integrasi Orkestrasi
190
+ - Terintegrasi dengan: `design-system-architect`, `design-system-architect, senior-frontend`, `tailwind-expert`, `senior-frontend`.
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: monorepo-architect
3
3
  description: "Expert guide for designing and managing scalable monorepos using Turborepo, pnpm workspaces, and shared packages / Panduan ahli untuk merancang dan mengelola monorepo skalabel menggunakan Turborepo dan pnpm workspaces."
4
- author: "Roedy Rustam"
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
5
6
  ---
6
7
 
7
8
  # Monorepo Architect (Turborepo 2.x / Moon Edition)
@@ -14,7 +15,7 @@ author: "Roedy Rustam"
14
15
  ## English
15
16
 
16
17
  ### 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
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, and `session-memory-manager` to ensure cohesive execution.
18
19
 
19
20
  ### Description
20
21
  Expert guide for designing and managing scalable monorepos. Covers **Turborepo 2.x** (the 2026 standard for JS/TS monorepos), **moon** (polyglot task runner for teams mixing JS + Rust + Go), **pnpm workspaces**, shared package design, incremental builds, remote caching, and CI/CD pipeline optimization.
@@ -194,7 +195,7 @@ tasks:
194
195
  ## Bahasa Indonesia
195
196
 
196
197
  ### Integrasi Orkestrasi
197
- Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
198
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `session-memory-manager` untuk memastikan eksekusi yang kohesif.
198
199
 
199
200
  ### Deskripsi
200
201
  Panduan ahli untuk merancang dan mengelola monorepo yang skalabel. Mencakup **Turborepo 2.x** (standar 2026 untuk monorepo JS/TS), **moon** (task runner poliglot untuk tim yang memadukan JS + Rust + Go), **pnpm workspaces**, desain shared package, incremental build, remote caching, dan optimasi pipeline CI/CD.
@@ -230,4 +231,4 @@ Arahkan `exports` langsung ke file sumber TypeScript — Turborepo mengkompilasi
230
231
  Moon mendukung proyek dalam bahasa yang berbeda (Go, Rust, JS) dalam satu workspace, masing-masing dengan konfigurasi `moon.yml`-nya sendiri.
231
232
 
232
233
  ### Optimasi CI/CD
233
- Gunakan flag `--filter="...[origin/main]"` Turborepo untuk hanya membangun dan menguji package yang berubah sejak commit terakhir. Gunakan remote cache Vercel atau self-hosted untuk berbagi cache antar runner CI.
234
+ Gunakan flag `--filter="...[origin/main]"` Turborepo untuk hanya membangun dan menguji package yang berubah sejak commit terakhir. Gunakan remote cache Vercel atau self-hosted untuk berbagi cache antar runner CI.
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: mpa-orchestrator
3
3
  description: "Orchestrates Multi-Page Application (MPA) architecture within a single repository, integrating with relevant skills / Mengorkestrasi arsitektur Multi-Page Application (MPA) dalam satu repositori, terintegrasi dengan skill relevan lainnya."
4
- author: "Roedy Rustam"
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
5
6
  ---
6
7
 
7
8
  # Multi-Page Application (MPA) Orchestrator (2026 Edition)
@@ -14,7 +15,7 @@ author: "Roedy Rustam"
14
15
  ## English
15
16
 
16
17
  ### Orchestration & Integration
17
- Connects and orchestrates with relevant domain skills like `modern-web-guidance`, `brainstorming`, `zero-to-prod-orchestrator`, and `project-context-mapper` to ensure cohesive execution.
18
+ Connects and orchestrates with relevant domain skills like `modern-web-guidance`, `brainstorming`, `zero-to-prod-orchestrator`, and `session-memory-manager` to ensure cohesive execution.
18
19
 
19
20
  ### Description
20
21
  A structured approach for building and orchestrating Multi-Page Application (MPA) architectures within a single repository. Acts as an orchestrator connecting MPA principles with specialized skills (like `mvc-expert`, `saas-multi-tenant`, `senior-frontend`) to deliver cohesive, server-rendered applications. In 2026, MPAs are increasingly built with **Astro 5** for content-heavy sites or **traditional server frameworks** (Laravel, Django, Go) augmented with **HTMX 2** or **Alpine.js** for interactivity.
@@ -39,6 +40,33 @@ A structured approach for building and orchestrating Multi-Page Application (MPA
39
40
  6. **Asset Management**: Centralize static assets in `public/`. Implement cache-busting for production.
40
41
  7. **Session-based State**: Use secure HTTP-only cookies and server sessions for auth, tenant context, and flash messages.
41
42
 
43
+ ### Bundler & Multi-Entry Configuration
44
+ In a modern frontend context (especially for MPAs), define multiple entry points in the bundler configuration. This generates separate, optimized JavaScript and CSS bundles for the public site versus the complex admin dashboard, drastically reducing overall payload sizes for general users.
45
+
46
+ **Implementation Checklist:**
47
+ - [ ] Create separate HTML entry points in the root/public directory (e.g., `index.html`, `admin.html`).
48
+ - [ ] Configure the frontend bundler (Vite/Webpack) to output multiple bundles.
49
+ - [ ] Set up server-side routing (Nginx or Node.js) to serve the correct entry HTML based on the URL path.
50
+ - [ ] Ensure shared components and utilities are properly tree-shaken and split into common chunks.
51
+
52
+ **Example: Vite Config for Multiple Entries**
53
+ ```javascript
54
+ import { defineConfig } from 'vite';
55
+ import { resolve } from 'path';
56
+
57
+ export default defineConfig({
58
+ build: {
59
+ rollupOptions: {
60
+ input: {
61
+ main: resolve(__dirname, 'index.html'),
62
+ admin: resolve(__dirname, 'admin.html'),
63
+ app: resolve(__dirname, 'app.html')
64
+ }
65
+ }
66
+ }
67
+ });
68
+ ```
69
+
42
70
  ### Framework Selection Guide
43
71
 
44
72
  | Need | Recommended Stack |
@@ -70,7 +98,7 @@ A structured approach for building and orchestrating Multi-Page Application (MPA
70
98
  ## Bahasa Indonesia
71
99
 
72
100
  ### Integrasi Orkestrasi
73
- Terhubung dan mengorkestrasi skill domain yang relevan seperti `modern-web-guidance`, `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
101
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `modern-web-guidance`, `brainstorming`, `zero-to-prod-orchestrator`, dan `session-memory-manager` untuk memastikan eksekusi yang kohesif.
74
102
 
75
103
  ### Deskripsi
76
104
  Pendekatan terstruktur untuk membangun dan mengorkestrasi arsitektur Multi-Page Application (MPA) di dalam satu repositori. Bertindak sebagai orkestrator yang menghubungkan prinsip MPA dengan skill spesialis lain untuk menghasilkan aplikasi server-rendered yang kohesif dan modern. Di 2026, MPA semakin banyak dibangun dengan **Astro 5** untuk situs konten-berat atau framework server tradisional yang diperkuat dengan **HTMX 2** atau **Alpine.js**.
@@ -83,6 +111,15 @@ Pendekatan terstruktur untuk membangun dan mengorkestrasi arsitektur Multi-Page
83
111
  5. **Ekosistem UI Bersama**: Direktori `layouts/` dan `components/` untuk elemen UI yang dapat digunakan kembali.
84
112
  6. **State Berbasis Session**: Cookie HTTP-only dan session sisi server untuk autentikasi dan konteks tenant.
85
113
 
114
+ ### Konfigurasi Bundler & Multi-Entry
115
+ Dalam konteks frontend modern (khususnya untuk MPA), tentukan beberapa *entry points* pada konfigurasi *bundler*. Ini akan menghasilkan bundel JavaScript dan CSS yang terpisah dan optimal antara situs publik dan dashboard admin, sehingga secara drastis mengurangi ukuran *payload* bagi pengguna umum.
116
+
117
+ **Checklist Implementasi:**
118
+ - [ ] Buat titik entri HTML terpisah di direktori utama/publik (misal: `index.html`, `admin.html`).
119
+ - [ ] Konfigurasi bundler frontend (Vite/Webpack) untuk menghasilkan multiple bundle.
120
+ - [ ] Siapkan routing di sisi server (Nginx atau Node.js) untuk menyajikan HTML entri yang benar berdasarkan path URL.
121
+ - [ ] Pastikan komponen dan utilitas yang dipakai bersama dioptimalkan (tree-shaking) dan dipisah ke dalam *common chunks*.
122
+
86
123
  ### Panduan Pemilihan Framework
87
124
 
88
125
  | Kebutuhan | Stack yang Direkomendasikan |
@@ -117,4 +154,4 @@ Pendekatan terstruktur untuk membangun dan mengorkestrasi arsitektur Multi-Page
117
154
  4. **Terms of Reference / Terms of Service** (`/terms`)
118
155
  5. **Privacy Policy** (`/privacy-policy`)
119
156
 
120
- These pages must be generated with standard boilerplate content that can later be customized to fit the specific application. Do not wait for the user to ask for them; they are a strict requirement for all web projects. / **WAJIB**: Otomatis buatkan halaman standar (About, Profile, Contact, Terms, Privacy Policy) pada setiap pembuatan aplikasi/website baru dengan konten boilerplate yang bisa disesuaikan nanti.
157
+ These pages must be generated with standard boilerplate content that can later be customized to fit the specific application. Do not wait for the user to ask for them; they are a strict requirement for all web projects. / **WAJIB**: Otomatis buatkan halaman standar (About, Profile, Contact, Terms, Privacy Policy) pada setiap pembuatan aplikasi/website baru dengan konten boilerplate yang bisa disesuaikan nanti.