/streaming-skills-plugin:confluent-cloud-flink-sqlfrom streaming-skills-plugin
Writes and debugs Flink SQL for Confluent Cloud, enforcing the CC-vs-Apache-Flink dialect boundary. Verifies statements against a live compute pool via the `confluent` CLI.
Ships in streaming-skills-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Enforce the CC-Flink-vs-OSS-Flink dialect boundary and the CLI-driven verification loop for any Confluent Cloud Flink SQL work. Apache Flink OSS training data is a trap — CC rejects or silently mishandles a long list of otherwise-valid Flink SQL constructs.
Scope note: this skill's reference material is built around the OSS-vs-CC dialect boundary — traps in constructs that exist in both dialects but behave differently. It does not yet catalog CC-only DDL that has no OSS counterpart (e.g. CREATE MATERIALIZED TABLE, CREATE MODEL/AI_COMPLETE, CREATE AGENT, USE CATALOG). For those, verify directly against the CC Flink SQL reference rather than expecting a trap entry here.
confluent flink shell against the user's compute poolconfluent CLI runs. Unit tests may mock; anything calling itself "end-to-end verification" may not.docs/flink-dialect-traps.md in their project) before writing any new file — don't assume a docs/ layout.CREATE CONNECTION parameters are Terraform-injected, never hardcoded. Gitignore .tfvars, .tfstate*, *.secret* from day one.EXPLAIN a query before statement create — catches parse/type errors without consuming CFUs.<placeholder> for any topic, table, statement, or resource name you haven't verified.When a user asks to build, modify, or troubleshoot a Flink SQL streaming solution, first understand the streaming problem and identify the required data and processing semantics before generating SQL.
Use this workflow:
Do not ask clarifying questions if a request is complete (i.e., all required information, context, and parameters are provided or retrievable via available MCP tools). Skip directly to implementation and validation.
Only ask questions when critical information is missing and cannot be resolved through existing context or tools.
Before generating Flink SQL, determine what the user is trying to accomplish.
Establish, when relevant:
Ask only questions that materially affect the pipeline design.
Do not ask for information that is already available in the conversation.
When MCP tools are available, prefer inspecting existing Confluent resources over asking the user for information that can be discovered.
For referenced input resources:
Do not invent topic names, table names, column names, schemas, or timestamp fields.
If multiple resources could match the request, present the candidates and ask the user to select one.
Before generating SQL, determine the semantics that materially affect the result. Skip this step if all relevant semantics are already established from the user's prompt or the discovery step.
Examples include:
For non-trivial requests, summarize the proposed design before generating executable SQL. For simple, fully specified requests, this can be reduced to a brief summary or skipped entirely.
Use:
Input
Processing
Output
Assumptions
Ask the user to confirm or correct the design before creating or modifying resources.
Before creating, modifying, or deleting a Confluent resource, present the execution plan.
The plan should identify:
Wait for explicit user confirmation before performing resource-modifying operations.
Read-only discovery and inspection may be performed before confirmation.
After the design is confirmed, generate and validate the SQL:
EXPLAIN where appropriate to catch parse/type errors without consuming CFUs.Use the existing dialect, SQL pattern, CLI, and troubleshooting references for implementation details.
Create or modify the Flink statement only after receiving explicit user confirmation:
After the statement is running:
Requirements gathering must be adaptive rather than a fixed questionnaire.
Load these on demand when the topic matches — do not read them all upfront:
| File | When to load |
|---|---|
| references/dialect-traps.md | Before writing ANY Flink SQL — 22 CC-vs-OSS traps, single source of truth |
| references/cli-reference.md | Before running confluent CLI — flag schemas, carry-over recipe, timing, token expiry |
| references/sql-patterns-cc.md | When writing SQL — CC-validated patterns: windows, joins, dedup, MATCH_RECOGNIZE, JSON, External Tables |
| references/formats-and-serialization.md | When configuring table formats — 7 supported formats, id-encoding, consume flags |
| references/troubleshooting-cc.md | When debugging errors — CC-specific error to cause to fix |
| references/reserved-words.md | When hitting parse errors — must-backquote identifiers |
Stop and consult references/dialect-traps.md if you catch yourself writing any of these:
CREATE CATALOG ... — catalog = CC environment, not creatableSET 'execution.checkpointing.*' — CC-managed, not settableCREATE TABLE ... WITH ('connector' = 'kafka', ...) — tables auto-map from topics'value.format' = 'json' — must be 'json-registry' (or another SR-backed format)WITH cte AS (...) INSERT INTO ... — CC requires the CTE AFTER INSERT INTOGROUP BY TUMBLE(ts, INTERVAL ...) — must use the TVF form: TUMBLE(TABLE t, DESCRIPTOR(ts), ...)LATERAL TABLE(UNNEST(...)) — parse error; use CROSS JOIN UNNEST(...)PROCTIME() — not supported; use External Tables/KEY_SEARCH_AGG or an event-time temporal join (avoid a regular join against an upsert-kafka topic — it retains the whole table in state)CREATE FUNCTION f AS '...' without USING JAR — CC UDFs require an uploaded artifactSTOP WITH SAVEPOINT — not exposed on CC--sql-file flag — doesn't exist; use --sql "$(cat file.sql)"DROP TABLE — deletes the physical Kafka topic and its data on CC, not just metadata; confirm before runningCanonical validation loop for any CC Flink SQL claim:
flink shell — catches syntax and type errors for free.confluent flink statement create <name> --sql "$(cat repro.sql)" --compute-pool <id> --database <cluster> --environment <env> --waitconfluent kafka topic consume <topic> --cluster <id> --from-beginning --value-format <matching-format> 2>/dev/null | grep -v '^%' — match <matching-format> to the sink's value.format (see references/formats-and-serialization.md; jsonschema for json-registry, avro for avro-registry, protobuf for proto-registry, string for raw)Escalation-required states (no silent workarounds):
PENDING > 60s → confluent flink statement exception list <name> --cloud <provider> --region <region>confluent flink artifact list --cloud <provider> --region <region>DESCRIBE <table>, diff against the producer schemaCREATE CONNECTION + USING CONNECTIONS clauseSee references/cli-reference.md for full flag schemas and timing expectations.
apache-flink cited as CC authorityconfluent CLI in anything claiming end-to-end verificationterraform apply -auto-approve on the first run of a root module.tfvars, .tfstate*, .terraform/, *.secret*statement exception listCREATE CONNECTION or UDF sourcedeveloper.confluent.io/tutorials/#flink mixes OSS and CC tutorials.
Filter rule: Only use tutorials that list "Confluent Cloud" in prerequisites or use confluent flink shell. Apply the dialect trap table to any SQL copied from a tutorial — many target OSS Flink or Kafka Streams and are not CC-compatible as-is.
references/dialect-traps.md (this skill) — canonical, consolidatedCLAUDE.md — references this skill, adds project-specific contextWhen a new trap is discovered during a session, tell the user so they can decide whether to record it in their project's own notes. Do not edit this skill's own installed files (references/dialect-traps.md or elsewhere) — propose the change and let the user (or a separate PR to this skill's repo) apply it.
evals/evals.json (opens in a new tab)references/cli-reference.md (opens in a new tab)references/dialect-traps.md (opens in a new tab)references/formats-and-serialization.md (opens in a new tab)references/reserved-words.md (opens in a new tab)references/sql-patterns-cc.md (opens in a new tab)references/troubleshooting-cc.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/confluent-cloud-cdc-tableflowSet up end-to-end Change Data Capture (CDC) pipelines on Confluent Cloud using Debezium source connectors, Flink for transformation, and Tableflow for data lake integration. Supports JSON_SR, Avro, and Protobuf formats. Handles schemaless topics (plain JSON without SR) and multi-event topics. This skill handles the complete workflow from database to Iceberg/Delta tables. Use this skill when users want to capture database changes and materialize them into Iceberg or Delta Lake tables via Confluent Cloud Tableflow. Trigger phrases include "CDC to Tableflow", "database to Iceberg", "database to Delta Lake", "stream database changes to data lake", "set up Tableflow pipeline", "schemaless topic to Tableflow", or "multi-event topic to Iceberg". Do NOT trigger for general CDC, Debezium, or database replication requests that do not involve Tableflow or Iceberg/Delta Lake as the destination./confluent-cloud-provider-integrationGuide a user through setting up and validating a Confluent Cloud provider integration, so fully-managed connectors and Tableflow reach cloud provider (CSP) resources via a short-lived assumed identity, not long-term access keys. Covers AWS (IAM AssumeRole), Azure (Entra ID multi-tenant app plus service principal), and Google Cloud (service account impersonation), with state tracking across the Confluent and CSP UIs/CLIs. Use when a user says "set up/create a provider integration", "provider integration for an S3 / DynamoDB / GCS / BigQuery connector", "connect a connector without access keys", "IAM role for a Confluent connector", "Entra ID service principal for Confluent", or asks about provider.integration.id or authentication.method. Do NOT trigger for configuring a connector that already has a working integration, for Confluent RBAC or API-key management, for CDC or Tableflow pipelines end-to-end, or for authoring an agent skill; this skill stops once the integration is created and validated./confluent-skill-creatorCreate Confluent-specific skills for external users. Use this skill when users want to create, build, or author a new skill related to Confluent Cloud, Confluent Platform, Apache Kafka, WarpStream, Flink, Connectors, Schema Registry, Tableflow, CDC pipelines, or any Confluent product. Skills can be use-case focused (like data enrichment, CDC to Tableflow, stream processing workflows) or component-specific (like a Flink skill, Schema Registry skill, or Connector skill). Do NOT use this skill when users want to directly use Confluent products (e.g., build a pipeline, write a producer, deploy Flink SQL) — use the appropriate product-specific skill instead. This skill is specifically for creating new skills, not for using existing ones./confluent-skill-reviewerReview a Confluent agent skill in this repo against the Agent Skills spec (agentskills.io), Confluent conventions in CLAUDE.md, the PR template gates, and the evals-as-contract rule. Use this skill whenever the user asks to review, audit, validate, or lint a skill; opens or inspects a PR that adds or modifies anything under `skills/`; asks about spec conformance, lazy-loading, frontmatter shape, trigger overlap, or eval coverage; or wants a pre-merge sanity check on skill changes. Do NOT trigger for general code review of application code; security review; auditing schemas, producer/consumer configs, PII tagging, or Terraform generation for Schema Registry (handled by `kafka-schema-registry`); runtime/log analysis of skill behavior (use `tools/skill_review_dashboard.py`); or any changes that don't touch the `skills/` tree./confluent-tuning-advisorAdvisory-only Kafka tuning for Confluent Cloud or Confluent Platform by priority: latency, throughput, availability, or durability. Use when asked to size a planned topic or tune an existing cluster, topic, producer, or consumer for a quantified target such as lower p99 latency or no lost acknowledged writes. Inspects configuration read-only and recommends changes, trade-offs, and validation; the administrator applies them. Do NOT trigger for: WarpStream or Apache Kafka OSS-only clusters; Flink SQL or UDF authoring, tuning, or debugging (use confluent-cloud-flink-sql or flink-udf); Kafka Connect tuning; new Java/Python client implementation (use developing-kafka-java-client or developing-kafka-python-client); Kafka Streams/KStream/KTable development (use kafka-streams-programming); or CDC, Tableflow, or Iceberg pipelines (use confluent-cloud-cdc-tableflow)./developing-kafka-java-clientUse when the user wants to integrate a Kafka client into an existing application or scaffold a Java Kafka client project (Maven or Gradle based) for Confluent Cloud, local Docker, or WarpStream. Covers the Apache Kafka Java clients (KafkaProducer/KafkaConsumer/KafkaShareConsumer) with Avro, JSON Schema, or Protobuf serializers. Also use when the user wants to optimize Java Kafka client configuration for WarpStream. Do NOT trigger for Kafka Streams apps (use kafka-streams-programming), Flink, connectors, or Kafka Python client (use developing-kafka-python-client).npx claudepluginhub confluentinc/agent-skills --plugin streaming-skills-pluginOther plugins' skills for the same job