[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASCRDCZ1W6QGHQMW4JDGAY":3,"skill-same:01M7ASCRDCZ1W6QGHQMW4JDGAY":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7ASCRDCZ1W6QGHQMW4JDGAY","bigquery-data-transfer-service",null,"Discovers and inspects BigQuery Data Transfer Service (DTS) configurations. Use this to identify existing ingestion pipelines and extract datasource or transfer config metadata for data pipelines. Use when a user asks for ingestion scenarios while building or managing data pipelines or when a user asks to \"ingest\" or \"add\" data that may already be managed by a DTS transfer.","saski\u002Farnesto","saski","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F140356?v=4","01M7ASBDSNXTRYDYB4K1PEA1RV","01M7ASBDTAKBDAAV99S1GE7HK6",6,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbigquery-data-transfer-service\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bigquery-data-transfer-service\ndescription: Discovers and inspects BigQuery Data Transfer Service (DTS) configurations.\n  Use this to identify existing ingestion pipelines and extract datasource or transfer\n  config metadata for data pipelines. Use when a user asks for ingestion scenarios\n  while building or managing data pipelines or when a user asks to \"ingest\" or \"add\"\n  data that may already be managed by a DTS transfer.\nlicense: Apache-2.0\nmetadata:\n  version: v1\n  publisher: google\n---\n\n# BigQuery Data Transfer Service (DTS)\n\n## Mandatory Guidelines\n\n> [!IMPORTANT]\n>\n> All new BigQuery Data Transfer Service (DTS) configurations **MUST** be\n> provisioned through the **gcp pipeline resource provisioning** framework,\n> which includes generating a `deployment.yaml`.\n>\n> -   **Do NOT** use imperative CLI commands (e.g., `bq mk` or `gcloud`) to\n>     create or update configurations.\n> -   CLI commands are permitted **only** for discovery (listing\u002Fshowing) and\n>     triggering manual runs.\n\nThis guide enables the discovery of existing ingestion resources and provides\nmetadata related to ingestion when needed.\n\n## Workflow\n\n### Step 0: Discover Environment Parameters\n\nBefore generating configurations, discover the actual values for the target\nproject and region.\n\n> [!TIP]\n>\n> If `deployment.yaml` already exists in the repository root, prioritize\n> extracting `project` and `region` from the target environment configuration\n> (e.g., `dev`).\n\n1.  **Project**: `gcloud config get project`\n2.  **Region**: `gcloud config get compute\u002Fregion`\n\n> [!TIP]\n>\n> Use these commands to replace placeholders like `\u003CPROJECT_ID>` with actual\n> values. Always remove associated comments that start with TODO once replaced.\n\n### Step 1: Check for Existing Transfers\n\nBefore assuming a new transfer is needed, check for existing ones in the target\nregion.\n\n1.  **List Transfers**:\n\n    ```bash\n    bq ls --transfer_config \\\n      --transfer_location=\u003CREGION> \\\n      --project_id=\u003CPROJECT_ID>\n    ```\n\n2.  **Analyze Existing Transfers**:\n\n    -   **Single Transfer Found**:\n\n        -   Check if the transfer has at least one successful run: `bq ls\n            --transfer_run --transfer_config=\u003CRESOURCE_NAME>`\n        -   If found: Use existing transfer config.\n        -   If not found: Confirm with user if it's ok to trigger the transfer\n            run.\n\n    -   **Multiple Transfers Found**:\n\n        -   Attempt to guess the correct one based on context.\n        -   Ask user to confirm.\n\n    -   **Disabled Transfers Found**:\n\n        -   Ask user if they want to enable it or create a new one.\n        -   To Enable: Instruct the user to update the transfer configuration\n            within their `deployment.yaml` file by setting the `disabled` field\n            to `false` for the specific transfer resource.\n\n    -   **No Transfers Found**: Proceed to create new if needed.\n\n### Step 2: Discover & Validate Parameters (New Transfers)\n\nIf creating a new transfer, discover the required parameters using the REST API\nand validate them with the user.\n\n> [!TIP]\n>\n> If `\u003CDATA_SOURCE_ID>` is unknown, run the discovery script without\n> `\u003CDATA_SOURCE_ID>` argument to list available source IDs (e.g.,\n> `google_cloud_storage`). It uses the derived project and location from Step 0.\n>\n> ```bash\n> python3 scripts\u002Fbigquery_dts.py --project_id=\u003CPROJECT_ID>\n> ```\n\n1.  **Run Discovery Script**: Use the `bigquery_dts.py` script to inspect Data\n    Source parameters via the REST API.\n\n    ```bash\n    # Passes the derived project and region to the script.\n    python3 scripts\u002Fbigquery_dts.py --project_id=\u003CPROJECT_ID> \u003CDATA_SOURCE_ID> \u003CREGION>\n    ```\n\n    > [!IMPORTANT]\n    >\n    > Run this command every time a new transfer is being planned.\n\n2.  > [!CAUTION]\n    >\n    > **Mandatory User Questionnaire (CRITICAL)**:\n\n    -   **Explicitly identify ALL specific parameters** returned by the\n        discovery script. **You MUST NOT generalize or vaguely summarize them.**\n    -   **OAuth Authorization (Google Data Sources)**: For Google ecosystem data\n        sources (Google Ads, Youtube, etc.), if the user is not using a service\n        account to configure the DTS transfer config (meaning the user is using\n        End User Credentials or EUC to configure the transfer config), then\n        generate an OAuth URI. Ask the user to visit this URL to authorize. Once\n        the user provides the versionInfo code, use the code as\n        `definition.versionInfo` in `deployment.yaml` and then you can proceed.\n    -   If any parameters are related to authentication, explicitly ask the user\n        to provide the Secret Manager Resource ID (e.g.,\n        projects\u002Fmy-project\u002Fsecrets\u002Fmy-secret) for these parameters\n    -   Present every required parameter to the user BEFORE generating config\n        files.\n    -   Ask for verification of assets\u002Ftables to be ingested.\n\n3.  **Wait for User Response**: You **MUST NOT** proceed until parameters are\n    confirmed.\n\n### Step 3: Extract Transfer Config Data\n\nRetrieve the configuration details for the selected transfer.\n\n```bash\nbq show --format=prettyjson --transfer_config \u003CRESOURCE_NAME>\n```\n\n### Step 4: Trigger and Verify Transfer\n\nAfter the transfer is deployed via the resource provisioning framework, you MUST\nensure there is at least a single successful run before proceeding with the rest\nof the tasks.\n\n1.  **Trigger a Manual Run**: If no successful runs or ongoing runs are found,\n    or the transfer was just created, trigger a manual run for the current time.\n\n    ```bash\n    bq mk --transfer_run \\\n      --transfer_config=\u003CRESOURCE_NAME> \\\n      --run_time=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n    ```\n\n2.  **Poll for Completion (5-Minute Rule)**: Attempt to check the status of the\n    run every 30-60 seconds for up to **5 minutes**.\n\n    ```bash\n    bq ls --format=prettyjson --transfer_run --transfer_config=\u003CRESOURCE_NAME>\n    ```\n\n    -   **Success**: If the run completes successfully, proceed with the rest of\n        the pipeline.\n    -   **Failure**: If the run fails, analyze the logs and ask the user for\n        help.\n    -   **Timeout (5 mins)**: If the run is still in progress after 5 minutes,\n        **STOP** and ask the user: \"The Data Transfer Service ingestion is still\n        in progress. Please provide 'proceed guidance' once the ingestion has\n        finished so that I can continue building the rest of the data pipeline\n        using the ingested schema and samples.\"\n\n3.  **Wait for User Guidance**: Do NOT proceed until the user confirms ingestion\n    is complete or provides guidance.\n\n4.  Once user confirms to proceed, start work on rest of the tasks.\n\n## Definition of Done\n\n-   A BigQuery DTS transfer configuration has been discovered or provisioned\n    declaratively (via **gcp pipeline resource provisioning** with a generated\n    `deployment.yaml`).\n-   Mandatory datasource parameters have been identified and confirmed with the\n    user.\n-   A manual transfer run has been triggered and monitored.\n-   The transfer run has completed successfully OR the user has provided\n    \"proceed guidance\" for a long-running transfer.\n","# BigQuery Data Transfer Service (DTS)\n\n## Mandatory Guidelines\n\n> [!IMPORTANT]\n>\n> All new BigQuery Data Transfer Service (DTS) configurations **MUST** be\n> provisioned through the **gcp pipeline resource provisioning** framework,\n> which includes generating a `deployment.yaml`.\n>\n> -   **Do NOT** use imperative CLI commands (e.g., `bq mk` or `gcloud`) to\n>     create or update configurations.\n> -   CLI commands are permitted **only** for discovery (listing\u002Fshowing) and\n>     triggering manual runs.\n\nThis guide enables the discovery of existing ingestion resources and provides\nmetadata related to ingestion when needed.\n\n## Workflow\n\n### Step 0: Discover Environment Parameters\n\nBefore generating configurations, discover the actual values for the target\nproject and region.\n\n> [!TIP]\n>\n> If `deployment.yaml` already exists in the repository root, prioritize\n> extracting `project` and `region` from the target environment configuration\n> (e.g., `dev`).\n\n1.  **Project**: `gcloud config get project`\n2.  **Region**: `gcloud config get compute\u002Fregion`\n\n> [!TIP]\n>\n> Use these commands to replace placeholders like `\u003CPROJECT_ID>` with actual\n> values. Always remove associated comments that start with TODO once replaced.\n\n### Step 1: Check for Existing Transfers\n\nBefore assuming a new transfer is needed, check for existing ones in the target\nregion.\n\n1.  **List Transfers**:\n\n    ```bash\n    bq ls --transfer_config \\\n      --transfer_location=\u003CREGION> \\\n      --project_id=\u003CPROJECT_ID>\n    ```\n\n2.  **Analyze Existing Transfers**:\n\n    -   **Single Transfer Found**:\n\n        -   Check if the transfer has at least one successful run: `bq ls\n            --transfer_run --transfer_config=\u003CRESOURCE_NAME>`\n        -   If found: Use existing transfer config.\n        -   If not found: Confirm with user if it's ok to trigger the transfer\n            run.\n\n    -   **Multiple Transfers Found**:\n\n        -   Attempt to guess the correct one based on context.\n        -   Ask user to confirm.\n\n    -   **Disabled Transfers Found**:\n\n        -   Ask user if they want to enable it or create a new one.\n        -   To Enable: Instruct the user to update the transfer configuration\n            within their `deployment.yaml` file by setting the `disabled` field\n            to `false` for the specific transfer resource.\n\n    -   **No Transfers Found**: Proceed to create new if needed.\n\n### Step 2: Discover & Validate Parameters (New Transfers)\n\nIf creating a new transfer, discover the required parameters using the REST API\nand validate them with the user.\n\n> [!TIP]\n>\n> If `\u003CDATA_SOURCE_ID>` is unknown, run the discovery script without\n> `\u003CDATA_SOURCE_ID>` argument to list available source IDs (e.g.,\n> `google_cloud_storage`). It uses the derived project and location from Step 0.\n>\n> ```bash\n> python3 scripts\u002Fbigquery_dts.py --project_id=\u003CPROJECT_ID>\n> ```\n\n1.  **Run Discovery Script**: Use the `bigquery_dts.py` script to inspect Data\n    Source parameters via the REST API.\n\n    ```bash\n    # Passes the derived project and region to the script.\n    python3 scripts\u002Fbigquery_dts.py --project_id=\u003CPROJECT_ID> \u003CDATA_SOURCE_ID> \u003CREGION>\n    ```\n\n    > [!IMPORTANT]\n    >\n    > Run this command every time a new transfer is being planned.\n\n2.  > [!CAUTION]\n    >\n    > **Mandatory User Questionnaire (CRITICAL)**:\n\n    -   **Explicitly identify ALL specific parameters** returned by the\n        discovery script. **You MUST NOT generalize or vaguely summarize them.**\n    -   **OAuth Authorization (Google Data Sources)**: For Google ecosystem data\n        sources (Google Ads, Youtube, etc.), if the user is not using a service\n        account to configure the DTS transfer config (meaning the user is using\n        End User Credentials or EUC to configure the transfer config), then\n        generate an OAuth URI. Ask the user to visit this URL to authorize. Once\n        the user provides the versionInfo code, use the code as\n        `definition.versionInfo` in `deployment.yaml` and then you can proceed.\n    -   If any parameters are related to authentication, explicitly ask the user\n        to provide the Secret Manager Resource ID (e.g.,\n        projects\u002Fmy-project\u002Fsecrets\u002Fmy-secret) for these parameters\n    -   Present every required parameter to the user BEFORE generating config\n        files.\n    -   Ask for verification of assets\u002Ftables to be ingested.\n\n3.  **Wait for User Response**: You **MUST NOT** proceed until parameters are\n    confirmed.\n\n### Step 3: Extract Transfer Config Data\n\nRetrieve the configuration details for the selected transfer.\n\n```bash\nbq show --format=prettyjson --transfer_config \u003CRESOURCE_NAME>\n```\n\n### Step 4: Trigger and Verify Transfer\n\nAfter the transfer is deployed via the resource provisioning framework, you MUST\nensure there is at least a single successful run before proceeding with the rest\nof the tasks.\n\n1.  **Trigger a Manual Run**: If no successful runs or ongoing runs are found,\n    or the transfer was just created, trigger a manual run for the current time.\n\n    ```bash\n    bq mk --transfer_run \\\n      --transfer_config=\u003CRESOURCE_NAME> \\\n      --run_time=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n    ```\n\n2.  **Poll for Completion (5-Minute Rule)**: Attempt to check the status of the\n    run every 30-60 seconds for up to **5 minutes**.\n\n    ```bash\n    bq ls --format=prettyjson --transfer_run --transfer_config=\u003CRESOURCE_NAME>\n    ```\n\n    -   **Success**: If the run completes successfully, proceed with the rest of\n        the pipeline.\n    -   **Failure**: If the run fails, analyze the logs and ask the user for\n        help.\n    -   **Timeout (5 mins)**: If the run is still in progress after 5 minutes,\n        **STOP** and ask the user: \"The Data Transfer Service ingestion is still\n        in progress. Please provide 'proceed guidance' once the ingestion has\n        finished so that I can continue building the rest of the data pipeline\n        using the ingested schema and samples.\"\n\n3.  **Wait for User Guidance**: Do NOT proceed until the user confirms ingestion\n    is complete or provides guidance.\n\n4.  Once user confirms to proceed, start work on rest of the tasks.\n\n## Definition of Done\n\n-   A BigQuery DTS transfer configuration has been discovered or provisioned\n    declaratively (via **gcp pipeline resource provisioning** with a generated\n    `deployment.yaml`).\n-   Mandatory datasource parameters have been identified and confirmed with the\n    user.\n-   A manual transfer run has been triggered and monitored.\n-   The transfer run has completed successfully OR the user has provided\n    \"proceed guidance\" for a long-running transfer.\n",{"name":5,"license":14,"metadata":23,"description":7},{"version":24,"publisher":25},"v1","google","main","3c24fc2c035029b08c7326774bee3fef8fb95566",".agents\u002Fskills\u002Fbigquery-data-transfer-service",0,"https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto","https:\u002F\u002Fgithub.com\u002Fsaski","http:\u002F\u002Fsaski.com","2026-11-12 20:09:16",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add saski\u002Farnesto --skill bigquery-data-transfer-service",{"tool":40,"command":41},"bunx","bunx skills add saski\u002Farnesto --skill bigquery-data-transfer-service",{"tool":43,"command":44},"pnpm","pnpm dlx skills add saski\u002Farnesto --skill bigquery-data-transfer-service","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbigquery-data-transfer-service\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"scripts\u002Fbigquery_dts.py","SCRIPT","脚本",4984,"https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbigquery-data-transfer-service\u002Fscripts\u002Fbigquery_dts.py",[55,63,70,77,84,91],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7AT7F5FSHNAMFMF01N0QA1X","visualize","Use \u002Fvisualize for creating compact charts, diagrams, or other visuals inline as part of the conversation itself. It chooses among Markdown tables, Mermaid, inline HTML, and other supported in-transcript forms. Use Canvas for durable artifacts outside the transcript that users may revisit, refine, or share.","Unlicense","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fvisualize\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7AT79MHSAR3JDDMP7DGERM9","update-cursor-settings","Modify Cursor\u002FVSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fupdate-cursor-settings\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7AT73WF3Y22E0FKYAMCCJES","update-cli-config","View and modify Cursor CLI configuration settings in ~\u002F.cursor\u002Fcli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fupdate-cli-config\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7AT6F3FBP85AJJ5BJNR8B5W","statusline","Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fstatusline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M7AT6D24QFS5XRAFN8S5XJ7W","split-to-prs","Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fsplit-to-prs\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M7AT69FYFN84XZKW452JV5DF","shell","Runs the rest of a \u002Fshell request as a literal shell command. Use only when the user explicitly invokes \u002Fshell and wants the following text executed directly in the terminal.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fshell\u002FSKILL.md",[],[]]