Skip to main content

neondatabase/electric

Letzte erfasste Quellaktivität
SkillsMP-Katalog aktualisiert
gesammelte Skills
12
GitHub-Stars
10.435
GitHub-Forks
403

Mit einem KI-Assistenten installieren

Diesen Prompt kopieren und in den verwendeten KI-Assistenten einfügen.

README des Repositorys wird geladen…

Skills in diesem Repository

Klassifizierung ausstehend

Es werden 12 von 12 gesammelten Skills angezeigt.

Beruf
nicht klassifiziert
Beschreibung

Configure ShapeStream and Shape to sync a Postgres table to the client. Covers ShapeStreamOptions (url, table, where, columns, replica, offset, handle), custom type parsers (timestamptz, jsonb, int8), column mappers (snakeCamelMapper, createColumnMapper),…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Use when an app developer wants to build an entity (a.k.a. an agent) for their Electric Agents app — designing a single entity type, picking a coordination pattern when needed (single-agent, manager-worker, pipeline, map-reduce, dispatcher, blackboard,…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Querying electric agent runtime entity streams and manifest state with @durable-streams/state/db queryOnce and useLiveQuery. Use when reading built-in entity collections like manifests, wakes, child_status, inbox, runs, or shared state from runtime code,…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Deploy Electric via Docker, Docker Compose, or Electric Cloud. Covers DATABASE_URL (direct connection, not pooler), ELECTRIC_SECRET (required since v1.x), ELECTRIC_INSECURE for dev, wal_level=logical, max_replication_slots, ELECTRIC_STORAGE_DIR persistence,…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Set up a server-side proxy to forward Electric shape requests securely. Covers ELECTRIC_PROTOCOL_QUERY_PARAMS forwarding, server-side shape definition (table, where, params), content-encoding/content-length header cleanup, CORS configuration for…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Troubleshoot Electric sync issues. Covers fast-loop detection from CDN/proxy cache key misconfiguration, stale cache diagnosis (StaleCacheError), MissingHeadersError from CORS misconfiguration, 409 shape expired handling, SSE proxy buffering (nginx…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

End-to-end guide for adding a new synced feature with Electric and TanStack DB. Covers the full journey: design Postgres schema, set REPLICA IDENTITY FULL, define shape, create proxy route, set up TanStack DB collection with electricCollectionOptions,…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Use Electric with Drizzle ORM or Prisma for the write path. Covers getting pg_current_xact_id() from ORM transactions using Drizzle tx.execute(sql) and Prisma $queryRaw, running migrations that preserve REPLICA IDENTITY FULL, and schema management patterns…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Pre-deploy security checklist for Postgres with Electric. Checks REPLICATION role, SELECT grants, CREATE on database, table ownership, REPLICA IDENTITY FULL on all synced tables, publication management (auto vs manual with ELECTRIC_MANUAL_TABLE_PUBLISHING),…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Design Postgres schema and Electric shape definitions together for a new feature. Covers single-table shape constraint, cross-table joins using multiple shapes, WHERE clause design for tenant isolation, column selection for bandwidth optimization, replica…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Set up ElectricProvider for real-time collaborative editing with Yjs via Electric shapes. Covers ElectricProvider configuration, document updates shape with BYTEA parser (parseToDecoder), awareness shape at offset='now', LocalStorageResumeStateProvider for…

Quellsprache: Englisch

Aktualisiert
Beruf
nicht klassifiziert
Beschreibung

Interactive blog post authoring. Produces a draft blog post file with structured outline, inline guidance comments, and meta briefs that the author proses up in place. Supports pyramid principle, best sales deck, and release post formats.

Quellsprache: Englisch

Aktualisiert
Es werden 12 von 12 gesammelten Skills angezeigt.