deploy-connector
БесплатноБез исполняемых скриптовНе проверенGuide the user through creating or updating a pipeline for a source connector — read the docs, build a pipeline spec interactively, and run create_pipeline or…
от databrickslabs★ 74 звезды на GitHubОб этом скилле
Deploy Connector
Create or update a managed ingestion pipeline for {{source_name}} by reading its docs, interactively building a full pipeline spec, and running the CLI. The CLI builds the connector's Python wheels, uploads them to a UC Volume, and creates a pipeline whose ingestion_definition is set from the spec — no repo clone.
Prerequisites
- Connector source, spec (
connector_spec.yaml), and README exist undersrc/databricks/labs/community_connector/sources/{{source_name}}/ - Databricks CLI configured, Python 3.10+
Step 0 — Determine operation mode
If {{mode}} is create or update, use it. Otherwise ask via AskUserQuestion.
If update, also collect the pipeline name (unless {{pipeline_name}} was provided).
Step 1 — Read the connector documentation
Read these files to understand the source:
src/databricks/labs/community_connector/sources/{{source_name}}/README.mdsrc/databricks/labs/community_connector/sources/{{source_name}}/connector_spec.yaml
Extract: supported tables (descriptions, ingestion types, primary keys), required/optional table level options, and connection parameters.
Step 2 — Collect deployment parameters
Use AskUserQuestion for structured choices; text prompts otherwise.
2a. UC connection name
If {{connection_name}} provided, use it. Otherwise ask if the user has one.
Yes: ask for the name.
No: show the
create_connectioncommand:community-connector create_connection {{source_name}} <CONNECTION_NAME> -o '<CREDENTIALS_JSON>'List each required/optional credential parameter from the spec (e.g.
token,api_key) with a short description. Do not ask forexternalOptionsAllowList— the CLI reads the connector spec and adds it automatically. Ask the user to run the command and provide the connection name.The command is the same whether the connector uses static credentials or OAuth — the CLI reads the auth mode and its required options from the spec's
connection.oauthblock, so you don't choose a mode here. The one runtime difference to flag for the user: an interactive flow (u2m/u2m_per_user) opens a browser at connection creation for them to log in and authorize (and the source's OAuth app must have the redirect URI registered), whereasm2mcompletes machine-to-machine with no browser.
2b. Default destination catalog and schema
Ask for catalog (e.g. main) and schema (e.g. raw_example). These set the pipeline-level catalog/schema and serve as the default destination for each table. Individual tables can override them with per-table destination_catalog/destination_schema (see 2e).
2c. Pipeline name
Create mode: ask user to choose a name. Update mode: confirm the name from Step 0.
2d. Tables to ingest
Present the supported tables from Step 1 with brief descriptions. Let the user pick; offer an "all tables" shortcut.
2e. Per-table configuration
For each selected table, check the README for three categories of options:
Destination overrides (destination_table, and optionally destination_catalog/destination_schema) — set on the table object. destination_catalog/destination_schema default to the values from 2b; only override per table if the user asks. Mention destination_table is available but don't actively prompt.
Source-specific options (set inside connector_options.community_connector_options.options):
- Required: list each with description, ask for values (e.g.
owner/repofor GitHub,categoryfor products,window_secondsfor metrics) - Optional: list each with description and default, ask if the user wants to set any (e.g.
start_dateto filter,max_records_per_batchto control batch size)
Ingestion controls (set inside table_configuration): scd_type, primary_keys, sequence_by. Ask only if the user wants to override the connector defaults.
If multiple tables share options (e.g. same owner/repo), ask once and reuse — confirm with user.
Step 3 — Generate the full pipeline spec
If the user just wants an empty pipeline (a connection but no tables yet, to add later), skip the spec entirely: run
create_pipelinewith only-n <CONNECTION_NAME> -c <CATALOG> -t <SCHEMA>(see Step 5). Otherwise build the spec below.
Build a complete pipeline spec as JSON or YAML. The CLI sends it to the
pipelines API as-is, only adding the managed-ingestion configuration flag, the
ingestion_definition.source_type, and the connector wheel environment. Since
the CLI does not backfill per-table destinations in full-spec mode, spell out
destination_catalog/destination_schema on every table (using the 2b values).
name: <PIPELINE_NAME>
catalog: <CATALOG>
schema: <SCHEMA>
serverless: true
channel: PREVIEW
ingestion_definition:
connection_name: <CONNECTION_NAME>
objects:
- table:
source_schema: default
Установить deploy-connector в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл deploy-connector?
Guide the user through creating or updating a pipeline for a source connector — read the docs, build a pipeline spec interactively, and run create_pipeline or update_pipeline.
Как установить скилл deploy-connector?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deploy-connector запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub