Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

setup

Skill by tosun-si

Sets up BigTesty, a tool that runs BigQuery SQL tests on real BigQuery in ephemeral datasets. It is for developers adding these tests to a project, writing the config, or wiring them into CI.

  • Score 67
  • 68 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install setup

Built from the published package, never by AI.

git clone --depth 1 https://github.com/tosun-si/bigtesty /tmp/bigtesty && mkdir -p ~/.claude/skills && cp -r /tmp/bigtesty/src/bigtesty/plugin/skills/setup ~/.claude/skills/setup

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install setup in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides the setup of BigTesty, which tests BigQuery SQL on real BigQuery rather than an emulator or mock. The SQL under test is the production SQL. Each run creates ephemeral datasets and deletes them at the end. The skill covers installing BigTesty with uv or as a standalone CLI, authenticating with Application Default Credentials, and laying out a project.

It explains how to write the bigtesty.yaml config, including datasets, tables, DDL, labels, CMEK, cleanup and max_bytes_billed. It also shows how to run tests with the CLI or pytest and how to wire them into GitHub Actions, with GitLab CI and Cloud Build noted. It is for developers adding BigTesty to a project, reviewing its config, or upgrading from 0.x.

Written from the project's SKILL.md and checked against it.

What it can do

  • Install BigTestyAdd BigTesty as a uv dev dependency or install it as a standalone CLI with uv tool install.
  • Authenticate on GCPSet up Application Default Credentials and the roles the test account needs on the test project.
  • Write bigtesty.yamlDeclare datasets, tables, schemas, DDL files and project aliases used by the SQL under test.
  • Configure cleanup and cost guardsSet cleanup modes, a max_bytes_billed limit per query job, and labels on datasets and jobs.
  • Set CMEK encryptionUse kms_key_name in the config or per dataset, with the key in the datasets' location.
  • Validate configRun bigtesty validate to check the files without calling BigQuery.
  • Run testsRun bigtesty test or pytest, with one test per scenario, and read the exit codes.
  • Clean up leftover datasetsUse bigtesty gc to remove datasets left by killed or kept runs.
  • Wire tests into CIFollow a GitHub Actions example using Workload Identity Federation, with GitLab CI and Cloud Build noted.
  • Upgrade from 0.xFollow the migration steps from tables.json and definition files to bigtesty.yaml and test files.

What you need

  • Python 3.11 or later, or the Docker image groupbees/bigtesty
  • uv, for installing BigTesty as a dev dependency
  • gcloud CLI, for application default login
  • A Google Cloud account with access to a dedicated test project
  • roles/bigquery.user on the test project

Try asking

  • Set up BigTesty in this project and create a bigtesty.yaml for my datasets
  • Validate my bigtesty.yaml and tell me what is wrong with it
  • Add a GitHub Actions workflow that runs the BigTesty tests with Workload Identity

Good to know

  • Tests run on real BigQuery, not an emulator or mock, so they use the test project.
  • Use a dedicated test project, never the production one.
  • The label keys bigtesty and bigtesty_run_id are reserved.
  • Upgrading from 0.x needs manual migration, since 1.0 dropped Pulumi and the GCS state.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/bigtesty/plugin/skills/setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to setup

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

setup: common questions

Does BigTesty use an emulator for BigQuery tests?

No. It runs the tests on real BigQuery in ephemeral datasets that are created for each run and deleted at the end. The SQL under test is the production SQL.

What permission does the test account need?

It needs roles/bigquery.user on the test project so it can create datasets and run jobs. The source recommends a dedicated test project rather than production.

Can I run BigTesty without installing Python?

Yes. The Docker image groupbees/bigtesty runs the CLI without Python.

How do I install setup?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is setup free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is setup safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to setup?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

Add to stack

Loading.