vibes-plug 1.0.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +20 -0
- package/AGENTS.md +66 -0
- package/BLUEPRINT.md +152 -60
- package/CHANGELOG.md +50 -0
- package/README.md +346 -194
- package/package.json +25 -25
- package/plugin.json +1 -1
- package/skills/ai-cost-token-optimizer/SKILL.md +52 -0
- package/skills/ai-llm-integration-expert/SKILL.md +180 -162
- package/skills/api-design-expert/SKILL.md +314 -310
- package/skills/app-analyzer-optimizer/SKILL.md +193 -189
- package/skills/apple-ecosystem-expert/SKILL.md +142 -0
- package/skills/async-queue-temporal-expert/SKILL.md +54 -0
- package/skills/authentication-identity-expert/SKILL.md +251 -20
- package/skills/auto-doc-updater/SKILL.md +214 -204
- package/skills/autonomous-chaos-monkey/SKILL.md +63 -0
- package/skills/autonomous-red-teamer/SKILL.md +59 -0
- package/skills/autonomous-swarm-director/SKILL.md +69 -0
- package/skills/autonomous-tdd-debugger/SKILL.md +65 -0
- package/skills/bootstrap-to-modern/SKILL.md +90 -86
- package/skills/brainstorming/SKILL.md +373 -353
- package/skills/browser-automation-expert/SKILL.md +46 -0
- package/skills/ci-cd-devops-architect/SKILL.md +72 -45
- package/skills/cloud-hosting-expert/SKILL.md +244 -244
- package/skills/coderabbit/SKILL.md +192 -192
- package/skills/cron-scheduler-expert/SKILL.md +298 -0
- package/skills/data-telemetry-expert/SKILL.md +213 -213
- package/skills/database-orm-expert/SKILL.md +294 -294
- package/skills/dependency-upgrade-migrator/SKILL.md +295 -0
- package/skills/design-system-architect/SKILL.md +27 -10
- package/skills/doku-mcp-server/SKILL.md +251 -0
- package/skills/doku-payment-gateway/SKILL.md +227 -0
- package/skills/e2e-testing-expert/SKILL.md +315 -315
- package/skills/edge-serverless-db-expert/SKILL.md +43 -0
- package/skills/email-notification-expert/SKILL.md +362 -0
- package/skills/error-resilience-expert/SKILL.md +480 -0
- package/skills/event-driven-architect/SKILL.md +81 -81
- package/skills/feature-flag-analytics-expert/SKILL.md +46 -0
- package/skills/file-upload-media-expert/SKILL.md +431 -0
- package/skills/form-validation-expert/SKILL.md +401 -0
- package/skills/fullstack-expert/SKILL.md +202 -202
- package/skills/fullstack-expert/references/api_design_guide.md +466 -466
- package/skills/fullstack-expert/references/multi_language_backend.md +528 -528
- package/skills/fullstack-expert/scripts/api_contract_validator.py +253 -253
- package/skills/fullstack-expert/scripts/architecture_analyzer.py +326 -326
- package/skills/gemini-agent-booster/SKILL.md +135 -135
- package/skills/global-a11y-i18n-expert/SKILL.md +81 -81
- package/skills/glsl-shader-expert/SKILL.md +101 -0
- package/skills/go-programming-expert/SKILL.md +295 -295
- package/skills/graphql-apollo-expert/SKILL.md +108 -0
- package/skills/hig/SKILL.md +188 -188
- package/skills/hyper-context-synthesizer/SKILL.md +55 -0
- package/skills/js-backend-expert/SKILL.md +34 -9
- package/skills/legacy-code-translator/SKILL.md +65 -0
- package/skills/llm-cost-arbitrage-router/SKILL.md +59 -0
- package/skills/logging-error-tracking-expert/SKILL.md +338 -0
- package/skills/mcp-client-orchestrator/SKILL.md +70 -0
- package/skills/mcp-server-architect/SKILL.md +194 -194
- package/skills/micro-frontend-architect/SKILL.md +106 -0
- package/skills/mobile-expo-expert/SKILL.md +186 -186
- package/skills/mobile-push-notification-expert/SKILL.md +51 -0
- package/skills/monday-design-aesthetic/SKILL.md +67 -67
- package/skills/monorepo-architect/SKILL.md +227 -227
- package/skills/mpa-orchestrator/SKILL.md +101 -101
- package/skills/multi-agent-orchestration/SKILL.md +234 -234
- package/skills/multiple-entry-points/SKILL.md +55 -55
- package/skills/mvc-expert/SKILL.md +231 -231
- package/skills/payment-gateway-expert/SKILL.md +45 -45
- package/skills/performance-web-vitals/SKILL.md +332 -332
- package/skills/post-quantum-crypto-migrator/SKILL.md +57 -0
- package/skills/prd-architect/SKILL.md +201 -191
- package/skills/proactive-background-watcher/SKILL.md +62 -0
- package/skills/production-ready-hardener/PRODUCTION_READINESS_REPORT.md +67 -0
- package/skills/production-ready-hardener/SKILL.md +173 -186
- package/skills/production-ready-hardener/references/production_checklist.md +161 -161
- package/skills/production-ready-hardener/scripts/production_readiness_scanner.py +881 -875
- package/skills/project-context-mapper/SKILL.md +79 -0
- package/skills/python-programming-expert/SKILL.md +263 -132
- package/skills/rate-limit-abuse-prevention/SKILL.md +371 -0
- package/skills/realtime-collaboration-expert/SKILL.md +45 -45
- package/skills/rust-programming-expert/SKILL.md +235 -235
- package/skills/saas-billing/SKILL.md +377 -377
- package/skills/saas-multi-tenant/SKILL.md +251 -237
- package/skills/saas-mvp-launcher/SKILL.md +10 -0
- package/skills/saas-transformer/SKILL.md +187 -144
- package/skills/saas-transformer/references/billing_integration_guide.md +401 -401
- package/skills/saas-transformer/references/feature_gating_patterns.md +137 -137
- package/skills/saas-transformer/references/saas_transformation_checklist.md +121 -121
- package/skills/saas-transformer/scripts/saas_transformation_scanner.py +39 -29
- package/skills/scalability-clean-code/SKILL.md +229 -229
- package/skills/self-evolving-memory-graph/SKILL.md +75 -0
- package/skills/self-healing-cloud-orchestrator/SKILL.md +57 -0
- package/skills/senior-frontend/SKILL.md +161 -161
- package/skills/senior-fullstack/SKILL.md +167 -167
- package/skills/seo/SKILL.md +235 -225
- package/skills/seo-geo/SKILL.md +188 -188
- package/skills/session-context-loader/SKILL.md +77 -0
- package/skills/session-handoff-resume/SKILL.md +158 -158
- package/skills/skill_baru/SKILL.md +172 -147
- package/skills/spa-orchestrator/SKILL.md +288 -288
- package/skills/state-management-expert/SKILL.md +272 -272
- package/skills/supabase-security-expert/SKILL.md +243 -243
- package/skills/tailwind-expert/SKILL.md +188 -188
- package/skills/tanstack-query-expert/SKILL.md +199 -199
- package/skills/token-saver/SKILL.md +119 -111
- package/skills/typescript-expert/SKILL.md +324 -279
- package/skills/ui-components-expert/SKILL.md +263 -46
- package/skills/ui-ux-pro-max/SKILL.md +202 -201
- package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
- package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
- package/skills/ui_ux_expert/SKILL.md +17 -6
- package/skills/vector-db-rag-expert/SKILL.md +52 -0
- package/skills/vibe-code-gardener/SKILL.md +181 -173
- package/skills/visual-qa-vision-agent/SKILL.md +65 -0
- package/skills/vue-frontend-expert/SKILL.md +126 -0
- package/skills/web-3d-graphics-expert/SKILL.md +131 -0
- package/skills/web-game-engine-expert/SKILL.md +96 -0
- package/skills/web-scraper/SKILL.md +207 -205
- package/skills/website-design-cloner/SKILL.md +174 -0
- package/skills/webxr-ar-vr-expert/SKILL.md +117 -0
- package/skills/zero-to-prod-orchestrator/SKILL.md +206 -180
- package/skills/zero-trust-secret-vault/SKILL.md +40 -0
- package/vibes-swarm-demo.gif +0 -0
|
@@ -1,202 +1,202 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: fullstack-expert
|
|
3
|
-
description: "Expert-level fullstack development guide covering multi-language (TypeScript, Python, Go, Rust), multi-framework (Next.js, FastAPI, Gin, Axum), API design, microservices, DevOps, and system design / Panduan fullstack tingkat ahli mencakup multi-bahasa (TypeScript, Python, Go, Rust), multi-framework (Next.js, FastAPI, Gin, Axum), desain API, microservices, DevOps, dan system design."
|
|
4
|
-
author: "Roedy Rustam"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Fullstack Expert (2026 Multi-Language Edition)
|
|
8
|
-
|
|
9
|
-
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
<a name="english"></a>
|
|
14
|
-
## English
|
|
15
|
-
|
|
16
|
-
### Description
|
|
17
|
-
Expert-level fullstack development across multiple languages and frameworks. Covers tech stack selection, API design (REST/gRPC/GraphQL), microservice architecture, DevOps, system design patterns, and AI-native backend integration for 2026.
|
|
18
|
-
|
|
19
|
-
### Trigger Conditions
|
|
20
|
-
- Choosing the right language and framework for a new service or feature.
|
|
21
|
-
- Designing APIs between services in a multi-language architecture.
|
|
22
|
-
- Planning a microservices decomposition strategy.
|
|
23
|
-
- Implementing system design patterns (event sourcing, CQRS, saga pattern).
|
|
24
|
-
- Integrating AI agents or LLM capabilities into a backend system.
|
|
25
|
-
|
|
26
|
-
### 2026 Technology Matrix
|
|
27
|
-
|
|
28
|
-
#### Frontend
|
|
29
|
-
| Tool | Version | Notes |
|
|
30
|
-
|---|---|---|
|
|
31
|
-
| React | 19.x | Compiler, Server Actions, `use()` hook |
|
|
32
|
-
| Next.js | 15.x | PPR, RSC, App Router stable |
|
|
33
|
-
| Astro | 5.x | Islands architecture, MDX, SSG |
|
|
34
|
-
| TanStack Router | 1.x | Type-safe SPA routing |
|
|
35
|
-
| TanStack Start | Beta | Full-stack Vite + RSC patterns |
|
|
36
|
-
| Nuxt | 4.x | Vue 3 SSR/SSG, stable |
|
|
37
|
-
| SvelteKit | 2.x | Lightweight, edge-ready |
|
|
38
|
-
|
|
39
|
-
#### Backend
|
|
40
|
-
| Language | Framework | Best For |
|
|
41
|
-
|---|---|---|
|
|
42
|
-
| TypeScript | Hono, Fastify 5, NestJS | Serverless, edge, type-safe RPC |
|
|
43
|
-
| Python | FastAPI 0.115+, Django 5 | AI/ML workloads, data pipelines |
|
|
44
|
-
| Go | net/http (1.22+), Gin, Echo | High-throughput microservices, CLI |
|
|
45
|
-
| Rust | Axum 0.8, Actix-web 4 | Performance-critical, WASM |
|
|
46
|
-
|
|
47
|
-
#### AI & Agents
|
|
48
|
-
| Tool | Role |
|
|
49
|
-
|---|---|
|
|
50
|
-
| Vercel AI SDK 5.x | Full-stack AI streaming, RSC |
|
|
51
|
-
| Mastra.ai | TS-first agent framework |
|
|
52
|
-
| LangGraph | Python stateful agent workflows |
|
|
53
|
-
| OpenAI Agents SDK | GPT-5 native agents + handoffs |
|
|
54
|
-
| Google ADK | Gemini-powered agents |
|
|
55
|
-
| Mem0 / MemGPT | Long-term agent memory |
|
|
56
|
-
|
|
57
|
-
#### Infrastructure
|
|
58
|
-
| Category | Tools |
|
|
59
|
-
|---|---|
|
|
60
|
-
| Container | Docker, Podman |
|
|
61
|
-
| Orchestration | Kubernetes, Railway, Fly.io |
|
|
62
|
-
| CI/CD | GitHub Actions, Turborepo |
|
|
63
|
-
| Observability | OpenTelemetry 1.x, Grafana, Langfuse |
|
|
64
|
-
| Databases | PostgreSQL (primary), ClickHouse (analytics), Redis (cache), Qdrant (vector) |
|
|
65
|
-
|
|
66
|
-
### API Design Standards
|
|
67
|
-
|
|
68
|
-
#### REST — OpenAPI 3.1
|
|
69
|
-
```yaml
|
|
70
|
-
# openapi.yaml
|
|
71
|
-
openapi: "3.1.0"
|
|
72
|
-
info:
|
|
73
|
-
title: "My SaaS API"
|
|
74
|
-
version: "1.0.0"
|
|
75
|
-
paths:
|
|
76
|
-
/api/v1/workspaces/{id}:
|
|
77
|
-
get:
|
|
78
|
-
summary: "Get workspace by ID"
|
|
79
|
-
parameters:
|
|
80
|
-
- name: id
|
|
81
|
-
in: path
|
|
82
|
-
required: true
|
|
83
|
-
schema: { type: string, format: uuid }
|
|
84
|
-
responses:
|
|
85
|
-
"200":
|
|
86
|
-
content:
|
|
87
|
-
application/json:
|
|
88
|
-
schema: { $ref: "#/components/schemas/Workspace" }
|
|
89
|
-
"404":
|
|
90
|
-
content:
|
|
91
|
-
application/json:
|
|
92
|
-
schema: { $ref: "#/components/schemas/ProblemDetail" }
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
#### gRPC — Protocol Buffers
|
|
96
|
-
```protobuf
|
|
97
|
-
syntax = "proto3";
|
|
98
|
-
package user.v1;
|
|
99
|
-
|
|
100
|
-
service UserService {
|
|
101
|
-
rpc GetUser (GetUserRequest) returns (User);
|
|
102
|
-
rpc ListUsers (ListUsersRequest) returns (stream User); // Server streaming
|
|
103
|
-
rpc CreateUser (CreateUserRequest) returns (User);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
message User {
|
|
107
|
-
string id = 1;
|
|
108
|
-
string email = 2;
|
|
109
|
-
string name = 3;
|
|
110
|
-
repeated string workspace_ids = 4;
|
|
111
|
-
}
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Microservice Patterns
|
|
115
|
-
|
|
116
|
-
#### Event-Driven (Saga Pattern)
|
|
117
|
-
```
|
|
118
|
-
Order Service ──publishes──> "order.created" ──> Payment Service
|
|
119
|
-
│
|
|
120
|
-
┌──────┴──────┐
|
|
121
|
-
success? failure?
|
|
122
|
-
│ │
|
|
123
|
-
"payment.succeeded" "payment.failed"
|
|
124
|
-
│ │
|
|
125
|
-
Inventory Service Order Service
|
|
126
|
-
(reserve stock) (cancel order)
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
#### CQRS (Command Query Responsibility Segregation)
|
|
130
|
-
- **Write side**: Commands update the primary PostgreSQL database.
|
|
131
|
-
- **Read side**: Events are projected into read-optimized views (denormalized tables or ClickHouse).
|
|
132
|
-
- Use when read patterns are very different from write patterns.
|
|
133
|
-
|
|
134
|
-
### AI-Native Backend Integration (2026)
|
|
135
|
-
```typescript
|
|
136
|
-
// Pattern: AI as a service within existing API
|
|
137
|
-
import { generateObject } from 'ai';
|
|
138
|
-
import { anthropic } from '@ai-sdk/anthropic';
|
|
139
|
-
import { z } from 'zod';
|
|
140
|
-
|
|
141
|
-
// AI endpoint that returns structured data
|
|
142
|
-
app.post('/api/analyze', async (c) => {
|
|
143
|
-
const { content } = await c.req.json();
|
|
144
|
-
|
|
145
|
-
const { object } = await generateObject({
|
|
146
|
-
model: anthropic('claude-4-sonnet'),
|
|
147
|
-
schema: z.object({
|
|
148
|
-
sentiment: z.enum(['positive', 'neutral', 'negative']),
|
|
149
|
-
topics: z.array(z.string()),
|
|
150
|
-
summary: z.string().max(200),
|
|
151
|
-
}),
|
|
152
|
-
prompt: `Analyze this content: ${content}`,
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
return c.json(object);
|
|
156
|
-
});
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
---
|
|
160
|
-
|
|
161
|
-
<a name="bahasa-indonesia"></a>
|
|
162
|
-
## Bahasa Indonesia
|
|
163
|
-
|
|
164
|
-
### Deskripsi
|
|
165
|
-
Panduan pengembangan fullstack tingkat ahli di berbagai bahasa dan framework. Mencakup pemilihan tech stack, desain API (REST/gRPC/GraphQL), arsitektur microservice, DevOps, pola desain sistem, dan integrasi backend AI-native untuk 2026.
|
|
166
|
-
|
|
167
|
-
### Kondisi Pemicu
|
|
168
|
-
- Memilih bahasa dan framework yang tepat untuk layanan atau fitur baru.
|
|
169
|
-
- Merancang API antar layanan dalam arsitektur multi-bahasa.
|
|
170
|
-
- Merencanakan strategi dekomposisi microservice.
|
|
171
|
-
- Mengimplementasikan pola desain sistem (event sourcing, CQRS, saga pattern).
|
|
172
|
-
- Mengintegrasikan agen AI atau kemampuan LLM ke dalam sistem backend.
|
|
173
|
-
|
|
174
|
-
### Matriks Teknologi 2026
|
|
175
|
-
|
|
176
|
-
#### Frontend
|
|
177
|
-
React 19 + Next.js 15 (default SaaS), Astro 5 (konten), TanStack Router (SPA), Nuxt 4 (Vue), SvelteKit 2.
|
|
178
|
-
|
|
179
|
-
#### Backend
|
|
180
|
-
TypeScript/Hono (serverless, edge), Python/FastAPI (AI/ML), Go/net/http (throughput tinggi), Rust/Axum (kritis performa).
|
|
181
|
-
|
|
182
|
-
#### AI & Agen
|
|
183
|
-
Vercel AI SDK 5.x, Mastra.ai, LangGraph, OpenAI Agents SDK, Google ADK, Mem0/MemGPT untuk memori agen jangka panjang.
|
|
184
|
-
|
|
185
|
-
#### Infrastruktur
|
|
186
|
-
Docker/Kubernetes, GitHub Actions + Turborepo, OpenTelemetry 1.x, Langfuse. Database: PostgreSQL (utama), ClickHouse (analitik), Redis (cache), Qdrant (vektor).
|
|
187
|
-
|
|
188
|
-
### Standar Desain API
|
|
189
|
-
- **REST + OpenAPI 3.1**: Untuk API publik dengan beberapa konsumen.
|
|
190
|
-
- **gRPC**: Untuk komunikasi antar layanan internal berkinerja tinggi.
|
|
191
|
-
- **Hono RPC / tRPC**: Untuk komunikasi full-stack TypeScript type-safe tanpa codegen.
|
|
192
|
-
|
|
193
|
-
### Pola Microservice
|
|
194
|
-
|
|
195
|
-
#### Event-Driven (Saga Pattern)
|
|
196
|
-
Orkestrasi transaksi terdistribusi melalui event — setiap layanan mempublikasikan event setelah berhasil; kegagalan memicu kompensasi di seluruh rantai.
|
|
197
|
-
|
|
198
|
-
#### CQRS
|
|
199
|
-
Pisahkan sisi tulis (PostgreSQL) dari sisi baca (view terdenormalisasi atau ClickHouse) ketika pola baca sangat berbeda dari pola tulis.
|
|
200
|
-
|
|
201
|
-
### Integrasi Backend AI-Native (2026)
|
|
202
|
-
Gunakan Vercel AI SDK `generateObject()` dengan skema Zod untuk mengintegrasikan kemampuan AI ke endpoint API yang ada — mengembalikan output terstruktur yang dijamin sesuai tipe.
|
|
1
|
+
---
|
|
2
|
+
name: fullstack-expert
|
|
3
|
+
description: "Expert-level fullstack development guide covering multi-language (TypeScript, Python, Go, Rust), multi-framework (Next.js, FastAPI, Gin, Axum), API design, microservices, DevOps, and system design / Panduan fullstack tingkat ahli mencakup multi-bahasa (TypeScript, Python, Go, Rust), multi-framework (Next.js, FastAPI, Gin, Axum), desain API, microservices, DevOps, dan system design."
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Fullstack Expert (2026 Multi-Language Edition)
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
Expert-level fullstack development across multiple languages and frameworks. Covers tech stack selection, API design (REST/gRPC/GraphQL), microservice architecture, DevOps, system design patterns, and AI-native backend integration for 2026.
|
|
18
|
+
|
|
19
|
+
### Trigger Conditions
|
|
20
|
+
- Choosing the right language and framework for a new service or feature.
|
|
21
|
+
- Designing APIs between services in a multi-language architecture.
|
|
22
|
+
- Planning a microservices decomposition strategy.
|
|
23
|
+
- Implementing system design patterns (event sourcing, CQRS, saga pattern).
|
|
24
|
+
- Integrating AI agents or LLM capabilities into a backend system.
|
|
25
|
+
|
|
26
|
+
### 2026 Technology Matrix
|
|
27
|
+
|
|
28
|
+
#### Frontend
|
|
29
|
+
| Tool | Version | Notes |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| React | 19.x | Compiler, Server Actions, `use()` hook |
|
|
32
|
+
| Next.js | 15.x | PPR, RSC, App Router stable |
|
|
33
|
+
| Astro | 5.x | Islands architecture, MDX, SSG |
|
|
34
|
+
| TanStack Router | 1.x | Type-safe SPA routing |
|
|
35
|
+
| TanStack Start | Beta | Full-stack Vite + RSC patterns |
|
|
36
|
+
| Nuxt | 4.x | Vue 3 SSR/SSG, stable |
|
|
37
|
+
| SvelteKit | 2.x | Lightweight, edge-ready |
|
|
38
|
+
|
|
39
|
+
#### Backend
|
|
40
|
+
| Language | Framework | Best For |
|
|
41
|
+
|---|---|---|
|
|
42
|
+
| TypeScript | Hono, Fastify 5, NestJS | Serverless, edge, type-safe RPC |
|
|
43
|
+
| Python | FastAPI 0.115+, Django 5 | AI/ML workloads, data pipelines |
|
|
44
|
+
| Go | net/http (1.22+), Gin, Echo | High-throughput microservices, CLI |
|
|
45
|
+
| Rust | Axum 0.8, Actix-web 4 | Performance-critical, WASM |
|
|
46
|
+
|
|
47
|
+
#### AI & Agents
|
|
48
|
+
| Tool | Role |
|
|
49
|
+
|---|---|
|
|
50
|
+
| Vercel AI SDK 5.x | Full-stack AI streaming, RSC |
|
|
51
|
+
| Mastra.ai | TS-first agent framework |
|
|
52
|
+
| LangGraph | Python stateful agent workflows |
|
|
53
|
+
| OpenAI Agents SDK | GPT-5 native agents + handoffs |
|
|
54
|
+
| Google ADK | Gemini-powered agents |
|
|
55
|
+
| Mem0 / MemGPT | Long-term agent memory |
|
|
56
|
+
|
|
57
|
+
#### Infrastructure
|
|
58
|
+
| Category | Tools |
|
|
59
|
+
|---|---|
|
|
60
|
+
| Container | Docker, Podman |
|
|
61
|
+
| Orchestration | Kubernetes, Railway, Fly.io |
|
|
62
|
+
| CI/CD | GitHub Actions, Turborepo |
|
|
63
|
+
| Observability | OpenTelemetry 1.x, Grafana, Langfuse |
|
|
64
|
+
| Databases | PostgreSQL (primary), ClickHouse (analytics), Redis (cache), Qdrant (vector) |
|
|
65
|
+
|
|
66
|
+
### API Design Standards
|
|
67
|
+
|
|
68
|
+
#### REST — OpenAPI 3.1
|
|
69
|
+
```yaml
|
|
70
|
+
# openapi.yaml
|
|
71
|
+
openapi: "3.1.0"
|
|
72
|
+
info:
|
|
73
|
+
title: "My SaaS API"
|
|
74
|
+
version: "1.0.0"
|
|
75
|
+
paths:
|
|
76
|
+
/api/v1/workspaces/{id}:
|
|
77
|
+
get:
|
|
78
|
+
summary: "Get workspace by ID"
|
|
79
|
+
parameters:
|
|
80
|
+
- name: id
|
|
81
|
+
in: path
|
|
82
|
+
required: true
|
|
83
|
+
schema: { type: string, format: uuid }
|
|
84
|
+
responses:
|
|
85
|
+
"200":
|
|
86
|
+
content:
|
|
87
|
+
application/json:
|
|
88
|
+
schema: { $ref: "#/components/schemas/Workspace" }
|
|
89
|
+
"404":
|
|
90
|
+
content:
|
|
91
|
+
application/json:
|
|
92
|
+
schema: { $ref: "#/components/schemas/ProblemDetail" }
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
#### gRPC — Protocol Buffers
|
|
96
|
+
```protobuf
|
|
97
|
+
syntax = "proto3";
|
|
98
|
+
package user.v1;
|
|
99
|
+
|
|
100
|
+
service UserService {
|
|
101
|
+
rpc GetUser (GetUserRequest) returns (User);
|
|
102
|
+
rpc ListUsers (ListUsersRequest) returns (stream User); // Server streaming
|
|
103
|
+
rpc CreateUser (CreateUserRequest) returns (User);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
message User {
|
|
107
|
+
string id = 1;
|
|
108
|
+
string email = 2;
|
|
109
|
+
string name = 3;
|
|
110
|
+
repeated string workspace_ids = 4;
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Microservice Patterns
|
|
115
|
+
|
|
116
|
+
#### Event-Driven (Saga Pattern)
|
|
117
|
+
```
|
|
118
|
+
Order Service ──publishes──> "order.created" ──> Payment Service
|
|
119
|
+
│
|
|
120
|
+
┌──────┴──────┐
|
|
121
|
+
success? failure?
|
|
122
|
+
│ │
|
|
123
|
+
"payment.succeeded" "payment.failed"
|
|
124
|
+
│ │
|
|
125
|
+
Inventory Service Order Service
|
|
126
|
+
(reserve stock) (cancel order)
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
#### CQRS (Command Query Responsibility Segregation)
|
|
130
|
+
- **Write side**: Commands update the primary PostgreSQL database.
|
|
131
|
+
- **Read side**: Events are projected into read-optimized views (denormalized tables or ClickHouse).
|
|
132
|
+
- Use when read patterns are very different from write patterns.
|
|
133
|
+
|
|
134
|
+
### AI-Native Backend Integration (2026)
|
|
135
|
+
```typescript
|
|
136
|
+
// Pattern: AI as a service within existing API
|
|
137
|
+
import { generateObject } from 'ai';
|
|
138
|
+
import { anthropic } from '@ai-sdk/anthropic';
|
|
139
|
+
import { z } from 'zod';
|
|
140
|
+
|
|
141
|
+
// AI endpoint that returns structured data
|
|
142
|
+
app.post('/api/analyze', async (c) => {
|
|
143
|
+
const { content } = await c.req.json();
|
|
144
|
+
|
|
145
|
+
const { object } = await generateObject({
|
|
146
|
+
model: anthropic('claude-4-sonnet'),
|
|
147
|
+
schema: z.object({
|
|
148
|
+
sentiment: z.enum(['positive', 'neutral', 'negative']),
|
|
149
|
+
topics: z.array(z.string()),
|
|
150
|
+
summary: z.string().max(200),
|
|
151
|
+
}),
|
|
152
|
+
prompt: `Analyze this content: ${content}`,
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
return c.json(object);
|
|
156
|
+
});
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
<a name="bahasa-indonesia"></a>
|
|
162
|
+
## Bahasa Indonesia
|
|
163
|
+
|
|
164
|
+
### Deskripsi
|
|
165
|
+
Panduan pengembangan fullstack tingkat ahli di berbagai bahasa dan framework. Mencakup pemilihan tech stack, desain API (REST/gRPC/GraphQL), arsitektur microservice, DevOps, pola desain sistem, dan integrasi backend AI-native untuk 2026.
|
|
166
|
+
|
|
167
|
+
### Kondisi Pemicu
|
|
168
|
+
- Memilih bahasa dan framework yang tepat untuk layanan atau fitur baru.
|
|
169
|
+
- Merancang API antar layanan dalam arsitektur multi-bahasa.
|
|
170
|
+
- Merencanakan strategi dekomposisi microservice.
|
|
171
|
+
- Mengimplementasikan pola desain sistem (event sourcing, CQRS, saga pattern).
|
|
172
|
+
- Mengintegrasikan agen AI atau kemampuan LLM ke dalam sistem backend.
|
|
173
|
+
|
|
174
|
+
### Matriks Teknologi 2026
|
|
175
|
+
|
|
176
|
+
#### Frontend
|
|
177
|
+
React 19 + Next.js 15 (default SaaS), Astro 5 (konten), TanStack Router (SPA), Nuxt 4 (Vue), SvelteKit 2.
|
|
178
|
+
|
|
179
|
+
#### Backend
|
|
180
|
+
TypeScript/Hono (serverless, edge), Python/FastAPI (AI/ML), Go/net/http (throughput tinggi), Rust/Axum (kritis performa).
|
|
181
|
+
|
|
182
|
+
#### AI & Agen
|
|
183
|
+
Vercel AI SDK 5.x, Mastra.ai, LangGraph, OpenAI Agents SDK, Google ADK, Mem0/MemGPT untuk memori agen jangka panjang.
|
|
184
|
+
|
|
185
|
+
#### Infrastruktur
|
|
186
|
+
Docker/Kubernetes, GitHub Actions + Turborepo, OpenTelemetry 1.x, Langfuse. Database: PostgreSQL (utama), ClickHouse (analitik), Redis (cache), Qdrant (vektor).
|
|
187
|
+
|
|
188
|
+
### Standar Desain API
|
|
189
|
+
- **REST + OpenAPI 3.1**: Untuk API publik dengan beberapa konsumen.
|
|
190
|
+
- **gRPC**: Untuk komunikasi antar layanan internal berkinerja tinggi.
|
|
191
|
+
- **Hono RPC / tRPC**: Untuk komunikasi full-stack TypeScript type-safe tanpa codegen.
|
|
192
|
+
|
|
193
|
+
### Pola Microservice
|
|
194
|
+
|
|
195
|
+
#### Event-Driven (Saga Pattern)
|
|
196
|
+
Orkestrasi transaksi terdistribusi melalui event — setiap layanan mempublikasikan event setelah berhasil; kegagalan memicu kompensasi di seluruh rantai.
|
|
197
|
+
|
|
198
|
+
#### CQRS
|
|
199
|
+
Pisahkan sisi tulis (PostgreSQL) dari sisi baca (view terdenormalisasi atau ClickHouse) ketika pola baca sangat berbeda dari pola tulis.
|
|
200
|
+
|
|
201
|
+
### Integrasi Backend AI-Native (2026)
|
|
202
|
+
Gunakan Vercel AI SDK `generateObject()` dengan skema Zod untuk mengintegrasikan kemampuan AI ke endpoint API yang ada — mengembalikan output terstruktur yang dijamin sesuai tipe.
|