database-orm-expert
Skill129 starsChanged 10 days agoMITView on GitHub
Unified database ORM, schema migrations, edge DBs, and Supabase CLI / Database ORM terpadu, migrasi skema, edge DB, dan Supabase CLI.
- Reads credentials
In this repository372 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-anti-slop.mdcCursor rule
- .cursor/rules/vibes-plug-backend.mdcCursor rule
- .cursor/rules/vibes-plug-core.mdcCursor rule
- .cursor/rules/vibes-plug-devops.mdcCursor rule
- .cursor/rules/vibes-plug-frontend.mdcCursor rule
- .cursor/rules/vibes-plug-mcp.mdcCursor rule
- .cursor/rules/vibes-plug-skills.mdcCursor rule
- .cursor/rules/vibes-plug-testing.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- showcase/llms-full.txtllms.txt
- showcase/llms.txtllms.txt
- a2a-agent-protocol-expertSkill
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-m2m-settlementSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- api-gateway-proxy-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- browser-extension-mv3-proSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- ci-cd-devops-architectSkill
- cloudflare-workers-expertSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- compliance-gdpr-privacy-expertSkill
- composable-mach-architectSkill
- computer-use-os-agent-expertSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- data-visualization-expertSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 1 is distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
Recommendation: Prefer Drizzle ORM for edge-first apps, Hono/Bun backends, and performance-critical systems.
- Very specific: line 56
Always index foreign keys explicitly, enforce TIMESTAMPTZ, and use FOR UPDATE row locks on financial or inventory mutations.
- Very specific: line 170
Never use OFFSET on tables exceeding 50,000 rows (OFFSET 100000 forces Postgres to scan and discard 100,000 rows).
- Very specific: line 215
Never execute breaking DDL changes (DROP COLUMN, RENAME COLUMN, or locking ALTER TABLE ...
- Very specific: line 217
Phase 1 (Expand): Add nullable column or new table.
- Distinctive: line 218
Phase 2 (Dual-Write): Update application code to write to both old and new columns.
- Very specific: line 283
Every foreign key constraint (e.g.
- Very specific: line 285
All temporal columns (created_at, updated_at, deleted_at) MUST use TIMESTAMPTZ (UTC-normalized).
- Very specific: line 292
Mandatory Blue-Ocean Pairing: Always compose database-orm-expert with reactive-sync-engine-expert, fga-rebac-authorization-expert, …
- Very specific: line 293
Anti-Commodity Mandate: Never emit bare CRUD tables: enforce PostgreSQL RLS, explicit B-Tree indexes on foreign keys, in-memory vibes …
- Very specific: line 294
Pre-Disk Gate: Run vibes verify-gate and vibes skill auto-diff --json to inject <350-token slices and eliminate placeholder slop.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Unified Database & ORM Expert (2026 Production Edition)
English | Bahasa Indonesia
<a name="english"></a>
English
Orchestration & Integration
Connects and orchestrates with domain skills:
- Backend & Runtimes:
js-backend-expert,python-programming-expert,go-programming-expert, andrust-programming-expertfor integrating Drizzle ORM, Prisma 6, SQLx, and SQLAlchemy/SQLModel. - FinTech & SaaS:
saas-billing,saas-multi-tenant,double-entry-ledger-fintech-expert, anddoku-payment-gatewayfor strict atomic database transactions (SELECT ... FOR UPDATE), distributed locks, tenant isolation via RLS, and SNAP BI idempotent records. - AI & Vectors:
vector-db-rag-expertfor pgvector 0.8+ HNSW indexing and high-dimensional cosine similarity embeddings. - Security & Cloud:
supabase-security-expert,fga-rebac-authorization-expert,ci-cd-devops-architect, andcloud-hosting-expertfor automated migration pipelines, blue-green deployments, and pooler infrastructure. - Master Orchestrators:
brainstormingandzero-to-prod-orchestrator(Phase 3: Schema & Database Architecture). - Cross-Domain Synergy & Subagent Swarm Integration:
olap-columnar-analytics-expert,reactive-sync-engine-expert,data-pipeline-etl-expert,graph-rag-knowledge-expert,search-engine-expert,geospatial-maps-expert
Description
Production-grade guide for relational schema design, ORM selection, zero-downtime Expand-and-Contract migrations, pessimistic concurrency locking, query optimization, and edge serverless database drivers. Covers Drizzle ORM v0.39+, Prisma 6 (TypedSQL & Relation Joins), Supabase CLI, and Edge Databases (Neon Serverless Postgres, Cloudflare D1, Turso libSQL, Upstash Redis).
Trigger Conditions
- Designing or migrating a production schema (blue-green, Expand-and-Contract).
- Choosing between Drizzle ORM, Prisma 6, Kysely, or SQLx.
- Writing complex queries with joins, cursor pagination, or atomic row locks.
- Optimizing slow queries, missing FK indexes, or N+1 problems.
- Building edge-compatible serverless database connections (HTTP/WebSocket poolers).
- Executing Supabase CLI migrations and Row-Level Security (RLS) policies.
Core ORM & Query Strategies
ORM Selection Matrix (2026)
| Criteria | Drizzle ORM (v0.39+) | Prisma 6 | Kysely |
| Type Safety | SQL-first, zero-codegen TypeScript inference | Schema-first (schema.prisma) + TypedSQL | Pure type-safe SQL query builder |
| Cold Start & Bundle | Ultra-lightweight (<35KB, zero binary) | Wasm/Rust query compiler (~1.5MB) | Minimal (<20KB) |
| Relational Queries | db.query.table.findMany({ with }) (Single SQL join) | relationLoadStrategy: "join" | Explicit .innerJoin() |
| Edge Runtime | Native (Cloudflare Workers, Vercel Edge, Bun) | Native via @prisma/adapter-neon / D1 | Native |
| Migrations | drizzle-kit generate & drizzle-kit migrate | prisma migrate dev / deploy | Custom migration runner |
Recommendation: Prefer Drizzle ORM for edge-first apps, Hono/Bun backends, and performance-critical systems. Choose Prisma 6 for teams preferring declarative .prisma modeling and TypedSQL.
1. Drizzle ORM v0.39+ Production Schema & Atomic Locking
Always index foreign keys explicitly, enforce TIMESTAMPTZ, and use FOR UPDATE row locks on financial or inventory mutations.
// src/db/schema.ts
import { pgTable, uuid, varchar, bigint, timestamp, index, uniqueIndex } from 'drizzle-orm/pg-core';
import { relations, sql } from 'drizzle-orm';
export const tenants = pgTable('tenants', {
id: uuid('id').defaultRandom().primaryKey(),
slug: varchar('slug', { length: 64 }).notNull(),
createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull(),
}, (t) => [
uniqueIndex('idx_tenants_slug').on(t.slug),
]);
export const wallets = pgTable('wallets', {
id: uuid('id').defaultRandom().primaryKey(),
tenantId: uuid('tenant_id').notNull().references(() => tenants.id, { onDelete: 'restrict' }),
currency: varchar('currency', { length: 3 }).notNull().default('IDR'),
balanceMinor: bigint('balance_minor', { mode: 'bigint' }).notNull().default(0n),
version: bigint('version', { mode: 'number' }).notNull().default(1),
updatedAt: timestamp('updated_at', { withTimezone: true }).defaultNow().notNull(),
}, (t) => [
index('idx_wallets_tenant_id').on(t.tenantId),
]);
export const paymentIdempotency = pgTable('payment_idempotency', {
idempotencyKey: varchar('idempotency_key', { length: 128 }).primaryKey(),
walletId: uuid('wallet_id').notNull().references(() => wallets.id, { onDelete: 'cascade' }),
amountMinor: bigint('amount_minor', { mode: 'bigint' }).notNull(),
status: varchar('status', { length: 24 }).notNull(),
createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull(),
}, (t) => [
index('idx_payment_idempotency_wallet').on(t.walletId),
]);
export const walletsRelations = relations(wallets, ({ one }) => ({
tenant: one(tenants, { fields: [wallets.tenantId], references: [tenants.id] }),
}));// src/db/mutations/debit-wallet.ts
import { eq, sql } from 'drizzle-orm';
import { db } from '../client';
import { wallets, paymentIdempotency } from '../schema';
export async function debitWalletAtomic(input: {
walletId: string;
amountMinor: bigint;
idempotencyKey: string;
}) {
if (input.amountMinor <= 0n) {
throw new Error('Debit amount must be strictly positive');
}
return await db.transaction(async (tx) => {
// 1. Check idempotency key first
const [existing] = await tx
.select()
.from(paymentIdempotency)
.where(eq(paymentIdempotency.idempotencyKey, input.idempotencyKey))
.limit(1);
if (existing) {
return { status: 'ALREADY_PROCESSED' as const, record: existing };
}
// 2. Acquire pessimistic row-level lock (SELECT ... FOR UPDATE)
const [wallet] = await tx
.select()
.from(wallets)
.where(eq(wallets.id, input.walletId))
.for('update');
if (!wallet) {
throw new Error(`Wallet ${input.walletId} not found`);
}
if (wallet.balanceMinor < input.amountMinor) {
throw new Error('Insufficient wallet balance');
}
// 3. Deduct balance and increment optimistic version
const [updatedWallet] = await tx
.update(wallets)
.set({
balanceMinor: sql`${wallets.balanceMinor} - ${input.amountMinor}`,
version: sql`${wallets.version} + 1`,
updatedAt: new Date(),
})
.where(eq(wallets.id, input.walletId))
.returning();
// 4. Record idempotency lock in same transaction
const [record] = await tx
.insert(paymentIdempotency)
.values({
idempotencyKey: input.idempotencyKey,
walletId: input.walletId,
amountMinor: input.amountMinor,
status: 'COMPLETED',
})
.returning();
return { status: 'COMPLETED' as const, wallet: updatedWallet, record };
}, {
isolationLevel: 'read committed',
});
}2. Keyset (Cursor) Pagination Pattern
Never use OFFSET on tables exceeding 50,000 rows (OFFSET 100000 forces Postgres to scan and discard 100,000 rows). Always use composite (createdAt, id) keyset cursors:
import { and, desc, eq, lt, or } from 'drizzle-orm';
import { db } from './client';
import { wallets } from './schema';
export async function listWalletsCursor(params: {
tenantId: string;
limit?: number;
cursor?: { updatedAt: Date; id: string };
}) {
const limit = Math.min(params.limit ?? 25, 100);
const cursorFilter = params.cursor
? or(
lt(wallets.updatedAt, params.cursor.updatedAt),
and(eq(wallets.updatedAt, params.cursor.updatedAt), lt(wallets.id, params.cursor.id))
)
: undefined;
const rows = await db
.select()
.from(wallets)
.where(and(eq(wallets.tenantId, params.tenantId), cursorFilter))
.orderBy(desc(wallets.updatedAt), desc(wallets.id))
.limit(limit + 1);
const hasNextPage = rows.length > limit;
const items = hasNextPage ? rows.slice(0, limit) : rows;
const lastItem = items[items.length - 1];
return {
items,
nextCursor: hasNextPage && lastItem
? { updatedAt: lastItem.updatedAt, id: lastItem.id }
: null,
};
}Zero-Downtime Migrations (Expand and Contract Protocol)
Never execute breaking DDL changes (DROP COLUMN, RENAME COLUMN, or locking ALTER TABLE ... ADD COLUMN ... NOT NULL without default) in a single release while old application containers are still serving traffic.
- Phase 1 (Expand): Add nullable column or new table; create indexes using
CREATE INDEX CONCURRENTLYto avoid blocking writes. - Phase 2 (Dual-Write): Update application code to write to both old and new columns; read from old with fallback.
- Phase 3 (Chunked Backfill): Backfill historical rows in small batches (
LIMIT 2000) withFOR UPDATE SKIP LOCKEDto avoid replication lag and table locks. - Phase 4 (Cutover Read & Contract): Switch reads to the new column, remove dual-write code, and validate constraints using
NOT VALIDfollowed byVALIDATE CONSTRAINT.
-- Safe Zero-Lock Constraint & Concurrent Index Migration
ALTER TABLE wallets ADD COLUMN IF NOT EXISTS ledger_account_id UUID;
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_wallets_ledger_account_id
ON wallets (ledger_account_id);
-- Add foreign key without locking existing writes (Postgres 14+)
ALTER TABLE wallets
ADD CONSTRAINT fk_wallets_ledger_account
FOREIGN KEY (ledger_account_id) REFERENCES accounts(id) NOT VALID;
-- Validate constraint using ShareUpdateExclusiveLock (does not block reads/writes)
ALTER TABLE wallets VALIDATE CONSTRAINT fk_wallets_ledger_account;Edge & Serverless Drivers + Cache-Aside
import { neon } from '@neondatabase/serverless';
import { drizzle } from 'drizzle-orm/neon-http';
import { Redis } from '@upstash/redis';
import * as schema from './schema';
const sqlClient = neon(process.env.DATABASE_URL!);
export const edgeDb = drizzle(sqlClient, { schema });
const redis = new Redis({
url: process.env.UPSTASH_REDIS_REST_URL!,
token: process.env.UPSTASH_REDIS_REST_TOKEN!,
});
export async function getTenantCached(slug: string) {
const cacheKey = `tenant:v1:${slug}`;
const cached = await redis.get<typeof schema.tenants.$inferSelect>(cacheKey);
if (cached) return cached;
const tenant = await edgeDb.query.tenants.findFirst({
where: (t, { eq }) => eq(t.slug, slug),
});
if (tenant) {
await redis.set(cacheKey, tenant, { ex: 900 });
}
return tenant ?? null;
}Verification Checklist
- Every foreign key column has a corresponding B-Tree index (
idx_<table>_<fk>). - Financial balances and monetary quantities use
BIGINTminor units (cents/sen) orNUMERIC(19,4), neverFLOAT/REAL. - Multi-tenant tables enforce Row-Level Security (
ALTER TABLE ... ENABLE ROW LEVEL SECURITY) and tenant ID predicates. - Production migrations never run
prisma db pushordrizzle-kit push; versioned SQL files are audited viavibes db:eval. - High-concurrency state transitions use
SELECT ... FOR UPDATEor optimistic version increments.
Hard Guardrails (Declarative Invariants)
- Mandatory Explicit B-Tree Indexes on All Foreign Keys:
- Every foreign key constraint (e.g.
workspace_id,user_id,account_id) MUST have an accompanying B-tree index (CREATE INDEX idx_...). Unindexed foreign keys trigger table-level locking during CASCADE operations and slow queries.
- Every foreign key constraint (e.g.
- Deterministic Timestamp Storage with Timezone (
TIMESTAMPTZ):- All temporal columns (
created_at,updated_at,deleted_at) MUST useTIMESTAMPTZ(UTC-normalized); never use bareTIMESTAMPwithout timezone.
- All temporal columns (
- Keyset Cursor Pagination Over Offset:
- Queries retrieving paginated datasets on tables with > 10,000 rows MUST use keyset cursor pagination (
WHERE (created_at, id) < ($1, $2) ORDER BY created_at DESC, id DESC LIMIT $3). Never use deep.skip(offset)/OFFSETscans.
- Queries retrieving paginated datasets on tables with > 10,000 rows MUST use keyset cursor pagination (
- Pessimistic Row Locking on Financial & Inventory Mutations:
- Any transaction updating balances, ledger lines, or stock reservations MUST acquire pessimistic row locks (
SELECT ... FOR UPDATEor Prisma$executeRawwith atomic conditional update) to eliminate race condition vulnerabilities.
- Any transaction updating balances, ledger lines, or stock reservations MUST acquire pessimistic row locks (
Blue-Ocean Synergy & Anti-Commodity Protocol
- Mandatory Blue-Ocean Pairing: Always compose
database-orm-expertwithreactive-sync-engine-expert,fga-rebac-authorization-expert,formal-spec-z3-verifier,zero-tech-debt-auditorso commodity boilerplate is elevated into verified, self-healing production architecture. - Anti-Commodity Mandate: Never emit bare CRUD tables: enforce PostgreSQL RLS, explicit B-Tree indexes on foreign keys, in-memory
vibes db:evalDDL simulation, and ReBAC authorization checks. - Pre-Disk Gate: Run
vibes verify-gateandvibes skill auto-diff --jsonto inject <350-token slices and eliminate placeholder slop.
Sovereign Execution, Token Efficiency & Invariants
| Dimension | Sovereign Mandate & Deterministic Contract |
| Frontier Model Cascade | Medium / High (Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Argon, GPT-5.6 Sol Medium, Claude Sonnet 5.5 High) |
| Availability Fallback | Gemini 4 (Carbon/Hydrogen/Neon/Argon/Pro) -> Gemini 3.8 Flash; Claude Opus 5.5 -> Claude Opus 4.6 (Zero unhandled missing-model errors) |
| KV-Cache & Token Protocol | Pin static instructions & schemas at prompt prefix (kv-cache-prefix-optimizer); pass surgical CONTEXT_MAP.md slices (<250 tokens/call) during Swarm Fan-Out |
| SaaT CLI & MCP Dispatch | CLI: vibes skill exec database-orm-expert <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_eval_sql, vibes_verify_invariants, vibes_verify_gate |
| NFR & Anti-Slop Invariants | P99 Query Latency < 15ms, 100% Row Level Security (RLS) coverage on multi-tenant tables, explicit B-Tree indexes on all Foreign Keys; 100% complete zero-placeholder output verified via node scripts/check-anti-slop.js --strict |
<a name="bahasa-indonesia"></a>
Bahasa Indonesia
Integrasi Orkestrasi
Terhubung dan mengorkestrasi bersama skill domain:
- Backend & Runtime:
js-backend-expert,python-programming-expert,go-programming-expert, danrust-programming-expertuntuk integrasi Drizzle ORM, Prisma 6, SQLx, dan SQLAlchemy/SQLModel. - FinTech & SaaS:
saas-billing,saas-multi-tenant,double-entry-ledger-fintech-expert, dandoku-payment-gatewayuntuk transaksi database atomik yang ketat (SELECT ... FOR UPDATE), distributed lock, isolasi tenant via RLS, dan pencatatan idempoten SNAP BI. - AI & Vektor:
vector-db-rag-expertuntuk pengindeksan pgvector 0.8+ HNSW dan pencarian embedding kesamaan kosinus dimensi tinggi. - Keamanan & Cloud:
supabase-security-expert,fga-rebac-authorization-expert,ci-cd-devops-architect, dancloud-hosting-expertuntuk pipeline deployment migrasi otomatis, blue-green, dan infrastruktur connection pooler. - Orkestrator Utama:
brainstormingdanzero-to-prod-orchestrator(Fase 3: Arsitektur Skema & Database). - Sinergi Lintas Domain & Integrasi Swarm Subagent:
olap-columnar-analytics-expert,reactive-sync-engine-expert,data-pipeline-etl-expert,graph-rag-knowledge-expert,search-engine-expert,geospatial-maps-expert
Deskripsi
Panduan kelas produksi untuk perancangan skema relasional, pemilihan ORM, migrasi tanpa downtime (Expand-and-Contract), penguncian konkurensi pesimistis, optimasi query, dan driver database serverless edge (Drizzle ORM v0.39+, Prisma 6, Supabase CLI, Neon, Cloudflare D1, Turso, Upstash).
Strategi Inti ORM & Query
- Drizzle ORM direkomendasikan untuk aplikasi edge dan performa tinggi (<35KB, tanpa biner), sedangkan Prisma 6 untuk alur deklaratif
schema.prismadan TypedSQL. - Indeks Foreign Key: Selalu buat indeks eksplisit pada setiap kolom foreign key dan kolom filter
WHERE/ORDER BY. - Keyset (Cursor) Pagination: Gunakan kursor komposit
(updated_at, id)dan hindariOFFSETpada tabel skala besar. - Transaksi & Kunci Baris Atomik: Gunakan
SELECT ... FOR UPDATEdi dalam transaksi database untuk mencegah kondisi balapan (race condition) pada pemotongan saldo atau stok.
Migrasi Tanpa Downtime (Expand and Contract)
- Fase 1 (Expand): Tambahkan kolom baru bersifat nullable dan gunakan
CREATE INDEX CONCURRENTLY. - Fase 2 (Dual-Write): Tulis ke kolom lama dan baru secara bersamaan.
- Fase 3 (Chunked Backfill): Lakukan backfill data secara bertahap (
LIMIT 2000) menggunakan antrean latar belakang. - Fase 4 (Contract): Pindahkan pembacaan ke kolom baru, validasi constraint dengan
NOT VALID+VALIDATE CONSTRAINT, lalu hapus kode lama.
Daftar Periksa Verifikasi (Checklist)
- Setiap kolom foreign key memiliki indeks B-Tree eksplisit.
- Nilai uang/saldo menggunakan
BIGINTsatuan terkecil (sen/rupiah utuh) atauNUMERIC(19,4), bukanFLOAT. - Tabel multi-tenant mengaktifkan Row-Level Security (RLS).
- Migrasi produksi menggunakan file SQL terversi dan diuji dengan
vibes db:eval.
Sinergi Blue-Ocean & Protokol Anti-Komoditas
- Pasangan Wajib Blue-Ocean: Selalu komposisikan
database-orm-expertbersamareactive-sync-engine-expert,fga-rebac-authorization-expert,formal-spec-z3-verifier,zero-tech-debt-auditoragar boilerplate standar naik kelas menjadi arsitektur produksi terverifikasi dan self-healing. - Mandat Anti-Komoditas: Dilarang membuat tabel CRUD polos: wajibkan PostgreSQL RLS, indeks B-Tree eksplisit pada foreign key, simulasi DDL
vibes db:eval, dan otorisasi ReBAC. - Gerbang Pra-Disk: Jalankan
vibes verify-gatedanvibes skill auto-diff --jsonuntuk menyuntikkan slice <350 token serta mencegah placeholder slop.
Matriks Eksekusi Berdaulat, Efisiensi Token & Invarian
| Dimensi | Mandat Berdaulat & Kontrak Deterministik |
| Kaskade Model Frontier | Medium / High (Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Argon, GPT-5.6 Sol Medium, Claude Sonnet 5.5 High) |
| Invarian Fallback Ketersediaan | Gemini 4 (Carbon/Hydrogen/Neon/Argon/Pro) -> Gemini 3.8 Flash; Claude Opus 5.5 -> Claude Opus 4.6 (Bebas gagal saat model belum tersedia/kuota penuh) |
| Protokol Hemat Token & KV-Cache | Kunci instruksi & skema statis di prefix awal (kv-cache-prefix-optimizer); kirim potongan CONTEXT_MAP.md (<250 token/panggilan) saat Fan-Out |
| Eksekusi SaaT CLI & MCP | CLI: vibes skill exec database-orm-expert <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_eval_sql, vibes_verify_invariants, vibes_verify_gate |
| Invarian NFR & Anti-Slop | Latensi Query P99 < 15ms, cakupan Row Level Security (RLS) 100% pada tabel multi-tenant, indeks B-Tree eksplisit pada seluruh Foreign Key; kode 100% tuntas tanpa placeholder diverifikasi melalui node scripts/check-anti-slop.js --strict |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

