← ClaudeAtlas

couchbase-eventinglisted

Design, deploy, and troubleshoot Couchbase Eventing functions. Use whenever the user asks about Eventing, eventing functions, JavaScript functions on document mutations, source bucket, metadata bucket, source keyspace, metadata keyspace, OnUpdate, OnDelete, cron triggers, curl() in eventing, N1QL in eventing, eventing deployment state (deployed / undeployed / paused), eventing worker count, DCP feed, Eventing service, admin_eventing_* tools, or 'how do I run code when a document changes.' Distinct from couchbase-mcp (calling the tools) and couchbase-app-integration (SDK-based change notification via DCP/Kafka). Use proactively when the user has a change-driven processing need: cache warming, audit logging, cross-collection sync, event publishing, or derived document generation.
celticht32/Couchbase-Skills-for-Claude.ai · ★ 1 · AI & Automation · score 77
Install: claude install-skill celticht32/Couchbase-Skills-for-Claude.ai
# Couchbase Eventing A skill for *designing and operating* Couchbase Eventing functions — JavaScript that runs in response to document mutations in a source collection. Distinct from: - `couchbase-mcp` — calling `admin_eventing_*` tools to deploy and manage functions - `couchbase-app-integration` — SDK-based DCP consumer code for change processing outside the cluster - `couchbase-data-modeling` — document shape decisions If the conversation is "I want to run code when a document changes," this is the right skill. ## When this skill applies - "How do Eventing functions work?" - "How do I deploy an Eventing function?" - "How do I write an OnUpdate handler?" - "How do I call an external API from Eventing?" - "Can I run SQL++ from inside an Eventing function?" - "How do I sync data between two collections automatically?" - "Eventing function is deployed but nothing happens" - "How do I debug an Eventing function?" - "What's the metadata bucket / keyspace for?" - "How do I handle errors in Eventing functions?" ## Pick the right reference | Question | Read | |---|---| | "How do I write the JavaScript? OnUpdate, OnDelete, cron, curl, N1QL?" | `references/function-authoring.md` | | "How do I configure and deploy a function — source, metadata, workers, bindings?" | `references/deployment.md` | | "Function isn't triggering / processing slowly / throwing errors — what's wrong?" | `references/troubleshooting.md` | ## Three core principles **Principle 1 — Eventing is exactly-once