<h1 align="center">
<a href="https://prompts.chat">
Delete a Kafka cluster from 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 delete a Kafka cluster from Confluent Cloud.
Follow these steps:
Resolve environment — First, 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 and ask me to pick one.
Call list_clusters for the chosen environment. Show clusters as a numbered list with ID, name, and status.
Ask me to pick the cluster to delete.
WARNING: Warn that deleting a cluster is irreversible — all topics and data will be lost.
Ask for explicit confirmation: "Are you sure you want to delete cluster {name} ({id})? This cannot be undone."
Once confirmed, call delete_cluster with the cluster ID and environment ID.
Confirm deletion was successful.