Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

alibabacloud-flink-sql-skill

БесплатноЗапускает вложенные скриптыНе проверен

Manage the full lifecycle of Alibaba Cloud Realtime Compute for Apache Flink SQL: analyze schemas, author and validate SQL, manage Drafts, Deployments, Jobs…

sdk-teamот sdk-team575 установок в других каталогах

Об этом скилле

Alibaba Cloud Flink SQL Skill

This skill covers the complete lifecycle of a Flink SQL job, from requirements analysis, SQL authoring, validation, and deployment to operations, performance assessment, and troubleshooting, through a unified CLI.

Quick Entry

  • Unified command: python3 scripts/flink_sql_manager.py <command> [args...].
  • Prefer this skill's bundled scripts and references. Fall back to alibabacloud-flink-workspace-ops only when a required workspace operation is not covered locally or the documented local path fails; first verify that skill is loaded, otherwise tell the user to install it.
  • Before cloud calls, read references/manifest.json and initialize SKILL_SESSION_ID as described in references/configuration.md. Missing or invalid identity data blocks cloud requests.
  • Read references/lifecycle.md before starting a multi-step task.
  • Before the first Ververica OpenAPI call, follow references/configuration.md to check the configuration and optionally initialize Git.
  • Read only the references needed for the current stage; do not load all documentation at once.
  • If platform commands cannot actually be run, state the missing prerequisite and provide the complete command that remains to be run. Never describe an example command as executed.

One Lifecycle

Enter at the user's current stage and proceed along the same lifecycle:

  1. Requirements and data contract: define the computation goal, inputs and outputs, correctness constraints, and runtime requirements.
  2. SQL authoring and static review: translate the data contract into complete SQL and check semantics, configuration, and version compatibility.
  3. Configuration check and cloud validation: confirm the target environment, identity, and metadata, and validate the SQL in the cloud environment.
  4. Draft and Deployment: maintain Drafts and Deployment resources while keeping SQL, configuration, and deployed versions aligned.
  5. Start and acceptance: start the Job with the required restore behavior and verify its runtime state and requested acceptance criteria.
  6. Operations and changes: manage running Job instances, state, and supporting resources, and complete changes safely with read-back verification.
  7. Performance assessment and troubleshooting: evaluate runtime behavior, identify bottlenecks or failures from evidence, and recommend actions.

Complete only the stages required by the user's goal. Do not deploy, start, stop, or delete resources without authorization. See references/lifecycle.md for command ordering.

Platform Configuration Gate

Before any Ververica OpenAPI operation, run:

python3 scripts/flink_sql_manager.py config_doctor

If the workspace, namespace, or region is missing, follow references/configuration.md: ask only for the missing real scope and save the user's optional Git settings in the same config_init call. Run config_doctor again after initialization. Continue with cloud operations only when it exits with code 0 and reports an explicit success. For any other outcome, including an unconfirmed result, stop subsequent platform commands, handle the actual error, and run the check again.

For local-only SQL design, authoring, or explanation, complete the current stage without blocking on platform configuration. Apply the gate when entering cloud validation or any later stage.

Historical Metrics and operator observing use separate Cookie authentication and are not gated by the SDK credential check.

Always use real resource identifiers. When workspace, namespace, or region is missing, use the first-time initialization flow above. When a Draft ID, Deployment ID, or Job ID is missing, obtain it from user-provided information or a read-only query. Never call an API with placeholder IDs. Other than a user-provided Cookie for historical Metrics or operator observing, do not accept AccessKey IDs, AccessKey secrets, tokens, or passwords. Never echo or commit credentials.

Safety Gate

The CLI requires --confirm for every mutating command. The agent must also apply the following risk rules:

  • Read-only: execute directly after the scope is clear and config_doctor succeeds.
  • Normal mutation: create, update, deploy after validation, start, register, and similar actions. An explicit request to perform the action is authorization; add --confirm to the command. A request for options is not authorization.
  • High risk: every stop_* and delete_* command, any restart or deployment flow that includes a stop, and destructive execute_sql statements such as DROP or TRUNCATE. A bare action request is not advance confirmation for a high-risk operation. If the current request explicitly confirms the high-risk action and its impact, and read-only resolu
Полный SKILL.md на ClawHub

Установить alibabacloud-flink-sql-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл alibabacloud-flink-sql-skill?

Manage the full lifecycle of Alibaba Cloud Realtime Compute for Apache Flink SQL: analyze schemas, author and validate SQL, manage Drafts, Deployments, Jobs, Savepoints, Session Clusters, Catalogs, Connectors, UDFs, variables, and deployment targets, synchronize configuration to Git, and troubleshoot logs, Metrics, Checkpoints, exceptions, plans, and backpressure. Use when the user asks about Alibaba Cloud Flink, VVR, VVP, Flink SQL, its job lifecycle, or troubleshooting. Operate the platform through the Python CLI; historical Metrics and operator observing use a user-supplied VVP Cookie. Verify scope and authentication before platform operations. High-risk actions usually require confirmation; explicit confirmation for the resolved target in the same request satisfies the gate.

Как установить скилл alibabacloud-flink-sql-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл alibabacloud-flink-sql-skill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить alibabacloud-flink-sql-skill с