.agents/skills/extract-bq-schema/SKILL.md
Extract schemas directly from BigQuery datasets
npx skillsauth add starlake-ai/starlake-skills extract-bq-schemaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Extracts table schemas directly from BigQuery datasets into Starlake YAML configuration files. Unlike extract-schema which uses JDBC, this command uses the BigQuery API directly for better metadata extraction.
starlake extract-bq-schema [options]
--connection <value>: BigQuery connection reference from application.sl.yml--database <value>: GCP Project ID--tables <value>: Comma-separated list of dataset.table pairs to extract--external: Include external datasets defined in _config.sl.yml--write <value>: Write mode for output: OVERWRITE, APPEND--accessToken <value>: Access token for GCP authentication--persist <value>: Persist results to files (true/false)--reportFormat <value>: Report output format: console, json, or htmlRequires a BigQuery connection in application.sl.yml:
# metadata/application.sl.yml
version: 1
application:
connections:
bigquery:
type: "bigquery"
options:
location: "europe-west1"
authType: "APPLICATION_DEFAULT"
authScopes: "https://www.googleapis.com/auth/cloud-platform"
writeMethod: "direct"
starlake extract-bq-schema --database my-gcp-project
starlake extract-bq-schema --database my-gcp-project --tables sales.orders,sales.customers
starlake extract-bq-schema --database my-gcp-project --persist true
starlake extract-bq-schema --database my-gcp-project --external
development
Design SQL transformations for data pipelines with quality checks and dependency management. Use when the user says "design transforms" or "create SQL transformations".
devops
Plan and track sprint progress for data pipeline implementation. Use when the user says "sprint planning" or "plan data sprint".
testing
Analyze data sources in depth: schema, quality, volume, and extraction strategy. Use when the user says "analyze data source" or "profile this data source".
data-ai
Design Starlake-compatible table schemas with types, constraints, privacy, and expectations. Use when the user says "design schema" or "create table definition".