vibes-plug 2.5.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/.claude/rules/vibes-plug-core.md +32 -0
  2. package/.cursor/rules/vibes-plug-core.mdc +51 -0
  3. package/.cursorrules +42 -0
  4. package/AGENTS.md +37 -7
  5. package/BLUEPRINT.md +309 -217
  6. package/CHANGELOG.md +133 -1
  7. package/CLAUDE.md +70 -0
  8. package/LICENSE +1 -1
  9. package/README.md +641 -415
  10. package/index.js +19 -0
  11. package/package.json +44 -8
  12. package/plugin.json +24 -7
  13. package/scripts/generate_swarm_gif.py +295 -0
  14. package/scripts/install.js +201 -0
  15. package/skills/accessibility-testing-expert/SKILL.md +116 -0
  16. package/skills/ai-cost-token-optimizer/SKILL.md +82 -52
  17. package/skills/ai-evals-benchmark-expert/SKILL.md +188 -0
  18. package/skills/ai-llm-integration-expert/SKILL.md +185 -178
  19. package/skills/ai-media-generation-expert/SKILL.md +172 -0
  20. package/skills/ai-prompt-engineering-expert/SKILL.md +84 -0
  21. package/skills/angular-expert/SKILL.md +148 -0
  22. package/skills/api-design-expert/SKILL.md +6 -3
  23. package/skills/api-gateway-proxy-expert/SKILL.md +81 -0
  24. package/skills/app-analyzer-optimizer/SKILL.md +6 -3
  25. package/skills/apple-ecosystem-expert/SKILL.md +144 -141
  26. package/skills/{asisten_ramah → asisten-ramah}/SKILL.md +7 -1
  27. package/skills/astro-framework-expert/SKILL.md +200 -0
  28. package/skills/async-queue-temporal-expert/SKILL.md +210 -24
  29. package/skills/authentication-identity-expert/SKILL.md +278 -275
  30. package/skills/auto-doc-updater/SKILL.md +7 -1
  31. package/skills/autonomous-chaos-monkey/SKILL.md +63 -63
  32. package/skills/autonomous-red-teamer/SKILL.md +172 -28
  33. package/skills/autonomous-tdd-debugger/SKILL.md +70 -64
  34. package/skills/background-jobs-queue-expert/SKILL.md +235 -0
  35. package/skills/biome-linter-formatter-expert/SKILL.md +89 -0
  36. package/skills/blockchain-web3-expert/SKILL.md +115 -0
  37. package/skills/bootstrap-to-modern/SKILL.md +9 -6
  38. package/skills/brainstorming/SKILL.md +58 -50
  39. package/skills/browser-automation-expert/SKILL.md +197 -21
  40. package/skills/bun-runtime-expert/SKILL.md +7 -1
  41. package/skills/chatbot-messaging-expert/SKILL.md +114 -0
  42. package/skills/ci-cd-devops-architect/SKILL.md +45 -36
  43. package/skills/cloud-hosting-expert/SKILL.md +7 -1
  44. package/skills/coderabbit/SKILL.md +7 -1
  45. package/skills/compliance-gdpr-privacy-expert/SKILL.md +85 -0
  46. package/skills/cron-scheduler-expert/SKILL.md +303 -297
  47. package/skills/data-pipeline-etl-expert/SKILL.md +84 -0
  48. package/skills/data-telemetry-expert/SKILL.md +7 -1
  49. package/skills/data-visualization-expert/SKILL.md +154 -0
  50. package/skills/database-migration-versioning-expert/SKILL.md +90 -0
  51. package/skills/database-orm-expert/SKILL.md +13 -3
  52. package/skills/dependency-upgrade-migrator/SKILL.md +300 -294
  53. package/skills/design-system-architect/SKILL.md +278 -259
  54. package/skills/desktop-electron-expert/SKILL.md +128 -0
  55. package/skills/documentation-site-expert/SKILL.md +59 -0
  56. package/skills/doku-mcp-server/SKILL.md +7 -1
  57. package/skills/doku-payment-gateway/SKILL.md +7 -1
  58. package/skills/domain-driven-design-expert/SKILL.md +82 -0
  59. package/skills/e2e-testing-expert/SKILL.md +7 -1
  60. package/skills/ecommerce-expert/SKILL.md +87 -0
  61. package/skills/edge-serverless-db-expert/SKILL.md +98 -42
  62. package/skills/email-notification-expert/SKILL.md +367 -361
  63. package/skills/error-resilience-expert/SKILL.md +485 -479
  64. package/skills/event-driven-architect/SKILL.md +7 -1
  65. package/skills/feature-flag-analytics-expert/SKILL.md +65 -45
  66. package/skills/file-upload-media-expert/SKILL.md +436 -430
  67. package/skills/firebase-security-expert/SKILL.md +7 -1
  68. package/skills/form-validation-expert/SKILL.md +406 -400
  69. package/skills/fullstack-expert/SKILL.md +60 -1
  70. package/skills/gemini-agent-booster/SKILL.md +173 -135
  71. package/skills/geospatial-maps-expert/SKILL.md +80 -0
  72. package/skills/global-a11y-i18n-expert/SKILL.md +7 -1
  73. package/skills/glsl-shader-expert/SKILL.md +106 -100
  74. package/skills/go-programming-expert/SKILL.md +21 -15
  75. package/skills/graph-rag-knowledge-expert/SKILL.md +159 -0
  76. package/skills/graphql-apollo-expert/SKILL.md +113 -107
  77. package/skills/headless-cms-expert/SKILL.md +181 -0
  78. package/skills/hig/SKILL.md +7 -1
  79. package/skills/js-backend-expert/SKILL.md +218 -216
  80. package/skills/legacy-code-translator/SKILL.md +70 -64
  81. package/skills/local-slm-edge-ai-expert/SKILL.md +167 -0
  82. package/skills/logging-error-tracking-expert/SKILL.md +343 -337
  83. package/skills/mcp-client-orchestrator/SKILL.md +75 -69
  84. package/skills/mcp-server-architect/SKILL.md +294 -194
  85. package/skills/micro-frontend-architect/SKILL.md +111 -105
  86. package/skills/mobile-expo-expert/SKILL.md +8 -2
  87. package/skills/mobile-push-notification-expert/SKILL.md +70 -50
  88. package/skills/modern-css-native-expert/SKILL.md +189 -0
  89. package/skills/monday-design-aesthetic/SKILL.md +7 -1
  90. package/skills/monorepo-architect/SKILL.md +7 -1
  91. package/skills/mpa-orchestrator/SKILL.md +20 -1
  92. package/skills/multi-agent-orchestration/SKILL.md +254 -234
  93. package/skills/multiple-entry-points/SKILL.md +37 -1
  94. package/skills/mvc-expert/SKILL.md +7 -1
  95. package/skills/n8n-automation-expert/SKILL.md +89 -0
  96. package/skills/nextjs-app-router-expert/SKILL.md +148 -0
  97. package/skills/openapi-swagger-codegen-expert/SKILL.md +67 -0
  98. package/skills/payment-gateway-expert/SKILL.md +85 -1
  99. package/skills/pdf-document-generation-expert/SKILL.md +91 -0
  100. package/skills/performance-web-vitals/SKILL.md +7 -1
  101. package/skills/post-quantum-crypto-migrator/SKILL.md +57 -57
  102. package/skills/prd-architect/SKILL.md +7 -1
  103. package/skills/proactive-background-watcher/SKILL.md +67 -61
  104. package/skills/production-ready-hardener/SKILL.md +461 -455
  105. package/skills/project-context-mapper/SKILL.md +84 -78
  106. package/skills/pwa-offline-first-expert/SKILL.md +185 -0
  107. package/skills/python-programming-expert/SKILL.md +407 -401
  108. package/skills/rate-limit-abuse-prevention/SKILL.md +376 -370
  109. package/skills/realtime-collaboration-expert/SKILL.md +55 -1
  110. package/skills/rich-text-editor-expert/SKILL.md +177 -0
  111. package/skills/rust-programming-expert/SKILL.md +7 -1
  112. package/skills/saas-billing/SKILL.md +7 -1
  113. package/skills/saas-multi-tenant/SKILL.md +7 -1
  114. package/skills/saas-mvp-launcher/SKILL.md +20 -1
  115. package/skills/saas-transformer/SKILL.md +499 -488
  116. package/skills/scalability-clean-code/SKILL.md +7 -1
  117. package/skills/search-engine-expert/SKILL.md +89 -0
  118. package/skills/secure-fuzz-testing/SKILL.md +7 -1
  119. package/skills/self-evolving-memory-graph/SKILL.md +90 -74
  120. package/skills/self-healing-cloud-orchestrator/SKILL.md +57 -57
  121. package/skills/senior-frontend/SKILL.md +141 -161
  122. package/skills/seo/SKILL.md +41 -17
  123. package/skills/session-context-loader/SKILL.md +82 -76
  124. package/skills/session-handoff-resume/SKILL.md +7 -1
  125. package/skills/{skill_baru → skill-baru}/SKILL.md +8 -2
  126. package/skills/solidjs-expert/SKILL.md +80 -0
  127. package/skills/spa-orchestrator/SKILL.md +20 -1
  128. package/skills/sse-websocket-streaming-expert/SKILL.md +93 -0
  129. package/skills/state-management-expert/SKILL.md +7 -1
  130. package/skills/supabase-migration/SKILL.md +47 -1
  131. package/skills/supabase-security-expert/SKILL.md +7 -1
  132. package/skills/svelte-sveltekit-expert/SKILL.md +91 -0
  133. package/skills/svg-animation-motion-expert/SKILL.md +115 -0
  134. package/skills/tailwind-expert/SKILL.md +88 -136
  135. package/skills/tanstack-query-expert/SKILL.md +7 -1
  136. package/skills/tauri-expert/SKILL.md +7 -1
  137. package/skills/token-saver/SKILL.md +1 -1
  138. package/skills/typescript-expert/SKILL.md +12 -6
  139. package/skills/ui-components-expert/SKILL.md +165 -279
  140. package/skills/ui-ux-pro-max/SKILL.md +23 -3
  141. package/skills/vector-db-rag-expert/SKILL.md +175 -19
  142. package/skills/vibe-code-gardener/SKILL.md +1 -1
  143. package/skills/visual-qa-vision-agent/SKILL.md +70 -64
  144. package/skills/voice-ai-realtime-agent/SKILL.md +202 -0
  145. package/skills/vue-frontend-expert/SKILL.md +131 -125
  146. package/skills/wasm-edge-computing-expert/SKILL.md +97 -0
  147. package/skills/web-3d-graphics-expert/SKILL.md +136 -130
  148. package/skills/web-game-engine-expert/SKILL.md +101 -95
  149. package/skills/web-scraper/SKILL.md +157 -207
  150. package/skills/website-design-cloner/SKILL.md +179 -173
  151. package/skills/webxr-ar-vr-expert/SKILL.md +122 -116
  152. package/skills/wordpress-headless-expert/SKILL.md +144 -0
  153. package/skills/zero-to-prod-orchestrator/SKILL.md +52 -27
  154. package/skills/zero-trust-secret-vault/SKILL.md +87 -39
  155. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  156. package/.github/workflows/publish.yml +0 -20
  157. package/CONTRIBUTING.md +0 -199
  158. package/SECURITY.md +0 -21
  159. package/banner.png +0 -0
  160. package/skills/autonomous-swarm-director/SKILL.md +0 -69
  161. package/skills/hyper-context-synthesizer/SKILL.md +0 -55
  162. package/skills/llm-cost-arbitrage-router/SKILL.md +0 -59
  163. package/skills/senior-fullstack/SKILL.md +0 -167
  164. package/skills/senior-fullstack/references/architecture_patterns.md +0 -160
  165. package/skills/senior-fullstack/references/development_workflows.md +0 -222
  166. package/skills/senior-fullstack/references/tech_stack_guide.md +0 -190
  167. package/skills/senior-fullstack/scripts/code_quality_analyzer.py +0 -114
  168. package/skills/senior-fullstack/scripts/fullstack_scaffolder.py +0 -114
  169. package/skills/senior-fullstack/scripts/project_scaffolder.py +0 -114
  170. package/skills/seo-aeo-landing-page-writer/SKILL.md +0 -97
  171. package/skills/seo-geo/SKILL.md +0 -188
  172. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
  173. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
  174. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
  175. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
  176. package/skills/ui_ux_expert/SKILL.md +0 -125
  177. package/vibes-swarm-demo.gif +0 -0
@@ -1,101 +1,107 @@
1
- ---
2
- name: glsl-shader-expert
3
- description: "Expert guide for writing custom GLSL shaders (Vertex/Fragment) for WebGL using Three.js and Babylon.js. Covers shader materials, post-processing, noise, and performance optimization."
1
+ ---
2
+ name: glsl-shader-expert
3
+ description: "Expert guide for writing custom GLSL shaders (Vertex/Fragment) for WebGL using Three.js and Babylon.js. Covers shader materials, post-processing, noise, and performance optimization."
4
4
  author: "Roedy Rustam"
5
- ---
6
-
7
- # GLSL Shader Expert (WebGL 3D Graphics)
8
-
9
- [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
-
11
- ---
12
-
13
- <a name="english"></a>
14
- ## English
15
-
16
- ### Description
17
- Production-grade guidance for writing and integrating custom GLSL (OpenGL Shading Language) shaders into web applications using **Three.js** (`ShaderMaterial` / `RawShaderMaterial`) or **Babylon.js** (`ShaderMaterial`). Focuses on creating advanced visual effects, custom lighting models, procedural textures (noise), and post-processing passes.
18
-
19
- ### Trigger Conditions
20
- Activate this skill when the user is:
21
- - Asking to create custom materials that standard PBR materials cannot achieve.
22
- - Writing Vertex or Fragment shaders in GLSL.
23
- - Implementing procedural generation (e.g., Perlin noise, Simplex noise) on the GPU.
24
- - Creating post-processing effects or screen-space shaders.
25
- - Optimizing GPU performance by moving CPU calculations to vertex shaders.
26
-
27
- ### Core Concepts
28
-
29
- #### 1. The Graphics Pipeline
30
- Understand the flow:
31
- 1. **Vertex Shader:** Runs for every vertex. Used to manipulate geometry (position) and pass data (varyings) to the fragment shader. Must set `gl_Position`.
32
- 2. **Fragment Shader:** Runs for every pixel (fragment). Used to determine color. Must set `gl_FragColor`.
33
-
34
- #### 2. Three.js `ShaderMaterial` Example
35
- ```javascript
36
- import * as THREE from 'three';
37
-
38
- const vertexShader = `
39
- varying vec2 vUv;
40
- void main() {
41
- vUv = uv;
42
- // Standard projection
43
- gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
44
- }
45
- `;
46
-
47
- const fragmentShader = `
48
- uniform float uTime;
49
- varying vec2 vUv;
50
- void main() {
51
- // Simple animated color based on UV coordinates and time
52
- vec3 color = vec3(vUv.x, vUv.y, sin(uTime) * 0.5 + 0.5);
53
- gl_FragColor = vec4(color, 1.0);
54
- }
55
- `;
56
-
57
- const material = new THREE.ShaderMaterial({
58
- vertexShader,
59
- fragmentShader,
60
- uniforms: {
61
- uTime: { value: 0 }
62
- }
63
- });
64
- ```
65
- *Note: In the render loop, you must update `material.uniforms.uTime.value += delta;`*
66
-
67
- #### 3. Best Practices for Shaders
68
- - **Avoid Branching:** GPU threads run in lockstep (warps/wavefronts). `if/else` statements can cause significant performance drops. Prefer mathematical functions like `step()`, `smoothstep()`, `mix()`, and `clamp()`.
69
- - **Precision:** Explicitly declare float precision (`precision mediump float;` or `highp` if necessary). Use `mediump` for colors/UVs to save performance, particularly on mobile.
70
- - **Use Uniforms Wisely:** Only pass data that changes per frame or per object as uniforms.
71
-
72
- ---
73
-
74
- ### Integration with Other Skills (MANDATORY)
75
- This skill works best when combined with:
76
- - `web-3d-graphics-expert` — For setting up the core WebGL scene in Three.js/Babylon.js.
77
- - `web-game-engine-expert` — For linking shader uniforms with physics data (e.g., impact ripples).
78
- - `ui-ux-pro-max` For ensuring shader visual effects match the modern Web design tokens.
79
-
80
- ### Referenced By Orchestrators (MANDATORY)
81
- - `brainstorming` — Add to "3D & Graphics" or "UI/UX & Design Systems".
82
- - `zero-to-prod-orchestrator` — Phase 5 (Frontend / WebGL Implementation).
83
-
84
- ---
85
-
86
- <a name="bahasa-indonesia"></a>
87
- ## Bahasa Indonesia
88
-
89
- ### Deskripsi
90
- Panduan ahli untuk menulis dan mengintegrasikan shader GLSL khusus ke dalam aplikasi web menggunakan **Three.js** atau **Babylon.js**. Mencakup pembuatan *Vertex Shader*, *Fragment Shader*, efek visual prosedural, dan optimasi GPU.
91
-
92
- ### Kondisi Pemicu
93
- - Saat pengguna ingin membuat efek visual kustom (seperti air, hologram, distorsi) yang tidak bisa dilakukan oleh material standar.
94
- - Menulis kode GLSL untuk *ShaderMaterial*.
95
- - Mengoptimalkan performa grafis dengan memindahkan komputasi CPU ke GPU.
96
-
97
- ### Panduan Singkat
98
- - **Vertex vs Fragment:** *Vertex shader* mengatur posisi dan memanipulasi geometri (`gl_Position`), sedangkan *Fragment shader* mengatur pewarnaan setiap pixel (`gl_FragColor`).
99
- - **Hindari If/Else:** CPU sangat cepat dalam percabangan (`if/else`), tetapi GPU sangat lambat. Gunakan fungsi interpolasi matematika bawaan GLSL seperti `step()`, `smoothstep()`, dan `mix()`.
100
- - **Gunakan Uniforms:** Gunakan `uniforms` untuk mengirim data dari JavaScript (seperti waktu, posisi mouse, atau tekstur) ke dalam shader. Update nilai uniform ini di dalam *render loop*.
101
- - **Presisi (Precision):** Gunakan `precision mediump float;` secara default untuk menyeimbangkan performa dan kualitas visual, terutama untuk optimalisasi *mobile*.
5
+ ---
6
+
7
+ # GLSL Shader Expert (WebGL 3D Graphics)
8
+
9
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
+
11
+ ---
12
+
13
+ <a name="english"></a>
14
+ ## English
15
+
16
+ ### Orchestration & Integration
17
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, and `project-context-mapper` to ensure cohesive execution.
18
+
19
+ ### Description
20
+ Production-grade guidance for writing and integrating custom GLSL (OpenGL Shading Language) shaders into web applications using **Three.js** (`ShaderMaterial` / `RawShaderMaterial`) or **Babylon.js** (`ShaderMaterial`). Focuses on creating advanced visual effects, custom lighting models, procedural textures (noise), and post-processing passes.
21
+
22
+ ### Trigger Conditions
23
+ Activate this skill when the user is:
24
+ - Asking to create custom materials that standard PBR materials cannot achieve.
25
+ - Writing Vertex or Fragment shaders in GLSL.
26
+ - Implementing procedural generation (e.g., Perlin noise, Simplex noise) on the GPU.
27
+ - Creating post-processing effects or screen-space shaders.
28
+ - Optimizing GPU performance by moving CPU calculations to vertex shaders.
29
+
30
+ ### Core Concepts
31
+
32
+ #### 1. The Graphics Pipeline
33
+ Understand the flow:
34
+ 1. **Vertex Shader:** Runs for every vertex. Used to manipulate geometry (position) and pass data (varyings) to the fragment shader. Must set `gl_Position`.
35
+ 2. **Fragment Shader:** Runs for every pixel (fragment). Used to determine color. Must set `gl_FragColor`.
36
+
37
+ #### 2. Three.js `ShaderMaterial` Example
38
+ ```javascript
39
+ import * as THREE from 'three';
40
+
41
+ const vertexShader = `
42
+ varying vec2 vUv;
43
+ void main() {
44
+ vUv = uv;
45
+ // Standard projection
46
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
47
+ }
48
+ `;
49
+
50
+ const fragmentShader = `
51
+ uniform float uTime;
52
+ varying vec2 vUv;
53
+ void main() {
54
+ // Simple animated color based on UV coordinates and time
55
+ vec3 color = vec3(vUv.x, vUv.y, sin(uTime) * 0.5 + 0.5);
56
+ gl_FragColor = vec4(color, 1.0);
57
+ }
58
+ `;
59
+
60
+ const material = new THREE.ShaderMaterial({
61
+ vertexShader,
62
+ fragmentShader,
63
+ uniforms: {
64
+ uTime: { value: 0 }
65
+ }
66
+ });
67
+ ```
68
+ *Note: In the render loop, you must update `material.uniforms.uTime.value += delta;`*
69
+
70
+ #### 3. Best Practices for Shaders
71
+ - **Avoid Branching:** GPU threads run in lockstep (warps/wavefronts). `if/else` statements can cause significant performance drops. Prefer mathematical functions like `step()`, `smoothstep()`, `mix()`, and `clamp()`.
72
+ - **Precision:** Explicitly declare float precision (`precision mediump float;` or `highp` if necessary). Use `mediump` for colors/UVs to save performance, particularly on mobile.
73
+ - **Use Uniforms Wisely:** Only pass data that changes per frame or per object as uniforms.
74
+
75
+ ---
76
+
77
+ ### Integration with Other Skills (MANDATORY)
78
+ This skill works best when combined with:
79
+ - `web-3d-graphics-expert` — For setting up the core WebGL scene in Three.js/Babylon.js.
80
+ - `web-game-engine-expert` For linking shader uniforms with physics data (e.g., impact ripples).
81
+ - `ui-ux-pro-max` — For ensuring shader visual effects match the modern Web design tokens.
82
+
83
+ ### Referenced By Orchestrators (MANDATORY)
84
+ - `brainstorming` — Add to "3D & Graphics" or "UI/UX & Design Systems".
85
+ - `zero-to-prod-orchestrator` — Phase 5 (Frontend / WebGL Implementation).
86
+
87
+ ---
88
+
89
+ <a name="bahasa-indonesia"></a>
90
+ ## Bahasa Indonesia
91
+
92
+ ### Integrasi Orkestrasi
93
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
94
+
95
+ ### Deskripsi
96
+ Panduan ahli untuk menulis dan mengintegrasikan shader GLSL khusus ke dalam aplikasi web menggunakan **Three.js** atau **Babylon.js**. Mencakup pembuatan *Vertex Shader*, *Fragment Shader*, efek visual prosedural, dan optimasi GPU.
97
+
98
+ ### Kondisi Pemicu
99
+ - Saat pengguna ingin membuat efek visual kustom (seperti air, hologram, distorsi) yang tidak bisa dilakukan oleh material standar.
100
+ - Menulis kode GLSL untuk *ShaderMaterial*.
101
+ - Mengoptimalkan performa grafis dengan memindahkan komputasi CPU ke GPU.
102
+
103
+ ### Panduan Singkat
104
+ - **Vertex vs Fragment:** *Vertex shader* mengatur posisi dan memanipulasi geometri (`gl_Position`), sedangkan *Fragment shader* mengatur pewarnaan setiap pixel (`gl_FragColor`).
105
+ - **Hindari If/Else:** CPU sangat cepat dalam percabangan (`if/else`), tetapi GPU sangat lambat. Gunakan fungsi interpolasi matematika bawaan GLSL seperti `step()`, `smoothstep()`, dan `mix()`.
106
+ - **Gunakan Uniforms:** Gunakan `uniforms` untuk mengirim data dari JavaScript (seperti waktu, posisi mouse, atau tekstur) ke dalam shader. Update nilai uniform ini di dalam *render loop*.
107
+ - **Presisi (Precision):** Gunakan `precision mediump float;` secara default untuk menyeimbangkan performa dan kualitas visual, terutama untuk optimalisasi *mobile*.
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: go-programming-expert
3
- description: "Expert-level skill for Go programming (Go 1.23/1.24+). Covers high-performance microservices, concurrency patterns, sqlc, net/http, Gin/Echo/Fiber, gRPC, and testing in English and Indonesian."
4
- author: "Roedy Rustam"
3
+ description: "Expert-level skill for Go programming (Go 1.25+). Covers high-performance microservices, concurrency patterns, sqlc, net/http, Gin/Echo/Fiber, gRPC, and testing in English and Indonesian."
4
+ author: "Roedy Rustam"
5
5
  ---
6
6
 
7
- # Go Programming Expert (Go 1.24 Edition)
7
+ # Go Programming Expert (Go 1.25 Edition)
8
8
 
9
9
  [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
10
10
 
@@ -13,11 +13,14 @@ author: "Roedy Rustam"
13
13
  <a name="english"></a>
14
14
  ## English
15
15
 
16
+ ### Orchestration & Integration
17
+ Connects and orchestrates with relevant domain skills like `brainstorming`, `zero-to-prod-orchestrator`, and `project-context-mapper` to ensure cohesive execution.
18
+
16
19
  ### Description
17
- Expert-level Go development for building high-performance microservices, APIs, and CLI tools. Covers **Go 1.24** features (range-over-func iterators, generic type aliases, weak pointers), structured logging with `slog`, `net/http` with the new ServeMux patterns, Gin/Echo/Fiber frameworks, sqlc for type-safe SQL, gRPC, and production testing patterns.
20
+ Expert-level Go development for building high-performance microservices, APIs, and CLI tools. Covers **Go 1.25** features (range-over-func iterators, generic type aliases, weak pointers), structured logging with `slog`, `net/http` with the new ServeMux patterns, Gin/Echo/Fiber frameworks, sqlc for type-safe SQL, gRPC, and production testing patterns.
18
21
 
19
22
  ### Trigger Conditions
20
- - Writing Go 1.23+ / 1.24+ microservices or APIs.
23
+ - Writing Go 1.24+ / 1.25+ microservices or APIs.
21
24
  - Implementing concurrency patterns with goroutines, channels, and `sync` primitives.
22
25
  - Using structured logging with `log/slog`.
23
26
  - Building HTTP servers with `net/http` ServeMux (Go 1.22+) or Gin/Echo/Fiber.
@@ -25,9 +28,9 @@ Expert-level Go development for building high-performance microservices, APIs, a
25
28
  - Implementing gRPC services with protobuf.
26
29
  - Writing Go tests with the standard `testing` package + `testify`.
27
30
 
28
- ### Go 1.24 — Key Features
31
+ ### Go 1.25 — Key Features
29
32
 
30
- #### Range-Over-Func (Go 1.22 → Stable in 1.24)
33
+ #### Range-Over-Func (Go 1.22 → Stable in 1.24/1.25)
31
34
  Range over custom iterators — enables functional-style collection operations:
32
35
  ```go
33
36
  // Define an iterator function
@@ -52,7 +55,7 @@ for n := range Fibonacci() {
52
55
  }
53
56
  ```
54
57
 
55
- #### Generic Type Aliases (Go 1.24)
58
+ #### Generic Type Aliases (Go 1.24/1.25)
56
59
  ```go
57
60
  // Type alias with generic parameters
58
61
  type Set[T comparable] = map[T]struct{}
@@ -62,7 +65,7 @@ type Result[T any] = struct{ Value T; Err error }
62
65
  var s Set[string] = make(map[string]struct{})
63
66
  ```
64
67
 
65
- #### Weak Pointers (Go 1.24)
68
+ #### Weak Pointers (Go 1.24/1.25)
66
69
  ```go
67
70
  import "weak"
68
71
 
@@ -250,24 +253,27 @@ func TestGetUser(t *testing.T) {
250
253
  <a name="bahasa-indonesia"></a>
251
254
  ## Bahasa Indonesia
252
255
 
256
+ ### Integrasi Orkestrasi
257
+ Terhubung dan mengorkestrasi skill domain yang relevan seperti `brainstorming`, `zero-to-prod-orchestrator`, dan `project-context-mapper` untuk memastikan eksekusi yang kohesif.
258
+
253
259
  ### Deskripsi
254
- Panduan Go tingkat ahli untuk membangun microservices, API, dan CLI tool berkinerja tinggi. Mencakup fitur **Go 1.24** (range-over-func, generic type alias, weak pointer), structured logging dengan `slog`, ServeMux `net/http` dengan pola baru (Go 1.22+), framework Gin/Echo/Fiber, sqlc untuk SQL type-safe, gRPC, dan pola pengujian produksi.
260
+ Panduan Go tingkat ahli untuk membangun microservices, API, dan CLI tool berkinerja tinggi. Mencakup fitur **Go 1.25** (range-over-func, generic type alias, weak pointer), structured logging dengan `slog`, ServeMux `net/http` dengan pola baru (Go 1.22+), framework Gin/Echo/Fiber, sqlc untuk SQL type-safe, gRPC, dan pola pengujian produksi.
255
261
 
256
262
  ### Kondisi Pemicu
257
- - Menulis microservices atau API Go 1.23+/1.24+.
263
+ - Menulis microservices atau API Go 1.24+/1.25+.
258
264
  - Mengimplementasikan pola konkurensi dengan goroutine, channel, dan primitif `sync`.
259
265
  - Menggunakan structured logging dengan `log/slog`.
260
266
  - Membangun HTTP server dengan ServeMux `net/http` (Go 1.22+) atau Gin/Echo/Fiber.
261
267
  - Menulis SQL type-safe dengan **sqlc** atau GORM.
262
268
  - Mengimplementasikan layanan gRPC dengan protobuf.
263
269
 
264
- ### Go 1.24 — Fitur Utama
270
+ ### Go 1.25 — Fitur Utama
265
271
 
266
- #### Range-Over-Func (Stabil di 1.24)
267
- Go 1.24 menstabilkan range over iterator function — memungkinkan koleksi gaya fungsional yang idiomatis tanpa mengekspos slice internal.
272
+ #### Range-Over-Func (Stabil di 1.24/1.25)
273
+ Go 1.24/1.25 menstabilkan range over iterator function — memungkinkan koleksi gaya fungsional yang idiomatis tanpa mengekspos slice internal.
268
274
 
269
275
  #### Generic Type Alias
270
- Go 1.24 memungkinkan alias tipe dengan parameter generic, meningkatkan komposibilitas tipe.
276
+ Go 1.24/1.25 memungkinkan alias tipe dengan parameter generic, meningkatkan komposibilitas tipe.
271
277
 
272
278
  #### Weak Pointer
273
279
  `weak.Make()` membuat pointer lemah yang tidak mencegah GC mengumpulkan objek — berguna untuk cache.
@@ -0,0 +1,159 @@
1
+ ---
2
+ name: graph-rag-knowledge-expert
3
+ description: "Expert guide for Knowledge Graphs, GraphRAG, Microsoft GraphRAG, Neo4j Text2Cypher, multi-hop relational retrieval, and hybrid vector-graph search / Panduan ahli Knowledge Graph, GraphRAG, dan pencarian relasional multi-hop."
4
+ author: "Roedy Rustam"
5
+ ---
6
+
7
+ # GraphRAG & Knowledge Graph Expert (2026 Edition)
8
+
9
+ Expert guide for implementing Knowledge Graph-augmented Retrieval (GraphRAG), solving the fatal weaknesses of vector search: multi-hop reasoning, relationship discovery, and global corpus understanding. Covers Microsoft GraphRAG, Neo4j Text2Cypher, FalkorDB, and hybrid Vector + Graph retrieval pipelines.
10
+
11
+ *Panduan ahli untuk implementasi Knowledge Graph dan GraphRAG untuk mengatasi kelemahan mendasar vector search murni dalam pemikiran multi-hop, deteksi relasi entitas tersembunyi, dan ringkasan global korpus.*
12
+
13
+ ---
14
+
15
+ ## 1. Why GraphRAG Over Pure Vector Search?
16
+
17
+ | Capability | Pure Vector Search (RAG) | GraphRAG (Graph + Vector) |
18
+ | :--- | :--- | :--- |
19
+ | **Direct Similarity ("What is X?")** | 🟢 Fast, accurate | 🟢 High accuracy |
20
+ | **Multi-Hop Traversal ("How does X affect Z via Y?")** | 🔴 Blind (returns fragmented chunks) | 🟢 Explores interconnected graph edges |
21
+ | **Global Corpus Query ("What are the main themes across all documents?")** | 🔴 Fails (limited to Top-K chunks) | 🟢 Hierarchical Community Summaries |
22
+ | **Hallucination Rate on Complex Queries** | 🔴 Moderate to High (context stitching) | 🟢 Grounded in explicit knowledge edges |
23
+
24
+ ---
25
+
26
+ ## 2. Production Recipe: Text2Cypher Knowledge Graph Querying (TypeScript)
27
+
28
+ Using Neo4j with deterministic schema introspection, preventing arbitrary syntax hallucinations.
29
+
30
+ ```typescript
31
+ // text2cypher.ts - Safe Neo4j Query Generation & Execution
32
+ import neo4j, { Driver } from 'neo4j-driver';
33
+ import { generateText } from 'ai';
34
+ import { openai } from '@ai-sdk/openai';
35
+
36
+ export class GraphRAGService {
37
+ private driver: Driver;
38
+
39
+ constructor(uri: string, user: string, pass: string) {
40
+ this.driver = neo4j.driver(uri, neo4j.auth.basic(user, pass));
41
+ }
42
+
43
+ // 1. Fetch live Graph Schema to ground the LLM
44
+ private async getGraphSchema(): Promise<string> {
45
+ const session = this.driver.session();
46
+ try {
47
+ const result = await session.run(`
48
+ CALL apoc.meta.schema() YIELD value
49
+ RETURN value
50
+ `);
51
+ return JSON.stringify(result.records[0]?.get('value') || {});
52
+ } finally {
53
+ await session.close();
54
+ }
55
+ }
56
+
57
+ // 2. Synthesize strict read-only Cypher query
58
+ public async queryGraph(userQuestion: string): Promise<any[]> {
59
+ const schema = await this.getGraphSchema();
60
+
61
+ const { text: cypherQuery } = await generateText({
62
+ model: openai('gpt-4o-mini'),
63
+ system: `
64
+ You are an expert Neo4j Cypher generator.
65
+ Generate ONLY valid, read-only CYPHER queries based on this schema:
66
+ ${schema}
67
+
68
+ Rules:
69
+ - Never generate CREATE, MERGE, DELETE, or SET statements.
70
+ - Always use parameterization where appropriate.
71
+ - Output ONLY the raw Cypher query, without markdown or backticks.
72
+ `,
73
+ prompt: `Translate this question into Cypher: ${userQuestion}`,
74
+ });
75
+
76
+ const sanitizedCypher = cypherQuery.trim().replace(/^```cypher|```$/g, '');
77
+
78
+ // 3. Execute with read-only transaction
79
+ const session = this.driver.session({ defaultAccessMode: neo4j.session.READ });
80
+ try {
81
+ const res = await session.run(sanitizedCypher);
82
+ return res.records.map((r) => r.toObject());
83
+ } finally {
84
+ await session.close();
85
+ }
86
+ }
87
+
88
+ public async close(): Promise<void> {
89
+ await this.driver.close();
90
+ }
91
+ }
92
+ ```
93
+
94
+ ---
95
+
96
+ ## 3. Production Recipe: Entity & Relation Extraction (Python)
97
+
98
+ ```python
99
+ # graph_extractor.py - Structured Entity & Relation Extraction
100
+ from typing import List
101
+ from pydantic import BaseModel, Field
102
+ import instructor
103
+ from openai import OpenAI
104
+
105
+ client = instructor.from_openai(OpenAI())
106
+
107
+ class Entity(BaseModel):
108
+ name: str = Field(description="Normalized entity name, uppercase")
109
+ type: str = Field(description="ORGANIZATION, PERSON, TECHNOLOGY, CONCEPT, LOCATION")
110
+ description: str = Field(description="Summary of entity role")
111
+
112
+ class Relationship(BaseModel):
113
+ source_entity: str
114
+ target_entity: str
115
+ relation_type: str = Field(description="USES, DEVELOPS, OWNS, LOCATED_IN, DEPENDS_ON")
116
+ weight: float = Field(default=1.0, ge=0.0, le=1.0)
117
+ description: str
118
+
119
+ class KnowledgeGraph(BaseModel):
120
+ entities: List[Entity]
121
+ relationships: List[Relationship]
122
+
123
+ def extract_knowledge_graph(document_text: str) -> KnowledgeGraph:
124
+ """Extracts entities and relationships from raw text into structured schema."""
125
+ return client.chat.completions.create(
126
+ model="gpt-4o-mini",
127
+ response_model=KnowledgeGraph,
128
+ messages=[
129
+ {
130
+ "role": "system",
131
+ "content": (
132
+ "Extract all named entities and factual relationships between them. "
133
+ "Ensure entity names are canonicalized and relationships are directed."
134
+ ),
135
+ },
136
+ {"role": "user", "content": document_text},
137
+ ],
138
+ temperature=0.0,
139
+ )
140
+ ```
141
+
142
+ ---
143
+
144
+ ## 4. Microsoft GraphRAG: Hierarchical Communities
145
+
146
+ For high-level summaries ("Summarize all technical debts reported across the system"):
147
+ 1. **Extraction**: Chunk documents ➔ Extract Entities & Relationships.
148
+ 2. **Clustering**: Apply **Leiden Algorithm** to detect hierarchical communities (Level 0: Micro, Level 1: Sub-domain, Level 2: Macro domain).
149
+ 3. **Summarization**: LLM generates pre-computed summaries for each community cluster.
150
+ 4. **Global Search**: Query runs across pre-computed community summaries in parallel, eliminating the need to read millions of tokens at inference time.
151
+
152
+ ---
153
+
154
+ ## Orchestration & Integration
155
+
156
+ - **`vector-db-rag-expert`**: For hybrid dense-vector similarity search combined with graph path discovery.
157
+ - **`database-orm-expert`**: For maintaining transactional relational mappings alongside graph stores.
158
+ - **`ai-llm-integration-expert`**: Connects reasoning models to multi-hop graph context.
159
+ - **`search-engine-expert`**: For keyword lexical indexing of graph node attributes.