vibes-plug 2.14.1 → 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 (151) hide show
  1. package/.claude/rules/vibes-plug-core.md +5 -0
  2. package/.cursor/rules/vibes-plug-core.mdc +7 -2
  3. package/.cursorrules +8 -2
  4. package/AGENTS.md +23 -2
  5. package/CHANGELOG.md +114 -0
  6. package/CLAUDE.md +10 -3
  7. package/README.md +216 -611
  8. package/bin/vibes.mjs +1104 -0
  9. package/package.json +11 -3
  10. package/plugin.json +4 -3
  11. package/scripts/check-anti-slop.mjs +53 -0
  12. package/scripts/install.js +3 -1
  13. package/scripts/update_skills.js +1 -1
  14. package/scripts/update_skills.mjs +86 -0
  15. package/scripts/validate-skills.mjs +111 -0
  16. package/skills/accessibility-testing-expert/SKILL.md +117 -116
  17. package/skills/affective-computing-emotion-ai/SKILL.md +83 -0
  18. package/skills/agentic-coding-workflow-expert/SKILL.md +297 -0
  19. package/skills/agentic-memory-architect/SKILL.md +52 -0
  20. package/skills/agentic-micro-economy-architect/SKILL.md +92 -0
  21. package/skills/ai-llm-integration-expert/SKILL.md +330 -194
  22. package/skills/ai-media-generation-expert/SKILL.md +173 -172
  23. package/skills/ai-prompt-engineering-expert/SKILL.md +204 -134
  24. package/skills/ai-safety-governance-expert/SKILL.md +223 -0
  25. package/skills/angular-expert/SKILL.md +149 -148
  26. package/skills/anti-slop/SKILL.md +134 -133
  27. package/skills/api-design-expert/SKILL.md +4 -3
  28. package/skills/api-gateway-proxy-expert/SKILL.md +3 -2
  29. package/skills/app-analyzer-optimizer/SKILL.md +4 -3
  30. package/skills/apple-ecosystem-expert/SKILL.md +6 -5
  31. package/skills/astro-framework-expert/SKILL.md +201 -200
  32. package/skills/async-queue-temporal-expert/SKILL.md +218 -217
  33. package/skills/authentication-identity-expert/SKILL.md +174 -173
  34. package/skills/autonomous-red-teamer/SKILL.md +338 -203
  35. package/skills/autonomous-tdd-debugger/SKILL.md +6 -5
  36. package/skills/biome-linter-formatter-expert/SKILL.md +90 -89
  37. package/skills/blockchain-web3-expert/SKILL.md +116 -115
  38. package/skills/brainstorming/SKILL.md +392 -377
  39. package/skills/browser-automation-expert/SKILL.md +260 -222
  40. package/skills/bun-runtime-expert/SKILL.md +5 -4
  41. package/skills/chatbot-messaging-expert/SKILL.md +115 -114
  42. package/skills/ci-cd-devops-architect/SKILL.md +3 -2
  43. package/skills/cloud-hosting-expert/SKILL.md +5 -4
  44. package/skills/coderabbit/SKILL.md +5 -4
  45. package/skills/compliance-gdpr-privacy-expert/SKILL.md +3 -2
  46. package/skills/composable-mach-architect/SKILL.md +338 -0
  47. package/skills/cron-scheduler-expert/SKILL.md +5 -4
  48. package/skills/data-pipeline-etl-expert/SKILL.md +3 -2
  49. package/skills/data-telemetry-expert/SKILL.md +5 -4
  50. package/skills/data-visualization-expert/SKILL.md +155 -154
  51. package/skills/database-orm-expert/SKILL.md +166 -165
  52. package/skills/deep-research-analyst/SKILL.md +182 -136
  53. package/skills/dependency-upgrade-migrator/SKILL.md +11 -10
  54. package/skills/design-system-architect/SKILL.md +4 -3
  55. package/skills/desktop-electron-expert/SKILL.md +129 -128
  56. package/skills/documentation-site-expert/SKILL.md +60 -59
  57. package/skills/doku-mcp-server/SKILL.md +5 -4
  58. package/skills/doku-payment-gateway/SKILL.md +250 -232
  59. package/skills/domain-driven-design-expert/SKILL.md +3 -2
  60. package/skills/e2e-testing-expert/SKILL.md +5 -4
  61. package/skills/ecommerce-expert/SKILL.md +88 -87
  62. package/skills/email-notification-expert/SKILL.md +5 -4
  63. package/skills/ephemeral-generative-ui-architect/SKILL.md +88 -0
  64. package/skills/error-resilience-expert/SKILL.md +14 -13
  65. package/skills/event-driven-architect/SKILL.md +5 -4
  66. package/skills/feature-flag-analytics-expert/SKILL.md +3 -2
  67. package/skills/file-upload-media-expert/SKILL.md +5 -4
  68. package/skills/firebase-security-expert/SKILL.md +5 -4
  69. package/skills/form-validation-expert/SKILL.md +7 -6
  70. package/skills/frontier-ai-models-expert/SKILL.md +116 -0
  71. package/skills/fullstack-expert/SKILL.md +185 -184
  72. package/skills/gemini-agent-booster/SKILL.md +248 -172
  73. package/skills/geospatial-maps-expert/SKILL.md +81 -80
  74. package/skills/global-a11y-i18n-expert/SKILL.md +5 -4
  75. package/skills/glsl-shader-expert/SKILL.md +191 -190
  76. package/skills/go-programming-expert/SKILL.md +5 -4
  77. package/skills/graph-rag-knowledge-expert/SKILL.md +201 -200
  78. package/skills/graphql-apollo-expert/SKILL.md +5 -4
  79. package/skills/headless-cms-expert/SKILL.md +182 -181
  80. package/skills/hig/SKILL.md +5 -4
  81. package/skills/js-backend-expert/SKILL.md +219 -218
  82. package/skills/legacy-code-translator/SKILL.md +6 -5
  83. package/skills/llm-finops-router/SKILL.md +52 -0
  84. package/skills/local-slm-edge-ai-expert/SKILL.md +168 -167
  85. package/skills/logging-error-tracking-expert/SKILL.md +5 -4
  86. package/skills/mcp-server-architect/SKILL.md +315 -307
  87. package/skills/micro-frontend-architect/SKILL.md +5 -4
  88. package/skills/mobile-expo-expert/SKILL.md +5 -4
  89. package/skills/modern-css-native-expert/SKILL.md +190 -189
  90. package/skills/monorepo-architect/SKILL.md +5 -4
  91. package/skills/mpa-orchestrator/SKILL.md +41 -4
  92. package/skills/multi-agent-orchestration/SKILL.md +388 -254
  93. package/skills/mvc-expert/SKILL.md +5 -4
  94. package/skills/n8n-automation-expert/SKILL.md +90 -89
  95. package/skills/nextjs-app-router-expert/SKILL.md +3 -2
  96. package/skills/openapi-swagger-codegen-expert/SKILL.md +4 -3
  97. package/skills/payment-gateway-expert/SKILL.md +131 -128
  98. package/skills/pdf-document-generation-expert/SKILL.md +92 -91
  99. package/skills/performance-web-vitals/SKILL.md +5 -4
  100. package/skills/post-quantum-crypto-migrator/SKILL.md +3 -2
  101. package/skills/prd-architect/SKILL.md +183 -182
  102. package/skills/proactive-background-watcher/SKILL.md +5 -4
  103. package/skills/production-ready-hardener/SKILL.md +10 -9
  104. package/skills/pwa-offline-first-expert/SKILL.md +227 -226
  105. package/skills/pydantic-ai-expert/SKILL.md +162 -161
  106. package/skills/python-programming-expert/SKILL.md +5 -4
  107. package/skills/rate-limit-abuse-prevention/SKILL.md +5 -4
  108. package/skills/realtime-collaboration-expert/SKILL.md +3 -2
  109. package/skills/rich-text-editor-expert/SKILL.md +178 -177
  110. package/skills/rust-programming-expert/SKILL.md +5 -4
  111. package/skills/saas-architect/SKILL.md +155 -154
  112. package/skills/saas-billing/SKILL.md +394 -382
  113. package/skills/saas-multi-tenant/SKILL.md +7 -6
  114. package/skills/scalability-clean-code/SKILL.md +5 -4
  115. package/skills/search-engine-expert/SKILL.md +90 -89
  116. package/skills/self-healing-cloud-orchestrator/SKILL.md +3 -2
  117. package/skills/senior-frontend/SKILL.md +14 -9
  118. package/skills/seo/SKILL.md +4 -4
  119. package/skills/session-memory-manager/SKILL.md +129 -128
  120. package/skills/solidjs-expert/SKILL.md +81 -80
  121. package/skills/spa-orchestrator/SKILL.md +5 -4
  122. package/skills/sse-websocket-streaming-expert/SKILL.md +3 -2
  123. package/skills/state-management-expert/SKILL.md +5 -4
  124. package/skills/supabase-security-expert/SKILL.md +5 -4
  125. package/skills/svelte-sveltekit-expert/SKILL.md +92 -91
  126. package/skills/svg-animation-motion-expert/SKILL.md +3 -2
  127. package/skills/synthetic-data-finetuning-expert/SKILL.md +156 -155
  128. package/skills/tailwind-expert/SKILL.md +62 -5
  129. package/skills/tanstack-query-expert/SKILL.md +5 -4
  130. package/skills/tauri-expert/SKILL.md +5 -4
  131. package/skills/typescript-expert/SKILL.md +5 -4
  132. package/skills/ui-ux-pro-max/SKILL.md +7 -6
  133. package/skills/vector-db-rag-expert/SKILL.md +209 -208
  134. package/skills/vercel-ai-sdk-expert/SKILL.md +226 -181
  135. package/skills/voice-ai-realtime-agent/SKILL.md +243 -242
  136. package/skills/vue-frontend-expert/SKILL.md +5 -4
  137. package/skills/wasm-edge-computing-expert/SKILL.md +3 -2
  138. package/skills/web-3d-graphics-expert/SKILL.md +314 -313
  139. package/skills/web-game-engine-expert/SKILL.md +330 -329
  140. package/skills/web-scraper/SKILL.md +158 -157
  141. package/skills/website-design-cloner/SKILL.md +5 -4
  142. package/skills/webxr-ar-vr-expert/SKILL.md +163 -162
  143. package/skills/wordpress-headless-expert/SKILL.md +145 -144
  144. package/skills/zero-tech-debt-auditor/SKILL.md +115 -0
  145. package/skills/zero-to-prod-orchestrator/SKILL.md +281 -229
  146. package/skills/zero-trust-secret-vault/SKILL.md +3 -2
  147. package/BLUEPRINT.md +0 -319
  148. package/skills/bootstrap-to-modern/SKILL.md +0 -94
  149. package/skills/multiple-entry-points/SKILL.md +0 -91
  150. package/skills/secure-fuzz-testing/SKILL.md +0 -207
  151. package/skills/visual-qa-vision-agent/SKILL.md +0 -71
@@ -0,0 +1,116 @@
1
+ ---
2
+ name: frontier-ai-models-expert
3
+ description: "Expert guide for late-2026 frontier AI models — Claude 5.1 (Fable/Mythos), Project Astra, Gemini 3.1, and Enterprise Frontier Safeguards (EFS) / Panduan ahli model AI frontier akhir-2026 — Claude 5.1, Project Astra, Gemini 3.1, dan Enterprise Frontier Safeguards (EFS)."
4
+ author: "vibes-plug-swarm"
5
+ version: "3.0.0"
6
+ ---
7
+
8
+ # frontier-ai-models-expert — vibes-plug Skill
9
+
10
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
11
+
12
+ ---
13
+
14
+ <a name="english"></a>
15
+ ## English
16
+
17
+ ### Orchestration & Integration
18
+ Connects and orchestrates with `brainstorming`, `zero-to-prod-orchestrator`, `vercel-ai-sdk-expert`, and `ai-llm-integration-expert` to integrate cutting-edge 2026 frontier models into production applications.
19
+
20
+ ### Description
21
+ Expert guide for integrating late-2026 frontier AI models, focusing on Anthropic's Claude 5.1 (Fable/Mythos) and Google DeepMind's Project Astra (powered by Gemini 3.1). Covers advanced capabilities such as Enterprise Frontier Safeguards (EFS), zero data retention architectures, terminal-bench coding, agentic scientific research, real-time spatial processing, and multimodal tool use.
22
+
23
+ ### Trigger Conditions
24
+ Activate this skill when the user is:
25
+ - Asking to integrate Claude 5.1, Claude Fable, or Claude Mythos.
26
+ - Requesting Project Astra, Gemini 3.1, or universal AI assistant capabilities.
27
+ - Building applications requiring zero data retention or Enterprise Frontier Safeguards (EFS).
28
+ - Developing agentic scientific research pipelines or terminal-based automated coding environments.
29
+
30
+ ---
31
+
32
+ ### Core Concepts
33
+
34
+ #### 1. Claude 5.1 (Fable & Mythos)
35
+ Claude 5.1 sets a new standard for agentic coding and knowledge work (Terminal-Bench 4.0).
36
+ - **Fable 5.1**: The generally available model optimized for cost (25% less for typical workloads, up to 45% less for agentic work via reduced cache read pricing) and high reasoning capabilities.
37
+ - **Mythos 5.1**: Available through trusted access programs, heavily safeguarded specifically to support high-risk work in cybersecurity (vulnerability discovery, not exploit generation) and life sciences.
38
+
39
+ #### 2. Enterprise Frontier Safeguards (EFS)
40
+ EFS represents the 2026 standard for data privacy, replacing traditional zero data retention policies. EFS works by storing active data in cloud infrastructure **controlled entirely by the customer**, not the AI provider.
41
+
42
+ #### 3. Project Astra & Gemini 3.1
43
+ Project Astra explores breakthrough capabilities for universal AI assistants.
44
+ - **Capabilities**: Real-time spatial processing, screensharing, advanced tool use, and multimodal input handling (audio, video, text).
45
+ - **Architecture**: Powered by the Gemini 3.1 architecture, offering unprecedented low-latency interaction and physical world understanding.
46
+
47
+ ---
48
+
49
+ ### Best Practices
50
+
51
+ 1. **Leverage Prompt Caching for Agentic Work**: When using Fable 5.1 for iterative tasks, always utilize prompt caching. The 45% price reduction for cache reads makes it highly efficient for recursive multi-agent reasoning.
52
+ 2. **Implement Customer-Controlled Storage for EFS**: For enterprise clients requiring maximum privacy, architecture must support provisioning infrastructure inside the client's VPC to handle EFS compliance.
53
+ 3. **Utilize Multimodal Context for Astra**: When integrating Astra-like capabilities, stream video frames and audio concurrently rather than converting everything to text, preserving spatial and temporal context.
54
+
55
+ ---
56
+
57
+ ### Common Pitfalls to Avoid
58
+
59
+ | Anti-Pattern | Problem | Correct Approach |
60
+ |---|---|---|
61
+ | Relying on provider storage for sensitive data | Fails EFS zero-trust standards | Provision customer-controlled storage buckets for EFS data handling |
62
+ | Using Claude Mythos 5.1 without trusted access | API requests will be rejected | Default to Claude Fable 5.1 for general applications |
63
+ | Converting real-time video to text descriptions | Loses spatial processing capabilities of Astra | Use native multimodal APIs (e.g., Multimodal Live API) to stream raw frames |
64
+
65
+ ---
66
+
67
+ ### Integration with Other Skills (MANDATORY)
68
+
69
+ This skill works best when combined with:
70
+ - `vercel-ai-sdk-expert` — For implementing Claude 5.1 and Gemini 3.1 streaming and tool calling in React/Next.js.
71
+ - `ai-llm-integration-expert` — For underlying model context protocol (MCP) configurations and RAG setups.
72
+ - `voice-ai-realtime-agent` — For integrating Project Astra's ultra-low latency voice capabilities.
73
+
74
+ ### Referenced By Orchestrators (MANDATORY)
75
+
76
+ This skill should be referenced by the following orchestrators:
77
+ - `brainstorming` — Add to the "AI & ML" row in the Skill Integration & Orchestration Matrix
78
+ - `zero-to-prod-orchestrator` — Add to Phase 4: Backend & AI Agents
79
+
80
+ ---
81
+
82
+ <a name="bahasa-indonesia"></a>
83
+ ## Bahasa Indonesia
84
+
85
+ ### Integrasi Orkestrasi
86
+ Terhubung dan mengorkestrasi dengan `brainstorming`, `zero-to-prod-orchestrator`, `vercel-ai-sdk-expert`, dan `ai-llm-integration-expert` untuk mengintegrasikan model frontier akhir 2026 ke dalam aplikasi produksi.
87
+
88
+ ### Deskripsi
89
+ Panduan ahli untuk mengintegrasikan model AI frontier akhir 2026, berfokus pada Claude 5.1 (Fable/Mythos) dari Anthropic dan Project Astra dari Google DeepMind (didukung oleh Gemini 3.1). Mencakup kemampuan tingkat lanjut seperti Enterprise Frontier Safeguards (EFS), arsitektur retensi data nol (zero data retention), coding terminal-bench, riset ilmiah agentic, pemrosesan spasial real-time, dan penggunaan tool multimodal.
90
+
91
+ ### Kondisi Pemicu
92
+ Aktifkan skill ini ketika pengguna sedang:
93
+ - Meminta integrasi Claude 5.1, Claude Fable, atau Claude Mythos.
94
+ - Menginginkan Project Astra, Gemini 3.1, atau kapabilitas asisten AI universal.
95
+ - Membangun aplikasi yang memerlukan retensi data nol atau EFS.
96
+ - Mengembangkan pipeline riset ilmiah agentic atau lingkungan coding otomatis berbasis terminal.
97
+
98
+ ### Panduan Singkat
99
+
100
+ - **Gunakan Fable 5.1 untuk Efisiensi**: Fable 5.1 mengurangi biaya baca cache hingga 45%, sangat ideal untuk pekerjaan agentic yang panjang.
101
+ - **Terapkan EFS untuk Keamanan Enterprise**: Untuk tingkat privasi tertinggi, gunakan Enterprise Frontier Safeguards yang menyimpan data di infrastruktur cloud yang dikendalikan penuh oleh pelanggan.
102
+ - **Manfaatkan Project Astra untuk Multimodal Real-Time**: Gunakan kemampuan Astra untuk pemrosesan spasial, screensharing, dan interaksi latensi rendah tanpa harus mengonversi media menjadi teks terlebih dahulu.
103
+ - **Perhatikan Akses Model**: Gunakan Mythos 5.1 khusus untuk tugas keamanan siber (deteksi kerentanan) dan ilmu hayat melalui program akses terpercaya (trusted access program).
104
+
105
+ ### Integrasi dengan Skill Lain (WAJIB)
106
+
107
+ Skill ini bekerja paling baik dikombinasikan dengan:
108
+ - `vercel-ai-sdk-expert` — Untuk mengimplementasikan streaming Claude 5.1 dan Gemini 3.1 di React/Next.js.
109
+ - `ai-llm-integration-expert` — Untuk konfigurasi dasar Model Context Protocol (MCP) dan setup RAG.
110
+ - `voice-ai-realtime-agent` — Untuk kapabilitas suara real-time latensi rendah.
111
+
112
+ ### Direferensikan oleh Orchestrator (WAJIB)
113
+
114
+ Skill ini harus direferensikan oleh orchestrator berikut:
115
+ - `brainstorming` — Tambahkan ke baris "AI & ML" di Matriks Orkestrasi
116
+ - `zero-to-prod-orchestrator` — Tambahkan ke Fase 4 (Backend APIs & AI Agents)
@@ -1,184 +1,185 @@
1
- ---
2
- name: fullstack-expert
3
- description: "Expert-level fullstack development guide covering multi-language (TypeScript, Python, Go, Rust), API design (OpenAPI 3.1, gRPC), microservices, system design patterns, and polyglot architecture / Panduan fullstack tingkat ahli mencakup multi-bahasa, desain API, microservices, dan arsitektur polyglot."
4
- author: "Roedy Rustam"
5
- ---
6
-
7
- # Fullstack Expert (2026 Polyglot & Systems Edition)
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 domain skills like `brainstorming`, `zero-to-prod-orchestrator`, `senior-frontend`, `js-backend-expert`, `go-programming-expert`, `python-programming-expert`, and `rust-programming-expert`.
18
-
19
- ### Description
20
- Expert-level fullstack development across multiple languages and frameworks. Focuses on polyglot backend architectures, system design patterns (Event-Driven Saga, CQRS), API contracts (OpenAPI 3.1, gRPC), and monorepo shared types.
21
-
22
- ### Trigger Conditions
23
- - Choosing the right language and framework for a multi-service architecture.
24
- - Designing API contracts (REST, gRPC, Hono RPC) between heterogeneous services.
25
- - Implementing distributed system design patterns (Saga, CQRS).
26
- - Setting up a polyglot monorepo with shared types across frontend and backend.
27
-
28
- ---
29
-
30
- ### 2026 Polyglot Architecture Matrix
31
-
32
- > For comprehensive frontend UI architecture, see `senior-frontend` and `nextjs-app-router-expert`.
33
- > For dedicated AI agent workflows and LLM integrations, see `ai-llm-integration-expert` and `multi-agent-orchestration`.
34
-
35
- | Language | Primary Frameworks | Ideal Workloads |
36
- |---|---|---|
37
- | **TypeScript** | Hono, Fastify 5, NestJS | Serverless, Edge APIs, type-safe RPC |
38
- | **Python** | FastAPI 0.115+, Django 5 | Data science, LLM orchestration, async queues |
39
- | **Go** | net/http (Go 1.25+), Gin, Echo | Ultra-high throughput microservices, networking, CLIs |
40
- | **Rust** | Axum 0.8, Actix-web 4 | High-performance compute, memory safety, WASM |
41
-
42
- #### Infrastructure & Multi-Service Storage
43
- - **Primary OLTP**: PostgreSQL with connection pooling (PgBouncer / Supavisor).
44
- - **Analytics OLAP**: ClickHouse / DuckDB for high-speed aggregations.
45
- - **Cache & Ephemeral State**: Redis / Upstash with TTL.
46
- - **Vector Search**: pgvector or Qdrant for semantic search.
47
-
48
- ---
49
-
50
- ### API Design Standards
51
-
52
- #### REST — OpenAPI 3.1
53
- ```yaml
54
- openapi: "3.1.0"
55
- info:
56
- title: "SaaS Multi-Service API"
57
- version: "1.0.0"
58
- paths:
59
- /api/v1/workspaces/{id}:
60
- get:
61
- summary: "Get workspace by ID"
62
- parameters:
63
- - name: id
64
- in: path
65
- required: true
66
- schema: { type: string, format: uuid }
67
- responses:
68
- "200":
69
- content:
70
- application/json:
71
- schema: { $ref: "#/components/schemas/Workspace" }
72
- "404":
73
- content:
74
- application/json:
75
- schema: { $ref: "#/components/schemas/ProblemDetail" }
76
- ```
77
-
78
- #### gRPC — Protocol Buffers (`proto3`)
79
- ```protobuf
80
- syntax = "proto3";
81
- package user.v1;
82
-
83
- service UserService {
84
- rpc GetUser (GetUserRequest) returns (User);
85
- rpc ListUsers (ListUsersRequest) returns (stream User);
86
- rpc CreateUser (CreateUserRequest) returns (User);
87
- }
88
-
89
- message User {
90
- string id = 1;
91
- string email = 2;
92
- string name = 3;
93
- repeated string workspace_ids = 4;
94
- }
95
- ```
96
-
97
- ---
98
-
99
- ### Microservice Patterns
100
-
101
- #### Event-Driven (Saga Pattern with Compensations)
102
- ```
103
- Order Service ──publishes──> "order.created" ──> Payment Service
104
- │
105
- ┌──────┴──────┐
106
- success? failure?
107
- │ │
108
- "payment.succeeded" "payment.failed"
109
- │ │
110
- Inventory Service Order Service
111
- (reserve stock) (cancel order)
112
- ```
113
-
114
- #### CQRS (Command Query Responsibility Segregation)
115
- - **Write side**: Commands validate and update the primary relational database.
116
- - **Read side**: Events project into read-optimized denormalized views or ClickHouse tables for high-frequency queries.
117
-
118
- ---
119
-
120
- ### AI-Native Backend Integration
121
- ```typescript
122
- import { generateObject } from 'ai';
123
- import { anthropic } from '@ai-sdk/anthropic';
124
- import { z } from 'zod';
125
-
126
- app.post('/api/analyze', async (c) => {
127
- const { content } = await c.req.json();
128
- const { object } = await generateObject({
129
- model: anthropic('claude-3-7-sonnet-20250219'),
130
- schema: z.object({
131
- sentiment: z.enum(['positive', 'neutral', 'negative']),
132
- topics: z.array(z.string()),
133
- summary: z.string().max(200),
134
- }),
135
- prompt: `Analyze: ${content}`,
136
- });
137
- return c.json(object);
138
- });
139
- ```
140
-
141
- ---
142
-
143
- ### Monorepo with Shared Types
144
- ```typescript
145
- // packages/types/src/index.ts — single source of truth
146
- export interface User {
147
- id: string;
148
- email: string;
149
- name: string;
150
- plan: 'free' | 'pro' | 'enterprise';
151
- isSuperAdmin: boolean;
152
- }
153
- ```
154
-
155
- ### Production Security Checklist
156
- - [ ] User inputs validated with Zod / Pydantic on the server.
157
- - [ ] Parameterized queries enforced across all database layers.
158
- - [ ] Rate limiting on all public endpoints (`rate-limit-abuse-prevention`).
159
- - [ ] Super Admin routes strictly isolated to dedicated subdomain.
160
-
161
- ## Orchestration & Integration
162
- - Integrates with: `js-backend-expert`, `go-programming-expert`, `python-programming-expert`, `rust-programming-expert`, `nextjs-app-router-expert`, `api-design-expert`.
163
-
164
- ---
165
-
166
- <a name="bahasa-indonesia"></a>
167
- ## Bahasa Indonesia
168
-
169
- ### Deskripsi
170
- Panduan pengembangan fullstack tingkat ahli multi-bahasa (TypeScript, Python, Go, Rust), desain kontrak API (OpenAPI 3.1, gRPC), pola arsitektur microservices (Saga, CQRS), dan monorepo shared types.
171
-
172
- ### Matriks Arsitektur Polyglot 2026
173
- - **TypeScript**: Hono, Fastify 5, NestJS (Serverless, Cloudflare Edge, Hono RPC).
174
- - **Python**: FastAPI 0.115+, Django 5 (AI/ML, orkestrasi LLM, pipeline asinkron).
175
- - **Go**: net/http (Go 1.25+), Gin (Microservices throughput tinggi, CLI).
176
- - **Rust**: Axum 0.8, Actix-web 4 (Performa ekstrem, komputasi berat, WASM).
177
-
178
- ### Pola Sistem Terdistribusi
179
- 1. **Saga Pattern**: Kompensasi rollback bertahap saat transaksi multi-layanan mengalami kegagalan.
180
- 2. **CQRS**: Memisahkan database tulis (PostgreSQL) dari view proyeksi baca (ClickHouse/Redis) untuk beban baca tinggi.
181
- 3. **Monorepo Shared Types**: Simpan definisi tipe bersama di `packages/types` sebagai single source of truth antara frontend dan backend.
182
-
183
- ## Integrasi Orkestrasi
184
- - Terintegrasi dengan: `js-backend-expert`, `go-programming-expert`, `python-programming-expert`, `rust-programming-expert`, `nextjs-app-router-expert`, `api-design-expert`.
1
+ ---
2
+ name: fullstack-expert
3
+ description: "Expert-level fullstack development guide covering multi-language (TypeScript, Python, Go, Rust), API design (OpenAPI 3.1, gRPC), microservices, system design patterns, and polyglot architecture / Panduan fullstack tingkat ahli mencakup multi-bahasa, desain API, microservices, dan arsitektur polyglot."
4
+ author: "Roedy Rustam"
5
+ version: "3.0.0"
6
+ ---
7
+
8
+ # Fullstack Expert (2026 Polyglot & Systems Edition)
9
+
10
+ [English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
11
+
12
+ ---
13
+
14
+ <a name="english"></a>
15
+ ## English
16
+
17
+ ### Orchestration & Integration
18
+ Connects and orchestrates with domain skills like `brainstorming`, `zero-to-prod-orchestrator`, `senior-frontend`, `js-backend-expert`, `go-programming-expert`, `python-programming-expert`, and `rust-programming-expert`.
19
+
20
+ ### Description
21
+ Expert-level fullstack development across multiple languages and frameworks. Focuses on polyglot backend architectures, system design patterns (Event-Driven Saga, CQRS), API contracts (OpenAPI 3.1, gRPC), and monorepo shared types.
22
+
23
+ ### Trigger Conditions
24
+ - Choosing the right language and framework for a multi-service architecture.
25
+ - Designing API contracts (REST, gRPC, Hono RPC) between heterogeneous services.
26
+ - Implementing distributed system design patterns (Saga, CQRS).
27
+ - Setting up a polyglot monorepo with shared types across frontend and backend.
28
+
29
+ ---
30
+
31
+ ### 2026 Polyglot Architecture Matrix
32
+
33
+ > For comprehensive frontend UI architecture, see `senior-frontend` and `nextjs-app-router-expert`.
34
+ > For dedicated AI agent workflows and LLM integrations, see `ai-llm-integration-expert` and `multi-agent-orchestration`.
35
+
36
+ | Language | Primary Frameworks | Ideal Workloads |
37
+ |---|---|---|
38
+ | **TypeScript** | Hono, Fastify 5, NestJS | Serverless, Edge APIs, type-safe RPC |
39
+ | **Python** | FastAPI 0.115+, Django 5 | Data science, LLM orchestration, async queues |
40
+ | **Go** | net/http (Go 1.25+), Gin, Echo | Ultra-high throughput microservices, networking, CLIs |
41
+ | **Rust** | Axum 0.8, Actix-web 4 | High-performance compute, memory safety, WASM |
42
+
43
+ #### Infrastructure & Multi-Service Storage
44
+ - **Primary OLTP**: PostgreSQL with connection pooling (PgBouncer / Supavisor).
45
+ - **Analytics OLAP**: ClickHouse / DuckDB for high-speed aggregations.
46
+ - **Cache & Ephemeral State**: Redis / Upstash with TTL.
47
+ - **Vector Search**: pgvector or Qdrant for semantic search.
48
+
49
+ ---
50
+
51
+ ### API Design Standards
52
+
53
+ #### REST — OpenAPI 3.1
54
+ ```yaml
55
+ openapi: "3.1.0"
56
+ info:
57
+ title: "SaaS Multi-Service API"
58
+ version: "1.0.0"
59
+ paths:
60
+ /api/v1/workspaces/{id}:
61
+ get:
62
+ summary: "Get workspace by ID"
63
+ parameters:
64
+ - name: id
65
+ in: path
66
+ required: true
67
+ schema: { type: string, format: uuid }
68
+ responses:
69
+ "200":
70
+ content:
71
+ application/json:
72
+ schema: { $ref: "#/components/schemas/Workspace" }
73
+ "404":
74
+ content:
75
+ application/json:
76
+ schema: { $ref: "#/components/schemas/ProblemDetail" }
77
+ ```
78
+
79
+ #### gRPC — Protocol Buffers (`proto3`)
80
+ ```protobuf
81
+ syntax = "proto3";
82
+ package user.v1;
83
+
84
+ service UserService {
85
+ rpc GetUser (GetUserRequest) returns (User);
86
+ rpc ListUsers (ListUsersRequest) returns (stream User);
87
+ rpc CreateUser (CreateUserRequest) returns (User);
88
+ }
89
+
90
+ message User {
91
+ string id = 1;
92
+ string email = 2;
93
+ string name = 3;
94
+ repeated string workspace_ids = 4;
95
+ }
96
+ ```
97
+
98
+ ---
99
+
100
+ ### Microservice Patterns
101
+
102
+ #### Event-Driven (Saga Pattern with Compensations)
103
+ ```
104
+ Order Service ──publishes──> "order.created" ──> Payment Service
105
+ │
106
+ ┌──────┴──────┐
107
+ success? failure?
108
+ │ │
109
+ "payment.succeeded" "payment.failed"
110
+ │ │
111
+ Inventory Service Order Service
112
+ (reserve stock) (cancel order)
113
+ ```
114
+
115
+ #### CQRS (Command Query Responsibility Segregation)
116
+ - **Write side**: Commands validate and update the primary relational database.
117
+ - **Read side**: Events project into read-optimized denormalized views or ClickHouse tables for high-frequency queries.
118
+
119
+ ---
120
+
121
+ ### AI-Native Backend Integration
122
+ ```typescript
123
+ import { generateObject } from 'ai';
124
+ import { anthropic } from '@ai-sdk/anthropic';
125
+ import { z } from 'zod';
126
+
127
+ app.post('/api/analyze', async (c) => {
128
+ const { content } = await c.req.json();
129
+ const { object } = await generateObject({
130
+ model: anthropic('claude-3-7-sonnet-20250219'),
131
+ schema: z.object({
132
+ sentiment: z.enum(['positive', 'neutral', 'negative']),
133
+ topics: z.array(z.string()),
134
+ summary: z.string().max(200),
135
+ }),
136
+ prompt: `Analyze: ${content}`,
137
+ });
138
+ return c.json(object);
139
+ });
140
+ ```
141
+
142
+ ---
143
+
144
+ ### Monorepo with Shared Types
145
+ ```typescript
146
+ // packages/types/src/index.ts — single source of truth
147
+ export interface User {
148
+ id: string;
149
+ email: string;
150
+ name: string;
151
+ plan: 'free' | 'pro' | 'enterprise';
152
+ isSuperAdmin: boolean;
153
+ }
154
+ ```
155
+
156
+ ### Production Security Checklist
157
+ - [ ] User inputs validated with Zod / Pydantic on the server.
158
+ - [ ] Parameterized queries enforced across all database layers.
159
+ - [ ] Rate limiting on all public endpoints (`rate-limit-abuse-prevention`).
160
+ - [ ] Super Admin routes strictly isolated to dedicated subdomain.
161
+
162
+ ## Orchestration & Integration
163
+ - Integrates with: `js-backend-expert`, `go-programming-expert`, `python-programming-expert`, `rust-programming-expert`, `nextjs-app-router-expert`, `api-design-expert`.
164
+
165
+ ---
166
+
167
+ <a name="bahasa-indonesia"></a>
168
+ ## Bahasa Indonesia
169
+
170
+ ### Deskripsi
171
+ Panduan pengembangan fullstack tingkat ahli multi-bahasa (TypeScript, Python, Go, Rust), desain kontrak API (OpenAPI 3.1, gRPC), pola arsitektur microservices (Saga, CQRS), dan monorepo shared types.
172
+
173
+ ### Matriks Arsitektur Polyglot 2026
174
+ - **TypeScript**: Hono, Fastify 5, NestJS (Serverless, Cloudflare Edge, Hono RPC).
175
+ - **Python**: FastAPI 0.115+, Django 5 (AI/ML, orkestrasi LLM, pipeline asinkron).
176
+ - **Go**: net/http (Go 1.25+), Gin (Microservices throughput tinggi, CLI).
177
+ - **Rust**: Axum 0.8, Actix-web 4 (Performa ekstrem, komputasi berat, WASM).
178
+
179
+ ### Pola Sistem Terdistribusi
180
+ 1. **Saga Pattern**: Kompensasi rollback bertahap saat transaksi multi-layanan mengalami kegagalan.
181
+ 2. **CQRS**: Memisahkan database tulis (PostgreSQL) dari view proyeksi baca (ClickHouse/Redis) untuk beban baca tinggi.
182
+ 3. **Monorepo Shared Types**: Simpan definisi tipe bersama di `packages/types` sebagai single source of truth antara frontend dan backend.
183
+
184
+ ## Integrasi Orkestrasi
185
+ - Terintegrasi dengan: `js-backend-expert`, `go-programming-expert`, `python-programming-expert`, `rust-programming-expert`, `nextjs-app-router-expert`, `api-design-expert`.