[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698ZXCY2PAFZR6BRZ75F0S5":3,"skill-same:01M698ZXCY2PAFZR6BRZ75F0S5":219},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":17,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M698ZXCY2PAFZR6BRZ75F0S5","bigquery-migration-sql-translator","BigQuery SQL 方言迁移翻译","Translates SQL queries, DDL schemas, and stored procedures from legacy database dialects (Teradata, Oracle, Redshift, Snowflake, SparkSQL, HiveQL) to BigQuery GoogleSQL using the BigQuery Migration Service (BQMS) MCP server. Use when translating legacy SQL queries, migrating schemas or metadata zip archives, or configuring BigQuery Migration Service (BQMS) YAML translation settings. Don't use for executing BigQuery queries or managing datasets and tables (use bigquery-basics), diagnosing runtime job errors (use bigquery-troubleshooting), or tuning slot reservations (use bigquery-optimization).","使用 BigQuery Migration Service（BQMS）MCP server，将 SQL 查询、DDL 模式和存储过程从旧版数据库方言（Teradata、Oracle、Redshift、Snowflake、SparkSQL、HiveQL）翻译为 BigQuery GoogleSQL。用于翻译旧版 SQL 查询、迁移模式或元数据 zip 归档，或配置 BigQuery Migration Service（BQMS）YAML 翻译设置。不用于执行 BigQuery 查询或管理数据集和表（请使用 bigquery-basics）、诊断运行时作业错误（请使用 bigquery-troubleshooting）或调整插槽预留（请使用 bigquery-optimization）。","google\u002Fskills","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698WR0H76ENHE587T9EJT89",24235,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BS1P4QM1G70C9FKMTZ88VK","数据库管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,10],"bigquery migration sql translator","sql","bigquery","migration","translator","server","when","zip","tables","errors","translation","sql queries","tuning","MCP","snowflake","redshift","database","mcp server","oracle","2026-11-10 10:12:30",false,"---\nname: bigquery-migration-sql-translator\nmetadata:\n  version: \"1.0.2\"\n  category: BigDataAndAnalytics\n  publisher: google\ndescription: >-\n  Translates SQL queries, DDL schemas, and stored procedures from legacy database\n  dialects (Teradata, Oracle, Redshift, Snowflake, SparkSQL, HiveQL) to BigQuery\n  GoogleSQL using the BigQuery Migration Service (BQMS) MCP server. Use when\n  translating legacy SQL queries, migrating schemas or metadata zip archives,\n  or configuring BigQuery Migration Service (BQMS) YAML translation settings.\n  Don't use for executing BigQuery queries or managing datasets and tables (use\n  bigquery-basics), diagnosing runtime job errors (use bigquery-troubleshooting),\n  or tuning slot reservations (use bigquery-optimization).\n---\n\n# BigQuery Migration Service (BQMS) SQL Translator\n\nThe BigQuery Migration Service (BQMS) translates legacy database SQL scripts,\nqueries, and schemas into GoogleSQL. This skill coordinates translation\nworkflows, Cloud Storage staging, compiler error triage, and YAML configuration.\n\n## Usage Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read and follow the instructions in\n[Usage Attribution](references\u002Fattribution.md).\n\n## Before you begin\n\nBefore translating queries or schemas, verify the following prerequisites:\n\n1.  **Google Cloud SDK & Project Setup**: Ensure the\n    [Google Cloud SDK](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) is installed,\n    verify that your Google Cloud project has an active Cloud Billing account\n    attached, and select the target project:\n\n    ```bash\n    gcloud config set project {project_id}\n    ```\n\n2.  **Enable the API**: Enable the BigQuery Migration API\n    (`bigquerymigration.googleapis.com`) in your Google Cloud project:\n\n    ```bash\n    gcloud services enable bigquerymigration.googleapis.com\n    ```\n\n3.  **Required IAM Roles**: Verify that your identity or service account has:\n    -   `roles\u002Fmcp.toolUser` (MCP Tool User)\n    -   `roles\u002Fbigquerymigration.editor` (Migration Workflow Editor)\n    -   For batch translation, `roles\u002Fstorage.objectViewer` and\n        `roles\u002Fstorage.objectCreator` (or `roles\u002Fstorage.objectAdmin`) on the\n        Cloud Storage buckets that hold the input and output files.\n4.  **MCP Server Connection**: If BigQuery Migration Service (BQMS) tools (e.g.\n    `translate_query`, `translate_batch_queries`) are not present in your active\n    tool list, configure the remote BigQuery Migration Service (BQMS) MCP\n    server. For setup instructions across clients (Claude, Cursor, Gemini CLI,\n    VS Code), see [mcp_config.md](references\u002Fmcp_config.md).\n5.  **Cost & Cloud Storage Cleanup**: Review\n    [Google Cloud Pricing](https:\u002F\u002Fcloud.google.com\u002Fpricing) for Cloud Storage\n    and BigQuery usage details. After completing a batch migration, clean up\n    temporary staged input and output folders in Cloud Storage:\n\n    ```bash\n    gcloud storage rm -r gs:\u002F\u002F{bucket}\u002F{folder}\n    ```\n\n6.  **Translation Tracking**: For batch translations, and for queries that need\n    more than one translation iteration, keep a translation tracker (e.g.\n    `translation_tracker.md`) to document goals, planned steps, and progress.\n    After each translation, record one row with this template:\n\n    Iteration | Status | Total Errors | Correctness Errors | Completeness Errors | Compatibility Errors | Key Actions \u002F Transformations\n    --------- | ------ | ------------ | ------------------ | ------------------- | -------------------- | -----------------------------\n\n    A single query that translates cleanly on the first attempt needs no\n    tracker: report its translation ID and logs in your response.\n\n## Workflow Selection\n\nChoose the workflow based on your migration scope:\n\n-   **Interactive Translation (Single Query)**: Best for ad-hoc queries,\n    exploratory testing, dialect syntax comparison, or quick error debugging.\n-   **Batch Translation (Multiple Files & Cloud Storage)**: Use for more than\n    one file or a directory, including SQL embedded in application code (extract\n    it into `.sql` files first). For multi-file Python codebases containing\n    embedded SQL, use\n    [python_embedded_sql_migrator_template.py](assets\u002Fpython_embedded_sql_migrator_template.py)\n    to extract queries into staged files and re-inject translated SQL. Batch\n    translation is faster and cheaper than translating files one by one, and it\n    resolves cross-file dependencies, so it usually gives better results. Run\n    `translate_batch_queries` on the staged files first; use `translate_query`\n    only afterwards if needed to debug a specific statement from\n    `translation_report.csv`.\n\n## 1. Interactive Translation Workflow\n\nUse the interactive workflow to translate a single query string, inspect\ncompiler logs, and iteratively resolve issues.\n\n### Steps\n\n1.  **Submit Query (`translate_query`)**: Call `translate_query` with\n    `projectNumber`, `location`, `inputQuery`, `sourceDialect`, and\n    `targetDialect` (`BigQuery`). Include optional parameters:\n\n    -   `metadataFilePath`: Cloud Storage URI to a metadata zip file\n        (`gs:\u002F\u002F...\u002Fmetadata.zip`) for schema resolution.\n    -   `translationConfigs`: Inline YAML configurations (e.g. object renaming,\n        schema redirection, optimizer rules). Show the YAML you used in your\n        response so the user can reuse it (e.g. in batch translation).\n\n2.  **Poll Status (`get_translation`)**: If the returned `translation_state` is\n    `RUNNING` or `PENDING`, poll `get_translation` using the `translation` ID,\n    `projectNumber`, and `location` until `translation.state` is `SUCCEEDED` or\n    `FAILED`, at the interval given in the BigQuery Migration Service (BQMS) MCP\n    tool descriptions. While the job runs, do work that doesn't need the result\n    (e.g. read the dialect gotchas reference).\n\n3.  **Inspect Output & Logs**:\n\n    -   Examine `translated_query` for the converted GoogleSQL.\n    -   Review each entry in `translation_logs`: inspect `severity` (`ERROR`,\n        `WARNING`), `category` (e.g. `RelationNotFound`), and `effect`\n        (`CORRECTNESS`, `COMPLETENESS`, `COMPATIBILITY`).\n    -   Check the SQL itself, not only the logs: BigQuery Migration Service\n        (BQMS) emits `ERROR_TYPE(...)` for types it cannot map, sometimes with\n        no log entry. Treat any `ERROR_TYPE` or inline error comment as an\n        error, and when a BigQuery project is available, dry-run the result (`bq\n        query --dry_run --use_legacy_sql=false`). A `Not found` or `must be\n        qualified with a dataset` error still means the SQL is syntactically\n        valid; the referenced objects just don't exist in BigQuery yet. Say so\n        and move on, even if the error suggests a fix: don't stub tables or\n        change the SQL or `bq` flags to get past it.\n    -   A `NoSuchFunction` error means BigQuery Migration Service (BQMS) copied\n        that call unchanged, sometimes with the function name in backticks.\n        Treat it as untranslated even if BigQuery has a function with that name:\n        a dry run that stops at missing tables doesn't check it.\n    -   If the source dialect has a gotchas reference (see\n        [Dialect-Specific Gotchas](#dialect-specific-gotchas)), read it and\n        check the output for the patterns it lists. Some semantic differences\n        produce no log entry and still pass a dry run.\n\n4.  **Iterate Until Clean**: If the logs contain errors or warnings, the\n    translated SQL contains `ERROR_TYPE` or inline error comments, the dry run\n    fails, or the output matches a dialect gotcha, resolve the issues as\n    described in [Resolving Translation Issues](#resolving-translation-issues)\n    and re-translate.\n\n5.  **Explain & Compare Differences (`explain_translation`)**: When requested to\n    explain a translation, compare syntax differences, or understand how\n    specific query logic was converted, call `explain_translation` with\n    `translation` (the translation ID), `projectNumber`, and `location`. This\n    returns a structured explanation of the query's purpose and a detailed\n    breakdown of syntax, function, and behavioral differences between the source\n    query and the translated GoogleSQL. The explanation doesn't validate the\n    output, so check the translation as in step 3 rather than relying on it.\n\n## 2. Batch Translation Workflow\n\nBatch translation handles multiple files staged in Cloud Storage. It resolves\ncross-file dependencies and produces a consolidated translation summary report\n(`translation_report.csv`).\n\n### Steps\n\n1.  **Stage Input Files to Cloud Storage**: Upload the raw SQL files,\n    configuration files (`*.config.yaml`), and any metadata file from the local\n    workspace to a Cloud Storage input folder:\n\n    ```bash\n    gcloud storage cp input\u002F*.sql gs:\u002F\u002Fmy-bucket\u002Fmigration\u002Finput\u002F\n    gcloud storage cp *.config.yaml gs:\u002F\u002Fmy-bucket\u002Fmigration\u002Finput\u002F\n    ```\n\n    *Note: Do not pass configuration file paths in tool parameters if those\n    files are already located inside `sourceBaseUri`.*\n\n    Use new, empty Cloud Storage input and output folders for each run (e.g.\n    with a timestamp suffix). Stage only files from the local workspace or\n    generated in this run. Never reuse or copy inputs, DDL, or outputs that are\n    already in a bucket from earlier runs: they may come from different inputs\n    or settings.\n\n2.  **Initiate Batch Translation**:\n\n    -   **Translating SQL Queries (`translate_batch_queries`)**: Call\n        `translate_batch_queries` with `projectNumber`, `location`,\n        `sourceDialect`, `targetDialect`, `sourceBaseUri`, and `targetBaseUri`.\n    -   **Translating Metadata Zip Files (`translate_metadata`)**: To aid batch\n        translation by generating target BigQuery DDL schema definitions from an\n        extracted database metadata zip file (`metadata.zip` from Teradata,\n        Oracle, etc.), call `translate_metadata` specifying `sourceBaseUri`\n        (Cloud Storage URI to `metadata.zip`) and `targetBaseUri` (destination\n        Cloud Storage folder).\n\n3.  **Poll Completion (`fetch_batch_translation`)**: Poll using the returned\n    workflow ID until `translation.state` is `SUCCEEDED` or `FAILED`, at the\n    interval given in the BigQuery Migration Service (BQMS) MCP tool\n    descriptions.\n\n4.  **Retrieve & Inspect Outputs**: Download the generated files from\n    `translation.target_base_uri`:\n\n    ```bash\n    gcloud storage cp -r gs:\u002F\u002Fmy-bucket\u002Fmigration\u002Foutput\u002F .\u002Flocal_output\u002F\n    ```\n\n    Locate and inspect `report\u002Ftranslation_report.csv` to review all warnings,\n    errors, and line-level diagnostics. Then scan the generated `.sql` files for\n    `ERROR_TYPE(...)` and inline error comments, which the report can miss, and\n    dry-run the generated SQL when a BigQuery project is available (handle `Not\n    found` errors as in the interactive workflow). Check the output for the\n    patterns in the source dialect's gotchas reference, if one exists. Resolve\n    or clearly report every remaining issue; do not describe the output as clean\n    until this check passes.\n\n5.  **Iterate Until Clean**: Resolve the issues found in step 4 as described in\n    [Resolving Translation Issues](#resolving-translation-issues), and re-run\n    from step 1 with the changed inputs.\n\n6.  **Post-processing (Final Step Only)**: Only after resolving every compiler\n    error that re-translation can fix, execute any application-level\n    post-processing (e.g. AST re-injection) to restore host source files.\n    [effect_correctness.md](references\u002Feffect_correctness.md) lists the errors\n    that may remain when re-injecting embedded SQL.\n\n## Resolving Translation Issues\n\nBoth workflows resolve issues the same way:\n\n-   Identify the **Effect** (`CORRECTNESS`, `COMPLETENESS`, `COMPATIBILITY`) of\n    each issue, and resolve them in order of compiler phase dependencies:\n    `CORRECTNESS` (parse errors) first, then `COMPLETENESS` (missing objects),\n    then `COMPATIBILITY` (unsupported features).\n-   **MUST Read the Reference Guide** for each effect in\n    [Troubleshooting by Error Effect](#troubleshooting-by-error-effect) BEFORE\n    applying fixes, and follow its resolution workflow.\n-   Fixes can preprocess the input (e.g. prepend DDL) or post-process the\n    BigQuery Migration Service (BQMS) output (e.g. a rewrite that a dialect\n    gotcha calls for). Run BigQuery Migration Service (BQMS) on the preprocessed\n    input rather than translating it yourself.\n-   Keep the source system's dialect for every re-translation. Another dialect\n    may accept the same SQL but translate it with different semantics (e.g.\n    return types, numeric types, or identifier case), so don't switch dialects\n    to get cleaner output.\n-   Rewrites of the BigQuery Migration Service (BQMS) output, including\n    optimizations the user asks for, must return the same rows as the source\n    query. For example, a filter that runs after a row limit (`TOP`, `LIMIT`)\n    can't be merged into the query before the limit.\n-   Wait for each re-translation to finish, record its translation ID, error\n    counts, and any pre- or post-processing in the tracker, and compare the\n    counts with the previous iteration. Repeat until no errors remain or all\n    options are exhausted.\n-   Report the final SQL from the tracked iteration, the pre- and\n    post-processing you applied, and any errors that remain.\n\n## Reference Lookup Index\n\nUse these reference guides when troubleshooting errors or authoring\nconfiguration files:\n\n### Troubleshooting by Error Effect\n\nEffect          | Common Causes                                                                              | Reference Guide\n:-------------- | :----------------------------------------------------------------------------------------- | :--------------\n`CORRECTNESS`   | Syntax errors, unescaped literals, application script wrappers, `NoSuchFunction`.          | [effect_correctness.md](references\u002Feffect_correctness.md)\n`COMPLETENESS`  | Missing tables, views, columns (`RelationNotFound`, `AttributeNotFound`), DDL suggestions. | [effect_completeness.md](references\u002Feffect_completeness.md)\n`COMPATIBILITY` | Functions or features without direct GoogleSQL mapping.                                    | [effect_compatibility.md](references\u002Feffect_compatibility.md)\n\n### Configuration & Setup Guides\n\nTask                    | Description                                                                                                                                                                                                                                                              | Reference Guide\n:---------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------\n**YAML Configurations** | Database\u002Fschema redirection, name mapping, table partitioning and clustering injection, optimizer transformations, statement rewriters, and environment settings. Schemas in `assets\u002Ftranslation_config_schemas\u002F` and examples in `assets\u002Ftranslation_config_examples\u002F`. | [translation_yaml_config.md](references\u002Ftranslation_yaml_config.md)\n**MCP Server Setup**    | Configuring the remote BigQuery Migration Service (BQMS) MCP server, OAuth scopes, and IAM roles.                                                                                                                                                                        | [mcp_config.md](references\u002Fmcp_config.md)\n\n### Dialect-Specific Gotchas\n\nDialect       | Key Considerations                                                    | Reference Guide\n:------------ | :-------------------------------------------------------------------- | :--------------\n**Teradata**  | SET\u002FMULTISET tables, `SAMPLE` clause, primary index mapping.          | [teradata_gotchas.md](references\u002Fteradata_gotchas.md)\n**Oracle**    | PL\u002FSQL procedures, `ROWNUM` emulation, outer join `(+)`, sequences.   | [oracle_gotchas.md](references\u002Foracle_gotchas.md)\n**Snowflake** | Dynamic templates, `USE` statements, metadata merging, lateral joins. | [snowflake_gotchas.md](references\u002Fsnowflake_gotchas.md)\n","# BigQuery Migration Service (BQMS) SQL Translator\n\nThe BigQuery Migration Service (BQMS) translates legacy database SQL scripts,\nqueries, and schemas into GoogleSQL. This skill coordinates translation\nworkflows, Cloud Storage staging, compiler error triage, and YAML configuration.\n\n## Usage Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read and follow the instructions in\n[Usage Attribution](references\u002Fattribution.md).\n\n## Before you begin\n\nBefore translating queries or schemas, verify the following prerequisites:\n\n1.  **Google Cloud SDK & Project Setup**: Ensure the\n    [Google Cloud SDK](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) is installed,\n    verify that your Google Cloud project has an active Cloud Billing account\n    attached, and select the target project:\n\n    ```bash\n    gcloud config set project {project_id}\n    ```\n\n2.  **Enable the API**: Enable the BigQuery Migration API\n    (`bigquerymigration.googleapis.com`) in your Google Cloud project:\n\n    ```bash\n    gcloud services enable bigquerymigration.googleapis.com\n    ```\n\n3.  **Required IAM Roles**: Verify that your identity or service account has:\n    -   `roles\u002Fmcp.toolUser` (MCP Tool User)\n    -   `roles\u002Fbigquerymigration.editor` (Migration Workflow Editor)\n    -   For batch translation, `roles\u002Fstorage.objectViewer` and\n        `roles\u002Fstorage.objectCreator` (or `roles\u002Fstorage.objectAdmin`) on the\n        Cloud Storage buckets that hold the input and output files.\n4.  **MCP Server Connection**: If BigQuery Migration Service (BQMS) tools (e.g.\n    `translate_query`, `translate_batch_queries`) are not present in your active\n    tool list, configure the remote BigQuery Migration Service (BQMS) MCP\n    server. For setup instructions across clients (Claude, Cursor, Gemini CLI,\n    VS Code), see [mcp_config.md](references\u002Fmcp_config.md).\n5.  **Cost & Cloud Storage Cleanup**: Review\n    [Google Cloud Pricing](https:\u002F\u002Fcloud.google.com\u002Fpricing) for Cloud Storage\n    and BigQuery usage details. After completing a batch migration, clean up\n    temporary staged input and output folders in Cloud Storage:\n\n    ```bash\n    gcloud storage rm -r gs:\u002F\u002F{bucket}\u002F{folder}\n    ```\n\n6.  **Translation Tracking**: For batch translations, and for queries that need\n    more than one translation iteration, keep a translation tracker (e.g.\n    `translation_tracker.md`) to document goals, planned steps, and progress.\n    After each translation, record one row with this template:\n\n    Iteration | Status | Total Errors | Correctness Errors | Completeness Errors | Compatibility Errors | Key Actions \u002F Transformations\n    --------- | ------ | ------------ | ------------------ | ------------------- | -------------------- | -----------------------------\n\n    A single query that translates cleanly on the first attempt needs no\n    tracker: report its translation ID and logs in your response.\n\n## Workflow Selection\n\nChoose the workflow based on your migration scope:\n\n-   **Interactive Translation (Single Query)**: Best for ad-hoc queries,\n    exploratory testing, dialect syntax comparison, or quick error debugging.\n-   **Batch Translation (Multiple Files & Cloud Storage)**: Use for more than\n    one file or a directory, including SQL embedded in application code (extract\n    it into `.sql` files first). For multi-file Python codebases containing\n    embedded SQL, use\n    [python_embedded_sql_migrator_template.py](assets\u002Fpython_embedded_sql_migrator_template.py)\n    to extract queries into staged files and re-inject translated SQL. Batch\n    translation is faster and cheaper than translating files one by one, and it\n    resolves cross-file dependencies, so it usually gives better results. Run\n    `translate_batch_queries` on the staged files first; use `translate_query`\n    only afterwards if needed to debug a specific statement from\n    `translation_report.csv`.\n\n## 1. Interactive Translation Workflow\n\nUse the interactive workflow to translate a single query string, inspect\ncompiler logs, and iteratively resolve issues.\n\n### Steps\n\n1.  **Submit Query (`translate_query`)**: Call `translate_query` with\n    `projectNumber`, `location`, `inputQuery`, `sourceDialect`, and\n    `targetDialect` (`BigQuery`). Include optional parameters:\n\n    -   `metadataFilePath`: Cloud Storage URI to a metadata zip file\n        (`gs:\u002F\u002F...\u002Fmetadata.zip`) for schema resolution.\n    -   `translationConfigs`: Inline YAML configurations (e.g. object renaming,\n        schema redirection, optimizer rules). Show the YAML you used in your\n        response so the user can reuse it (e.g. in batch translation).\n\n2.  **Poll Status (`get_translation`)**: If the returned `translation_state` is\n    `RUNNING` or `PENDING`, poll `get_translation` using the `translation` ID,\n    `projectNumber`, and `location` until `translation.state` is `SUCCEEDED` or\n    `FAILED`, at the interval given in the BigQuery Migration Service (BQMS) MCP\n    tool descriptions. While the job runs, do work that doesn't need the result\n    (e.g. read the dialect gotchas reference).\n\n3.  **Inspect Output & Logs**:\n\n    -   Examine `translated_query` for the converted GoogleSQL.\n    -   Review each entry in `translation_logs`: inspect `severity` (`ERROR`,\n        `WARNING`), `category` (e.g. `RelationNotFound`), and `effect`\n        (`CORRECTNESS`, `COMPLETENESS`, `COMPATIBILITY`).\n    -   Check the SQL itself, not only the logs: BigQuery Migration Service\n        (BQMS) emits `ERROR_TYPE(...)` for types it cannot map, sometimes with\n        no log entry. Treat any `ERROR_TYPE` or inline error comment as an\n        error, and when a BigQuery project is available, dry-run the result (`bq\n        query --dry_run --use_legacy_sql=false`). A `Not found` or `must be\n        qualified with a dataset` error still means the SQL is syntactically\n        valid; the referenced objects just don't exist in BigQuery yet. Say so\n        and move on, even if the error suggests a fix: don't stub tables or\n        change the SQL or `bq` flags to get past it.\n    -   A `NoSuchFunction` error means BigQuery Migration Service (BQMS) copied\n        that call unchanged, sometimes with the function name in backticks.\n        Treat it as untranslated even if BigQuery has a function with that name:\n        a dry run that stops at missing tables doesn't check it.\n    -   If the source dialect has a gotchas reference (see\n        [Dialect-Specific Gotchas](#dialect-specific-gotchas)), read it and\n        check the output for the patterns it lists. Some semantic differences\n        produce no log entry and still pass a dry run.\n\n4.  **Iterate Until Clean**: If the logs contain errors or warnings, the\n    translated SQL contains `ERROR_TYPE` or inline error comments, the dry run\n    fails, or the output matches a dialect gotcha, resolve the issues as\n    described in [Resolving Translation Issues](#resolving-translation-issues)\n    and re-translate.\n\n5.  **Explain & Compare Differences (`explain_translation`)**: When requested to\n    explain a translation, compare syntax differences, or understand how\n    specific query logic was converted, call `explain_translation` with\n    `translation` (the translation ID), `projectNumber`, and `location`. This\n    returns a structured explanation of the query's purpose and a detailed\n    breakdown of syntax, function, and behavioral differences between the source\n    query and the translated GoogleSQL. The explanation doesn't validate the\n    output, so check the translation as in step 3 rather than relying on it.\n\n## 2. Batch Translation Workflow\n\nBatch translation handles multiple files staged in Cloud Storage. It resolves\ncross-file dependencies and produces a consolidated translation summary report\n(`translation_report.csv`).\n\n### Steps\n\n1.  **Stage Input Files to Cloud Storage**: Upload the raw SQL files,\n    configuration files (`*.config.yaml`), and any metadata file from the local\n    workspace to a Cloud Storage input folder:\n\n    ```bash\n    gcloud storage cp input\u002F*.sql gs:\u002F\u002Fmy-bucket\u002Fmigration\u002Finput\u002F\n    gcloud storage cp *.config.yaml gs:\u002F\u002Fmy-bucket\u002Fmigration\u002Finput\u002F\n    ```\n\n    *Note: Do not pass configuration file paths in tool parameters if those\n    files are already located inside `sourceBaseUri`.*\n\n    Use new, empty Cloud Storage input and output folders for each run (e.g.\n    with a timestamp suffix). Stage only files from the local workspace or\n    generated in this run. Never reuse or copy inputs, DDL, or outputs that are\n    already in a bucket from earlier runs: they may come from different inputs\n    or settings.\n\n2.  **Initiate Batch Translation**:\n\n    -   **Translating SQL Queries (`translate_batch_queries`)**: Call\n        `translate_batch_queries` with `projectNumber`, `location`,\n        `sourceDialect`, `targetDialect`, `sourceBaseUri`, and `targetBaseUri`.\n    -   **Translating Metadata Zip Files (`translate_metadata`)**: To aid batch\n        translation by generating target BigQuery DDL schema definitions from an\n        extracted database metadata zip file (`metadata.zip` from Teradata,\n        Oracle, etc.), call `translate_metadata` specifying `sourceBaseUri`\n        (Cloud Storage URI to `metadata.zip`) and `targetBaseUri` (destination\n        Cloud Storage folder).\n\n3.  **Poll Completion (`fetch_batch_translation`)**: Poll using the returned\n    workflow ID until `translation.state` is `SUCCEEDED` or `FAILED`, at the\n    interval given in the BigQuery Migration Service (BQMS) MCP tool\n    descriptions.\n\n4.  **Retrieve & Inspect Outputs**: Download the generated files from\n    `translation.target_base_uri`:\n\n    ```bash\n    gcloud storage cp -r gs:\u002F\u002Fmy-bucket\u002Fmigration\u002Foutput\u002F .\u002Flocal_output\u002F\n    ```\n\n    Locate and inspect `report\u002Ftranslation_report.csv` to review all warnings,\n    errors, and line-level diagnostics. Then scan the generated `.sql` files for\n    `ERROR_TYPE(...)` and inline error comments, which the report can miss, and\n    dry-run the generated SQL when a BigQuery project is available (handle `Not\n    found` errors as in the interactive workflow). Check the output for the\n    patterns in the source dialect's gotchas reference, if one exists. Resolve\n    or clearly report every remaining issue; do not describe the output as clean\n    until this check passes.\n\n5.  **Iterate Until Clean**: Resolve the issues found in step 4 as described in\n    [Resolving Translation Issues](#resolving-translation-issues), and re-run\n    from step 1 with the changed inputs.\n\n6.  **Post-processing (Final Step Only)**: Only after resolving every compiler\n    error that re-translation can fix, execute any application-level\n    post-processing (e.g. AST re-injection) to restore host source files.\n    [effect_correctness.md](references\u002Feffect_correctness.md) lists the errors\n    that may remain when re-injecting embedded SQL.\n\n## Resolving Translation Issues\n\nBoth workflows resolve issues the same way:\n\n-   Identify the **Effect** (`CORRECTNESS`, `COMPLETENESS`, `COMPATIBILITY`) of\n    each issue, and resolve them in order of compiler phase dependencies:\n    `CORRECTNESS` (parse errors) first, then `COMPLETENESS` (missing objects),\n    then `COMPATIBILITY` (unsupported features).\n-   **MUST Read the Reference Guide** for each effect in\n    [Troubleshooting by Error Effect](#troubleshooting-by-error-effect) BEFORE\n    applying fixes, and follow its resolution workflow.\n-   Fixes can preprocess the input (e.g. prepend DDL) or post-process the\n    BigQuery Migration Service (BQMS) output (e.g. a rewrite that a dialect\n    gotcha calls for). Run BigQuery Migration Service (BQMS) on the preprocessed\n    input rather than translating it yourself.\n-   Keep the source system's dialect for every re-translation. Another dialect\n    may accept the same SQL but translate it with different semantics (e.g.\n    return types, numeric types, or identifier case), so don't switch dialects\n    to get cleaner output.\n-   Rewrites of the BigQuery Migration Service (BQMS) output, including\n    optimizations the user asks for, must return the same rows as the source\n    query. For example, a filter that runs after a row limit (`TOP`, `LIMIT`)\n    can't be merged into the query before the limit.\n-   Wait for each re-translation to finish, record its translation ID, error\n    counts, and any pre- or post-processing in the tracker, and compare the\n    counts with the previous iteration. Repeat until no errors remain or all\n    options are exhausted.\n-   Report the final SQL from the tracked iteration, the pre- and\n    post-processing you applied, and any errors that remain.\n\n## Reference Lookup Index\n\nUse these reference guides when troubleshooting errors or authoring\nconfiguration files:\n\n### Troubleshooting by Error Effect\n\nEffect          | Common Causes                                                                              | Reference Guide\n:-------------- | :----------------------------------------------------------------------------------------- | :--------------\n`CORRECTNESS`   | Syntax errors, unescaped literals, application script wrappers, `NoSuchFunction`.          | [effect_correctness.md](references\u002Feffect_correctness.md)\n`COMPLETENESS`  | Missing tables, views, columns (`RelationNotFound`, `AttributeNotFound`), DDL suggestions. | [effect_completeness.md](references\u002Feffect_completeness.md)\n`COMPATIBILITY` | Functions or features without direct GoogleSQL mapping.                                    | [effect_compatibility.md](references\u002Feffect_compatibility.md)\n\n### Configuration & Setup Guides\n\nTask                    | Description                                                                                                                                                                                                                                                              | Reference Guide\n:---------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------\n**YAML Configurations** | Database\u002Fschema redirection, name mapping, table partitioning and clustering injection, optimizer transformations, statement rewriters, and environment settings. Schemas in `assets\u002Ftranslation_config_schemas\u002F` and examples in `assets\u002Ftranslation_config_examples\u002F`. | [translation_yaml_config.md](references\u002Ftranslation_yaml_config.md)\n**MCP Server Setup**    | Configuring the remote BigQuery Migration Service (BQMS) MCP server, OAuth scopes, and IAM roles.                                                                                                                                                                        | [mcp_config.md](references\u002Fmcp_config.md)\n\n### Dialect-Specific Gotchas\n\nDialect       | Key Considerations                                                    | Reference Guide\n:------------ | :-------------------------------------------------------------------- | :--------------\n**Teradata**  | SET\u002FMULTISET tables, `SAMPLE` clause, primary index mapping.          | [teradata_gotchas.md](references\u002Fteradata_gotchas.md)\n**Oracle**    | PL\u002FSQL procedures, `ROWNUM` emulation, outer join `(+)`, sequences.   | [oracle_gotchas.md](references\u002Foracle_gotchas.md)\n**Snowflake** | Dynamic templates, `USE` statements, metadata merging, lateral joins. | [snowflake_gotchas.md](references\u002Fsnowflake_gotchas.md)\n",{"name":5,"metadata":55,"description":7},{"version":56,"category":57,"publisher":10},"1.0.2","BigDataAndAnalytics","main","bb9b3f464aae37af360d079c1d863524955b0363","skills\u002Fcloud\u002Fbigquery-migration-sql-translator",2014,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 23:31:00",{"source":9,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add google\u002Fskills --skill bigquery-migration-sql-translator",{"tool":73,"command":74},"bunx","bunx skills add google\u002Fskills --skill bigquery-migration-sql-translator",{"tool":76,"command":77},"pnpm","pnpm dlx skills add google\u002Fskills --skill bigquery-migration-sql-translator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002FSKILL.md",true,[81,87,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,187,191,195,199,203,207,211,215],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"assets\u002Fpython_embedded_sql_migrator_template.py","SCRIPT","脚本",42785,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Fpython_embedded_sql_migrator_template.py",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"assets\u002Ftranslation_config_examples\u002Fenvironment_example.yaml","ASSET","资产文件",167,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fenvironment_example.yaml",{"path":94,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":95,"sourceHtmlUrl":96},"assets\u002Ftranslation_config_examples\u002Fexperimental_input_formats_example.yaml",213,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fexperimental_input_formats_example.yaml",{"path":98,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":99,"sourceHtmlUrl":100},"assets\u002Ftranslation_config_examples\u002Fexperimental_metadata_example.yaml",147,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fexperimental_metadata_example.yaml",{"path":102,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":103,"sourceHtmlUrl":104},"assets\u002Ftranslation_config_examples\u002Fexperimental_object_rewriter_example.yaml",1541,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fexperimental_object_rewriter_example.yaml",{"path":106,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":107,"sourceHtmlUrl":108},"assets\u002Ftranslation_config_examples\u002Fexperimental_optimizer_example.yaml",348,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fexperimental_optimizer_example.yaml",{"path":110,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":111,"sourceHtmlUrl":112},"assets\u002Ftranslation_config_examples\u002Fexperimental_statement_rewriter_example.yaml",400,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fexperimental_statement_rewriter_example.yaml",{"path":114,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":115,"sourceHtmlUrl":116},"assets\u002Ftranslation_config_examples\u002Finput_formats_example.yaml",200,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Finput_formats_example.yaml",{"path":118,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":119,"sourceHtmlUrl":120},"assets\u002Ftranslation_config_examples\u002Fmetadata_example.yaml",168,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fmetadata_example.yaml",{"path":122,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":123,"sourceHtmlUrl":124},"assets\u002Ftranslation_config_examples\u002Fobject_rewriter_example.yaml",673,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fobject_rewriter_example.yaml",{"path":126,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":127,"sourceHtmlUrl":128},"assets\u002Ftranslation_config_examples\u002Foptimizer_example.yaml",335,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Foptimizer_example.yaml",{"path":130,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":131,"sourceHtmlUrl":132},"assets\u002Ftranslation_config_examples\u002Fstatement_rewriter_example.yaml",387,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_examples\u002Fstatement_rewriter_example.yaml",{"path":134,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":135,"sourceHtmlUrl":136},"assets\u002Ftranslation_config_schemas\u002Fenvironment.json",498,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fenvironment.json",{"path":138,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":139,"sourceHtmlUrl":140},"assets\u002Ftranslation_config_schemas\u002Fexperimental_input_formats.json",976,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fexperimental_input_formats.json",{"path":142,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":143,"sourceHtmlUrl":144},"assets\u002Ftranslation_config_schemas\u002Fexperimental_metadata.json",629,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fexperimental_metadata.json",{"path":146,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":147,"sourceHtmlUrl":148},"assets\u002Ftranslation_config_schemas\u002Fexperimental_object_rewriter.json",19961,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fexperimental_object_rewriter.json",{"path":150,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":151,"sourceHtmlUrl":152},"assets\u002Ftranslation_config_schemas\u002Fexperimental_optimizer.json",635,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fexperimental_optimizer.json",{"path":154,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":155,"sourceHtmlUrl":156},"assets\u002Ftranslation_config_schemas\u002Fexperimental_statement_rewriter.json",1292,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fexperimental_statement_rewriter.json",{"path":158,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":159,"sourceHtmlUrl":160},"assets\u002Ftranslation_config_schemas\u002Finput_formats.json",963,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Finput_formats.json",{"path":162,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":163,"sourceHtmlUrl":164},"assets\u002Ftranslation_config_schemas\u002Fmetadata.json",876,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fmetadata.json",{"path":166,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":167,"sourceHtmlUrl":168},"assets\u002Ftranslation_config_schemas\u002Fobject_rewriter.json",9376,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fobject_rewriter.json",{"path":170,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":171,"sourceHtmlUrl":172},"assets\u002Ftranslation_config_schemas\u002Foptimizer.json",622,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Foptimizer.json",{"path":174,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":175,"sourceHtmlUrl":176},"assets\u002Ftranslation_config_schemas\u002Fstatement_rewriter.json",1279,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Fstatement_rewriter.json",{"path":178,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":179,"sourceHtmlUrl":180},"assets\u002Ftranslation_config_schemas\u002Ftranspiler_config_spec.json",39803,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Fassets\u002Ftranslation_config_schemas\u002Ftranspiler_config_spec.json",{"path":182,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":185,"sourceHtmlUrl":186},"references\u002Fattribution.md","REFERENCE","参考文档",1951,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Fattribution.md",{"path":188,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":189,"sourceHtmlUrl":190},"references\u002Feffect_compatibility.md",2346,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Feffect_compatibility.md",{"path":192,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":193,"sourceHtmlUrl":194},"references\u002Feffect_completeness.md",5225,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Feffect_completeness.md",{"path":196,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":197,"sourceHtmlUrl":198},"references\u002Feffect_correctness.md",8819,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Feffect_correctness.md",{"path":200,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":201,"sourceHtmlUrl":202},"references\u002Fmcp_config.md",10246,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Fmcp_config.md",{"path":204,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":205,"sourceHtmlUrl":206},"references\u002Foracle_gotchas.md",3223,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Foracle_gotchas.md",{"path":208,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":209,"sourceHtmlUrl":210},"references\u002Fsnowflake_gotchas.md",7591,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Fsnowflake_gotchas.md",{"path":212,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":213,"sourceHtmlUrl":214},"references\u002Fteradata_gotchas.md",2474,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Fteradata_gotchas.md",{"path":216,"resourceType":183,"resourceTypeDesc":184,"sizeBytes":217,"sourceHtmlUrl":218},"references\u002Ftranslation_yaml_config.md",12629,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-migration-sql-translator\u002Freferences\u002Ftranslation_yaml_config.md",[220,228,235,242,249,256],{"skillNo":221,"name":222,"nameZh":17,"description":223,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":224,"categories":225,"keywords":226,"publishedAt":227},"01M7DQ9K7JF4T7NJZ2K1MQZ44Q","cloud-operator-share-context","Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-share-context\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":229,"name":230,"nameZh":17,"description":231,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":232,"categories":233,"keywords":234,"publishedAt":227},"01M7DQ9ERFGGQCFAWQW0KRKYBY","cloud-operator-setup","Sets up the operator agent in a Google Cloud project via the autocloud MCP server: picks the operator project, creates or checks the user's operator agent, saves the project, and offers to share the user's existing Google Cloud operating context with the operator agent's memory. Use when the user runs this skill, asks to set up the operator or create their operator agent, or chooses setup when the cloud-operator skill asks. Don't use for ordinary GCP requests or installing gcloud.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-setup\u002FSKILL.md",[],[],{"skillNo":236,"name":237,"nameZh":17,"description":238,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":239,"categories":240,"keywords":241,"publishedAt":227},"01M7B4RHQCM0DK2XQ7S7ZXVN8D","developer-device-platform-device-run","Runs automated, non-interactive jobs on remote Android devices with Developer Device Platform (DDP) Device Run using `gcloud beta device-run sessions`: native Android executables or shell scripts (for example CLI tools, custom runners, test harnesses or benchmarks) and Android instrumentation tests, on one or many devices, then waits for completion and collects per-device outputs and logs. Use when running a binary or test suite on remote devices without an interactive connection. Don't use it for interactive device reservations, adb tunnels or screen streaming (use developer-device-platform-basics), or for local devices.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fdeveloper-device-platform-device-run\u002FSKILL.md",[],[],{"skillNo":243,"name":244,"nameZh":17,"description":245,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":246,"categories":247,"keywords":248,"publishedAt":227},"01M7B4R9YXMRW7RZP9Q9FMZJ2P","compute-vm-creation","Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcompute-vm-creation\u002FSKILL.md",[],[],{"skillNo":250,"name":251,"nameZh":17,"description":252,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":253,"categories":254,"keywords":255,"publishedAt":227},"01M7B4QD02N0YBVT0838Z5K5VC","agent-platform-autorater-customization","Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent wrong, or wants an autorater to agree with human labels (autorater hillclimbing, judge calibration). Don't use for quick evals with built-in metrics or for improving the agent itself (use agent-platform-eval-flywheel).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-autorater-customization\u002FSKILL.md",[],[],{"skillNo":257,"name":258,"nameZh":17,"description":259,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":260,"categories":261,"keywords":262,"publishedAt":227},"01M78JP22K73KK96JH0JNDT5C4","iap-agent-platform-troubleshooting","Diagnoses Identity-Aware Proxy (IAP) denials of outbound requests from Gemini Enterprise Agent Platform agents that run on Agent Runtime and send traffic through Agent Gateway. Use when an agent request fails with \"Egress request is not authorized\", when Cloud Audit Logs show an IAP egressViaIAP decision with granted false, when IAP audit entries are missing while debugging agent egress, or when Access policies, IAP allow policies, policy bindings, or Agent Registry entries might block agent egress. Don't use for Gemini model IAM permission errors (such as aiplatform.endpoints.predict), Agent Platform API errors, or Agent Runtime deployment or 500 errors (use agent-platform-troubleshooting instead). Don't use for setting up, creating, or connecting an Agent Gateway, or for IAP web apps, IAP TCP forwarding, or SSH.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fiap-agent-platform-troubleshooting\u002FSKILL.md",[],[]]