/fivetran-connector-sdk:connector-sdk-submit runs instead · from fivetran-connector-sdk
Prepares a Fivetran or Community Connector SDK example for a first pull request by applying target repository review instructions, sanitizing configuration.json, and running Black and Flake8.
This skill never runs in Claude Code
It ships in fivetran-connector-sdk at skills/, but /fivetran-connector-sdk:connector-sdk-submit (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Use this skill immediately before a contributor opens their first Connector SDK example-connector pull request. Its authority is the selected target repository's GitHub review instructions under .github/instructions. Do not use external examples or generic Python conventions as a substitute.
fivetran/community_connectors for a new, standalone connector for a specific source; or a focused bug fix, reliability/performance improvement, or documentation update to an existing Community Connector. New connectors belong in a top-level connector directory and must be listed in that repository's root README.md.fivetran/connector_sdk for a Connector SDK template, quickstart/tutorial, reusable generic SDK pattern. Place examples in the repository's existing examples/.fivetran/community_connectors. Submit the standalone connector there; do not split the work or create PRs in both repositories.fivetran/community_connectors or fivetran/connector_sdk:
.github/instructions/configuration-review.instructions.md.github/instructions/python-review.instructions.md.github/instructions/readme-markdown.instructions.md
If the contribution is in the selected repository, use its local files. Otherwise, ask the contributor for a checkout path for that repository.connector.py. If it is not, stop and explain that this skill supports connector/example submissions only; do not apply it to documentation-only, tooling, or repository-maintenance changes.connector.py, README.md, and dependency files, excluding configuration contents and raw configuration diffs. Discover configuration-like files by path only at this stage; defer reading their contents until the submission configuration has been selected and can be scanned locally without exposing values, as described below. Do not inspect or print real local configuration files such as configuration_local.json.Before making any edits, including non-behavioral compliance edits such as comments, README formatting, placeholders, or Black formatting, ask the contributor whether they want to run the host's evaluate-connector skill to identify performance bottlenecks and other quality improvements.
If they agree, invoke the evaluation skill and apply only changes the contributor authorizes. Then continue with this submission skill's review-and-fix workflow on the evaluated connector. If they decline, continue directly with the review-and-fix workflow.
Perform the following sequence. Treat BLOCKER and REQUEST_CHANGES levels from the loaded GitHub review instructions as such in the final report.
configuration.json only when it is the single clear, tracked configuration file for the connector.configuration_local.json.If configuration.json is missing, ask: “Do you have a sanitized tracked submission configuration at another path?” Then follow the contributor's answer:
connector.py through its reachable local helper modules before deciding which file to create. Include statically identifiable keys read or validated in local modules, not only keys read directly by connector.py.configuration.json with every identified key as a descriptive placeholder. For example, configuration["api_key"] becomes "api_key": "<YOUR_API_KEY>".configuration.json only when the trace finds no configuration keys:{}
When the contributor identifies the tracked submission configuration, or confirms that a new configuration file should be created, scan that file locally. The scan may read values to detect credentials, but it must not print, echo, paste, or return those values to chat, logs, command output, README content, or the PR. Report only safe information, such as the configuration key and the detected issue category.
Parse the file as JSON and check that it is a JSON object, uses descriptive consistent keys, and that every value is a descriptive string placeholder in the form <DESCRIPTION_HERE>.
Also scan it for credentials, tokens, passwords, personal data, embedded-credential URLs, database connection strings, IP addresses, internal host names, base64-looking values, and JWTs. Apply the exact security and completeness checks in the loaded configuration instruction, including agreement with connector.py, reachable local helper modules, and README.
If a real or possible credential, personal value, or any non-placeholder value is found, warn the contributor before modifying the file:
configuration.jsonis about to be replaced with safe placeholders. Save the real values in a separate untracked local configuration file, such asconfiguration_local.json, before continuing. Do not commit that local file.
Ask for confirmation. Only after confirmation, replace tracked configuration values with specific angle-bracket placeholders that preserve each field's intended purpose. Re-parse and scan the resulting file without exposing values.
Before submission, ensure that the tracked submission configuration file is named configuration.json. If the contributor selected a safe file with a different name, ask before renaming, copying, or replacing files.
Before submission, verify that every configuration value is a descriptive angle-bracket placeholder and that the file contains no credentials, tokens, passwords, personal data, embedded-credential URLs, connection strings, IP addresses, internal host names, base64-looking values, or JWTs.
Also scan the outgoing commits locally for sensitive configuration values, including earlier versions that were later replaced with placeholders. Do not print or return values or raw diffs; report only safe paths, commit identifiers, and issue categories. If the outgoing commit range cannot be established or scanned, pause the handoff. If sensitive values are found, block pushing and PR creation, explain that replacing the current file does not remove earlier committed values, and obtain the contributor's explicit approval before cleaning the affected history. Repeat the scan before continuing.
Keep the AI build marker lines (# Built using Connector SDK AI Plugin and the # Plugin: line) at the top of connector.py. They are intentional tracking metadata, not a review finding, and must not be removed during sanitizing. If they are already present, keep them unchanged. Do not add them if they do not already exist; this skill only preserves the marker.
Review connector.py against the loaded Python instruction in full. This includes SDK v2 operation usage, validation, logging, imports and dependencies, schema and state handling, error handling, streaming/pagination, naming/constants, docstrings, and main block requirements.
For every op.upsert() and op.checkpoint() call, verify the immediately preceding comment block matches the required block in the loaded instruction. Add the required block when it is missing; do not invent abbreviated wording. Also preserve the instruction's required update() opening log statement and its main-block comments.
Make only unambiguous compliance edits. Before a change that affects connector behavior (for example, retry policy, pagination, state advancement, primary keys, or configuration validation), describe the issue and ask the contributor to approve the proposed fix. Do not claim a semantic check passed merely because it was not mechanically verifiable.
If README.md is missing, create it before reviewing the rest of the documentation. Derive the connector name, configuration keys, tables, incremental-sync behavior, dependencies, and other verifiable facts from the connector files. Ask the contributor for information that cannot be safely inferred, such as the connector overview, how credentials are obtained, API limitations, and feature claims. Do not invent product behavior, authentication steps, or external URLs.
Create the README in the structure required by the selected repository's README instruction: one Title Case H1; Sentence case lower-level headings; required sections in the prescribed order; and optional Configuration file, Requirements file, Authentication, and Pagination sections when they apply. Include the configuration keys as safe placeholders, not real values. Then review the generated README using the same instruction.
For an existing or generated README, enforce exactly one Title Case H1 and Sentence case for every lower-level heading; do not uppercase headings. Enforce the prescribed section requirements/order, configuration and dependency documentation, authentication/pagination requirements where applicable, list style, and formatting restrictions.
Apply these submission rules in both repositories:
connectors/ prefix. For example, use fivetran init --template github for github/, or fivetran init --template veeva_vault/basic_auth for veeva_vault/basic_auth/.examples/. For example, use fivetran init --template examples/quickstart/hello or fivetran init --template examples/common_patterns/authentication/api_key.fivetran_connector_sdk and requests.Keep configuration names and descriptions aligned across configuration.json, connector.py, and README.md. If resolving a discrepancy requires product knowledge, show the discrepancy and ask rather than guessing.
Use the target repository's formatting and lint configuration when present. For a Community Connectors checkout, run its provided formatter from the repository root:
./.github/scripts/fix-python-formatting.sh
This script applies Black with a 99-character line length to Python files in the checkout. If the target repository does not provide that script, use Black with the repository's required line length; when no project setting specifies it, run python3 -m black --line-length 99 <relevant Python files>.
Before running the script, tell the contributor that it formats every Python file in the checkout and installs Black with pip --user when Black is missing. Ask for approval if that could change files outside the connector or modify the local Python environment.
If the repository does not provide a Flake8 wrapper script. Run Flake8 from the repository root so its .flake8 configuration and per-file ignores apply, following the CI invocation:
flake8 -- <repo-relative Python paths>
Apply the formatter's changes. Fix clear, behavior-preserving Flake8 failures; ask before changes with behavioral or API consequences. If the formatter script, Black, or Flake8 is unavailable, report the exact command and failure without installing packages or changing the contributor's environment unless they authorize it.
After every edit, repeat applicable configuration, Python-comment, README, Black, and Flake8 checks.
Report:
When the final checks pass, ask whether the contributor wants to raise the pull request. Do not commit, push, create a fork, authenticate, or create a pull request without their explicit approval.
If approved, create a concise PR title from the verified change. Use an action-oriented title that names the connector or SDK material affected; do not ask the contributor to write it unless the change cannot be identified from the files.
Fill the Description section with a brief, factual explanation of what the connector does and the data it syncs, based only on verified connector code and documentation. Do not frame it as a summary of implementation changes, include limitations, or add unverified claims. Then create a pull request with this body only:
### Description
<brief explanation of what the connector does and the data it syncs>
### Validation
<!--
For connector code changes, attach lightweight proof that the code ran successfully,
such as a screenshot of `fivetran debug` output or a short relevant log excerpt.
Remove credentials, personal data, customer information, and other sensitive values.
For documentation-only or repository-maintenance changes, briefly describe any
validation appropriate to the change. A detailed test report is not required.
-->
### Checklist
Check only the items that apply:
- [ ] **Connector code change:** I ran `fivetran debug` and attached sanitized proof of a successful run.
- [ ] **New connector:** I added a connector-level `README.md` with the relevant [template sections](https://github.com/fivetran/community_connectors/blob/main/_template_connector/README_template.md) and listed the connector in the root `README.md`.
- [ ] **All contributions:** I confirmed that the change and its validation evidence contain no credentials, personal data, customer information, or other sensitive values.
See [CONTRIBUTING.md](https://github.com/fivetran/community_connectors/blob/main/CONTRIBUTING.md) for the complete contribution requirements.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/build-connectorBuild a new Fivetran connector from a description. Use when the user wants to create, generate, or scaffold a new connector for an API or data source./deploy-connectorPackage and deploy a Fivetran connector to Fivetran. Use when the user wants to deploy or ship their connector./evaluate-connectorEvaluate a Fivetran connector for correctness, SDK compliance, security, and reliability. Use when the user wants a code review or quality report before deploying.npx claudepluginhub fivetran/connector_sdk_tools --plugin fivetran-connector-sdkOther plugins' skills for the same job