From ai-helper
Guided setup for Apache Flink OSS locally using Kubernetes Operator. Use this skill to orchestrate the creation of local Flink Docker images, setup Minikube/Kubernetes environments, and deploy the Flink Kubernetes Operator with version-specific configurations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-helper:flink-oss-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides a dynamic workflow to set up Apache Flink locally using the Flink Kubernetes Operator (FKO). It handles version-specific logic by fetching assets directly from the official `flink-docker` repository.
This skill provides a dynamic workflow to set up Apache Flink locally using the Flink Kubernetes Operator (FKO). It handles version-specific logic by fetching assets directly from the official flink-docker repository.
Begin by asking the user which versions of Flink and the Flink Kubernetes Operator they wish to use.
1.18, 2.01.14.0Clone the official flink-docker repository to a temporary directory to retrieve version-specific docker-entrypoint.sh and Dockerfile templates.
# Example extraction logic
TMP_DIR=$(mktemp -d)
git clone https://github.com/apache/flink-docker "$TMP_DIR"
# Navigate to the specific version directory within $TMP_DIR
If a local image is requested:
eval $(minikube -p minikube docker-env).config.yaml instead of flink-conf.yaml).docker build -t flink:local ..YAML configuration format:
kubectl patch configmap flink-operator-config --type merge -p '{"data":{"kubernetes.operator.flink.configuration.format":"YAML"}}'
kubectl rollout restart deployment flink-kubernetes-operator
Generate and apply a FlinkDeployment YAML. Ensure it matches the chosen Flink version's configuration schema.
kubectl logs for the operator or the Flink pods.FLINK_CONF_DIR if IllegalConfigurationException occurs.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub spuru9/ai-helper --plugin ai-helper