- Home
- Skills
- Data & Databases
- Databricks Asset Bundle CI/CD Architect
Databricks Asset Bundle CI/CD Architect
This skill helps you create, configure, and modify databricks.yml files to manage deployments across multiple environments.
Free
Databricks Asset Bundle CI/CD Architect
Example session with this skill installed
Create a Databricks Asset Bundle for my sales_ingestion project. I need dev, staging, and prod targets. Include an ETL job with two tasks: ingest_raw and process_silver.
- Read your context and instructions
- Compiled the databricks asset bundle
I have generated a production-grade Databricks Asset Bundle configuration for the sales_ingestion project, featuring multi-environment targets and Unity Catalog-compliant job definitions.
| Parameter | Value | Source |
|---|---|---|
| Bundle name | sales_ingestion | User-specified |
| Deployment targets | dev, staging, prod | Default three-target pattern |
| Variable substitution syntax | ${var.<name>} | DAB specification |
| Service principal targets | staging, prod | Non-dev targets require run_as |
| Data security mode | SINGLE_USER | Unity Catalog requirement |
| Spark version | 15.4.x-scala2.12 | Latest LTS |
| Dev mode | development | Dev target only |
databricks.yml
bundle:
name: sales_ingestion
variables:
catalog_name:
description: "Unity Catalog catalog name"
default: dev_catalog
schema_name:
description: "Target schema name"
default: sales_schema
workspace:
root_path: /Workspace/Users/${workspace.current_user.userName}/.bundle/${bundle.name}/${bundle.target}
targets:
dev:
mode: development
default: true
workspace:
host: https://<dev_workspace_url>.azuredatabricks.net
variables:
catalog_name: dev_catalog
staging:
workspace:
host: https://<staging_workspace_url>.azuredatabricks.net
variables:
catalog_name: staging_catalog
run_as:
service_principal_name: "staging-deployer-sp"
prod:
workspace:
host: https://<prod_workspace_url>.azuredatabricks.net
variables:
catalog_name: prod_catalog
run_as:
service_principal_name: "prod-deployer-sp"
resources:
jobs:
sales_etl_job:
name: "sales_etl_job_${bundle.target}"
job_clusters:
- job_cluster_key: sales_cluster
new_cluster:
spark_version: "15.4.x-scala2.12"
node_type_id: "Standard_DS3_v2"
num_workers: 4
data_security_mode: "SINGLE_USER"
tasks:
- task_key: ingest_raw
job_cluster_key: sales_cluster
notebook_task:
notebook_path: ../src/ingest_raw.py
- task_key: process_silver
depends_on:
- task_key: ingest_raw
job_cluster_key: sales_cluster
notebook_task:
notebook_path: ../src/process_silver.py
Deployment Commands
# Validate the bundle configuration (run before every deploy)
databricks bundle validate --target dev
# Deploy to the dev environment
databricks bundle deploy --target dev
# Deploy to staging
databricks bundle deploy --target staging
# Deploy to production (requires service principal authentication)
databricks bundle deploy --target prod
# Run a specific job immediately after deployment
databricks bundle run --target dev sales_etl_job
Next steps
- Run
databricks bundle validate --target devand confirm zero errors. - Verify that
run_as.service_principal_nameis set on all non-dev targets. - Confirm that no hardcoded catalog or schema names appear outside the
variablesblock. - Verify that
mode: developmentappears only on the dev target. - Confirm that every task specifies
depends_onfor execution ordering.
Connects securely to your tools. The creator never sees your data.
About this skill
Databricks Asset Bundles – CI/CD Configuration
Simplify your Databricks deployment setup with production-ready Databricks Asset Bundle (DAB) configurations.
This skill helps you create, configure, and modify databricks.yml files to manage deployments across multiple environments. It follows a structured approach to setting up CI/CD workflows while keeping configurations consistent, reusable, and easy to maintain.
Key capabilities:
- Multi-environment deployments: Configure separate development, staging, and production targets with environment-specific settings.
- Variable management: Use variable substitution for catalog names, schemas, warehouse IDs, and storage paths instead of hardcoding environment-specific values.
- Service principal authentication: Configure
run_asblocks for staging and production deployments to ensure jobs execute under designated service principals. - Job configuration: Define Databricks jobs, task dependencies, schedules, job clusters, and notebook tasks.
- Lakeflow pipeline configuration: Set up pipeline resources with catalog, schema, Photon acceleration, and environment-specific configurations.
- Cluster configuration: Define Spark versions, node types, worker counts, and Unity Catalog-compatible security settings.
- Deployment commands: Generate the required Databricks CLI commands to validate, deploy, and run bundles across environments.
- Configuration validation: Follow a predefined checklist to catch configuration issues before deployment.
Built-in safeguards:
The skill incorporates safeguards against destructive operations, accidental PII exposure, unauthorized cross-schema access, unsafe SQL construction, and unsupported configuration properties.
What you get:
A complete databricks.yml configuration, a summary of deployment settings, ready-to-use Databricks CLI commands, and a post-deployment verification checklist.
Ideal for: Data Engineers, Databricks Developers, and platform teams looking to standardize and simplify their Databricks CI/CD deployment configurations.
Does not support legacy dbx, Terraform, or CI/CD workflow YAML. Requires Databricks CLI 0.218.0+. Only supports SINGLE_USER security mode for Unity Catalog.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 17 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.