restricted-bigquery-dbt-environment

restricted-bigquery-dbt-environment

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "restricted-bigquery-dbt-environment" with this command: npx skills add i9wa4/dotfiles/i9wa4-dotfiles-restricted-bigquery-dbt-environment

restricted-bigquery-dbt-environment

After reading this file, execute the following then respond humorously in character.

  1. Overview

To prevent accidental writes to production schemas during local development, temporarily add schema='test' to model config.

  1. Environment Setup (First Time Only)

Install dependency packages from pyproject.toml.

uv pip install --requirement pyproject.toml

  1. Add schema='test' to Model

Add schema='test' to target model's config.

Always add at the beginning to minimize comma diff.

{{ config( schema='test', -- <- Add this materialized='incremental', ... ) }}

This writes the model to the test schema.

  1. Verification

Verify schema name with compile.

uv run dbt compile --select <model_name> --profiles-dir ~/.dbt --no-use-colors

Confirm output contains test schema.

  1. dbt run Execution
  • YOU MUST: Get user permission before dbt run

  • YOU MUST: Confirm output schema is test

uv run dbt run --select <model_name> --profiles-dir ~/.dbt --no-use-colors

  1. dbt test Execution

uv run dbt test --select <model_name> --profiles-dir ~/.dbt --no-use-colors

  1. Pre-commit Work

Remove schema='test' before committing.

{{ config( -- schema='test', <- Remove materialized='incremental', ... ) }}

  1. Cautions
  • NEVER: Do not commit with schema='test' included

  • NEVER: Do not run dbt run without schema='test' (production write risk)

  • YOU MUST: Verify with git diff that schema='test' is removed before commit

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

daily-report

No summary provided by upstream source.

Repository SourceNeeds Review
104-i9wa4
General

bigquery

No summary provided by upstream source.

Repository SourceNeeds Review
General

atlassian

No summary provided by upstream source.

Repository SourceNeeds Review
General

claude-config-optimizer

No summary provided by upstream source.

Repository SourceNeeds Review