/looker-skills:snowflake-to-bigquery-converterfrom looker-skills
Migrates LookML projects from Snowflake to BigQuery Standard SQL using the Looker CLI. Audits files for Snowflake syntax and proposes BigQuery equivalents.
Ships in looker-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill audits LookML files for Snowflake-specific SQL syntax and proposes BigQuery Standard SQL equivalents, checking them against a bundled syntax transition reference guide using the Looker CLI (looker-cli).
When invoked, execute the following steps precisely:
Pre-flight Guardrails & Verification:
Before requesting details or fetching code, verify that looker-cli is installed and authenticated:
looker-cli --help
If the command fails or is not found: Halt immediately and instruct the user:
"
looker-cliis not installed or not in your PATH. Please refer to the installation instructions in the Looker CLI documentation: https://github.com/looker-open-source/looker-cli"
looker-cli user me
If unauthenticated or connection fails: Halt immediately and instruct the user:
"You are not authenticated to a Looker instance. Please configure and authenticate
looker-cliusing one of the following methods:Method 1: Interactive OAuth (Recommended)
- In Looker, ensure the Looker CLI connector is enabled: Navigate to Admin > Platform > BI Connectors > under Developer Tools, toggle Looker CLI to ON.
- Configure your profile and log in:
looker-cli profile add default --host <your-looker-host> --port 443 looker-cli profile use default looker-cli session login --oauthMethod 2: API Keys (Client ID & Client Secret) If OAuth is not enabled or for headless/service accounts:
looker-cli profile add default --host <your-looker-host> --port 443 --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET> looker-cli profile use defaultOnce configured, please rerun your migration request."
Understand Scope & Validate Branch:
https://<instance>.looker.com or https://<instance-id>.<region>.looker.app), the Looker Project Name (e.g., my_empty_project), the target branch, and whether the user wants to check the entire project or a single specific LookML file (e.g., views/snowflake_test.view.lkml).looker-cli session update dev
looker-cli project branch <project_id> --all
master / main Equivalence: If the user requested master but only main exists (or vice versa), automatically map to the existing one (main or master) and inform the user.master/main equivalent) does not exist in the branch list, halt immediately, list the available branches to the user, and ask for clarification.Retrieve LookML Files via looker-cli:
looker-cli project checkout <project_id> <branch_name>
looker-cli project file ls <project_id>
looker-cli project file cat <project_id> <file_path>
(If the file is not found, halt, list matching project files, and ask for clarification).*.model.lkml, *.explore.lkml, *.view.lkml, manifest.lkml, and config files):
looker-cli project file cat <project_id> <file_path>
Identify Snowflake Syntax:
sql, sql_table_name, derived_table, sql_on, sql_always_where, sql_where, sql_trigger_value, etc.) against the Snowflake-to-BigQuery mappings in references/syntax_transition.md.IFF, NVL, ZEROIFNULL, DIV0, DECODE, DATEADD, DATEDIFF, DATE_TRUNC argument ordering, SPLIT_PART, LEN, CHARINDEX, ILIKE / NOT ILIKE, ILIKE ANY, :: casting, : semi-structured path access, LATERAL FLATTEN, and double-quoted column identifiers like ${TABLE}."COLUMN_NAME").QUALIFY, COALESCE).Compile Report: Draft a comprehensive migration report based on your analysis. The report must contain the following sections:
views/snowflake_test.view.lkml:L27-L44). Use the Looker instance URL to construct a direct link to the file in the Looker IDE: <instance_url>/projects/<project_id>/files/<file_path>.Print Report: Formulate the report and print it directly in the chat or console as your primary response. Do not save it to a file or an artifact.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (looker-open-source/looker-skills) — no native marketplace selected
npx claudepluginhub p/looker-open-source-looker-skills27 skills in this plugin
/authenticating-looker-cliLooker Developer Onboarding: Step 3. Authenticates the Looker CLI using OAuth. Only execute this after Step 2 (CLI Verification using `installing-looker-cli`)./connecting-looker-to-bigqueryLooker Developer Onboarding: Step 4. Creates a database connection in Looker to Google BigQuery. Only execute this after Step 3 (CLI Authentication using `authenticating-looker-cli`)./creating-looker-dashboardLooker Developer Onboarding: Step 7 (Final Step). Creates a LookML dashboard in the project, imports it as a user-defined dashboard (UDD) in Looker, and iteratively refines it based on user feedback by syncing changes. Only execute this after Step 6 (Model Setup using `creating-lookml-model`).Other plugins' skills for the same job