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-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-opsonly 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_IDas 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:
- Requirements and data contract: define the computation goal, inputs and outputs, correctness constraints, and runtime requirements.
- SQL authoring and static review: translate the data contract into complete SQL and check semantics, configuration, and version compatibility.
- Configuration check and cloud validation: confirm the target environment, identity, and metadata, and validate the SQL in the cloud environment.
- Draft and Deployment: maintain Drafts and Deployment resources while keeping SQL, configuration, and deployed versions aligned.
- Start and acceptance: start the Job with the required restore behavior and verify its runtime state and requested acceptance criteria.
- Operations and changes: manage running Job instances, state, and supporting resources, and complete changes safely with read-back verification.
- 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_doctorsucceeds. - Normal mutation: create, update, deploy after validation, start, register, and similar actions. An explicit request to perform the action is authorization; add
--confirmto the command. A request for options is not authorization. - High risk: every
stop_*anddelete_*command, any restart or deployment flow that includes a stop, and destructiveexecute_sqlstatements such asDROPorTRUNCATE. 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
Установить 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic