<h1 align="center">
<a href="https://prompts.chat">
Create a new Kafka cluster in Confluent Cloud
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
Before starting: If any tool call fails with "Missing required environment variables", tell the user:
"Set your Confluent Cloud API credentials — generate at https://confluent.cloud/settings/api-keys, then export CONFLUENT_CLOUD_API_KEY=... CONFLUENT_CLOUD_API_SECRET=... and restart Claude Code."
Help me create a new Kafka cluster in Confluent Cloud.
Read the file .confluent-context.json in the project root. If it exists and contains an environment_id, use that environment automatically and tell me: "Using active environment {name} ({id}). Run /environments-use to change."
If the file doesn't exist or has no environment set, call list_environments to show available environments. Present as a numbered list with ID and name. Ask me to pick one (or offer to create a new one with /environments-create).
Use the AskUserQuestion tool to collect name, type, and cloud provider in a single call with 3 questions:
Question 1 — Cluster name (header: "Name")
Question 2 — Cluster type (header: "Type")
Question 3 — Cloud provider (header: "Cloud")
After receiving the cloud provider selection, use AskUserQuestion with a single question showing regions specific to the chosen provider. The user can always type a custom region.
If AWS selected (header: "Region"):
If GCP selected (header: "Region"):
If Azure selected (header: "Region"):
If Enterprise or Dedicated selected: Tell the user: "Enterprise and Dedicated cluster types are coming soon to the Claude Code plugin. For now, you can create these through the Confluent Cloud Console." Then re-ask with only Basic and Standard as options.
If Standard selected: Use AskUserQuestion for one more question:
Uptime SLA (header: "SLA")
Show a summary in the Confluent Cloud console style:
Summary
─────────────────────────────
Cluster type: Basic
Provider: Amazon Web Services
Region: N. Virginia (us-east-1)
Uptime SLA: 99.5%, Single zone
Networking: Internet
Minimum eCKUs: 1
Ask for confirmation, then call create_cluster with:
The cluster will start in PROVISIONING status. Poll using get_cluster every 30 seconds until status.phase is PROVISIONED. Show progress updates. Timeout after 15 minutes.
Once provisioned, automatically call create_api_key. The credentials are automatically saved to .confluent-context.json for use by topic commands. Display:
Show:
Suggest next steps:
/topics-create"/setup-streaming-app"