thomazrossito/data-agents/databricks-bundles
Claude Code and agent skill by thomazrossito/data-agents
- community
Checking that the SKILL.md file is still in the repository.
Create and configure Declarative Automation Bundles (formerly Asset Bundles) with best practices for multi-environment deployments (CICD). Use when working with: (1) Creating new DAB projects, (2) Adding resources (dashboards, pipelines, jobs, alerts), (3) Configuring multi-environment deployments, (4) Setting up permissions, (5) Deploying or running bundle resources
Install
npx vskill@latest install thomazrossito/data-agents/databricks-bundlesSKILL.md
The same SKILL.md was published earlier as thomazrossito/data-agents/databricks-bundles.
DABs Writer
Overview
Create DABs for multi-environment deployment (dev/staging/prod).
Reference Files
- [SDP_guidance.md](SDP_guidance.md) - Spark Declarative Pipeline configurations
- [alerts_guidance.md](alerts_guidance.md) - SQL Alert schemas (critical - API differs)
Bundle Structure
Main Configuration (databricks.yml)
Dashboard Resources
Support for dataset_catalog and dataset_schema parameters added in Databricks CLI 0.281.0 (January 2026)
Permission levels: CAN_READ, CAN_RUN, CAN_EDIT, CAN_MANAGE
Pipelines
See [SDP_guidance.md](SDP_guidance.md) for pipeline configuration
SQL Alerts
See [alerts_guidance.md](alerts_guidance.md) - Alert schema differs significantly from other resources
Jobs Resources
Permission levels: CAN_VIEW, CAN_MANAGE_RUN, CAN_MANAGE
⚠️ Cannot modify "admins" group permissions on jobs - verify custom groups exist before use
Path Resolution
⚠️ Critical: Paths depend on file location:
| File Location | Path Format | Example | |
|---|---|---|---|
resources/*.yml | ../src/... | ../src/dashboards/file.json | |
databricks.yml targets | ./src/... | ./src/dashboards/file.json |
Why: resources/ files are one level deep, so use ../ to reach bundle root. databricks.yml is at root, so use ./
Volume Resources
⚠️ Volumes use `grants` not `permissions` - different format from other resources
Apps Resources
Apps resource support added in Databricks CLI 0.239.0 (January 2025)
Apps in DABs have a minimal configuration - environment variables are defined in app.yaml in the source directory, NOT in databricks.yml.
Generate from Existing App (Recommended)
Manual Configuration
resources/my_app.app.yml:
src/app/app.yaml: (Environment variables go here)
databricks.yml:
Key Differences from Other Resources
| Aspect | Apps | Other Resources | |
|---|---|---|---|
| Environment vars | In app.yaml (source dir) | In databricks.yml or resource file | |
| Configuration | Minimal (name, description, path) | Extensive (tasks, clusters, etc.) | |
| Source path | Points to app directory | Points to specific files |
⚠️ Important: When source code is in project root (not src/app), use source_code_path: .. in the resource file
Other Resources
DABs supports schemas, models, experiments, clusters, warehouses, etc. Use databricks bundle schema to inspect schemas.
Reference: DABs Resource Types
Common Commands
Validation
Deployment
Running Resources
Monitoring & Logs
View application logs (for Apps resources):
What logs show:
[SYSTEM]- Deployment progress, file updates, dependency installation[APP]- Application output (print statements, errors)- Backend connection status
- Deployment IDs and timestamps
- Stack traces for errors
Key log patterns to look for:
- ✅
Deployment successful- Confirms deployment completed - ✅
App started successfully- App is running - ✅
Initialized real backend- Backend connected to Unity Catalog - ❌
Error:- Look for error messages and stack traces - 📝
Requirements installed- Dependencies loaded correctly
Cleanup
Common Issues
| Issue | Solution | |
|---|---|---|
| App deployment fails | Check logs: databricks apps logs <app-name> for error details | |
| App not connecting to Unity Catalog | Check logs for backend connection errors; verify warehouse ID and permissions | |
| Wrong permission level | Dashboards: CAN_READ/RUN/EDIT/MANAGE; Jobs: CAN_VIEW/MANAGE_RUN/MANAGE | |
| Path resolution fails | Use ../src/ in resources/*.yml, ./src/ in databricks.yml | |
| Catalog doesn't exist | Create catalog first or update variable | |
| "admins" group error on jobs | Cannot modify admins permissions on jobs | |
| Volume permissions | Use grants not permissions for volumes | |
| Hardcoded catalog in dashboard | Use dataset_catalog parameter (CLI v0.281.0+), create environment-specific files, or parameterize JSON | |
| App not starting after deploy | Apps require databricks bundle run <resource_key> to start | |
| App env vars not working | Environment variables go in app.yaml (source dir), not databricks.yml | |
| Wrong app source path | Use ../ from resources/ dir if source is in project root | |
| Debugging any app issue | First step: databricks apps logs <app-name> to see what went wrong |
Key Principles
- Path resolution:
../src/in resources/*.yml,./src/in databricks.yml - Variables: Parameterize catalog, schema, warehouse
- Mode:
developmentfor dev/staging,productionfor prod - Groups: Use
"users"for all workspace users - Job permissions: Verify custom groups exist; can't modify "admins"
Related Skills
- [databricks-spark-declarative-pipelines](../databricks-spark-declarative-pipelines/SKILL.md) - pipeline definitions referenced by DABs
- [databricks-app-apx](../databricks-app-apx/SKILL.md) - app deployment via DABs
- [databricks-app-python](../databricks-app-python/SKILL.md) - Python app deployment via DABs
- [databricks-config](../databricks-config/SKILL.md) - profile and authentication setup for CLI/SDK
- [databricks-jobs](../databricks-jobs/SKILL.md) - job orchestration managed through bundles
Resources
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/databricks/databricks-bundles/SKILL.md
Popularity
- Repository stars
- 30
- Repository forks
- 20
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thomazrossito/data-agents/databricks-bundles)