Terminal
Terminal/Skill
Guide for creating, validating, deploying, and running Databricks Asset Bundles, covering jobs, pipelines, dashboards, alerts, and apps.
By Databricks
Works with
npx skills add databricks/databricks-agent-skills --skill databricks-dabsUse this skill for any bundle-related request including creating, configuring, validating, deploying, running, and managing Databricks resources through DABs.
The following reference files provide detailed guidance for specific bundle tasks:
Load this skill for any request involving:
bundle validate --strict --target <target> after any change<name>.<resource_type>.yml format${workspace.current_user.domain_friendly_name}; override production with a stable name, and persist an explicit local value when the default is invalid, collides, or must distinguish multiple non-production targets in one workspace. On older CLI versions, require an explicit app_name value insteadBefore validating any bundle that creates or changes an App, re-read the final bundle YAML and confirm all of the following structural requirements:
name: ${var.app_name}, while preserving an existing equivalent variable when present.${workspace.current_user.domain_friendly_name} for development, and the production target overrides it with a stable name. On older CLI versions, App name variables have no default and each developer must provide values.${workspace.current_user.short_name}, a bare ${bundle.target}, or a hardcoded value.Only after this check, run databricks bundle validate --strict --target <target> --output json and inspect each resolved resources.apps.<key>.name. Each name must contain only lowercase letters, digits, and hyphens and be at most 30 characters. If a resolved name is invalid, collides after normalization, or multiple non-production targets share a workspace, persist a shorter, distinct value in the uncommitted .databricks/bundle/<target>/variable-overrides.json file and validate again. Successful validation alone does not satisfy this contract because validation does not catch every invalid or non-namespaced App name.