CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

databricks-dabs

This skill covers Databricks bundle projects and resources, including configuration, deployment, validation, permissions, and troubleshooting. It requires reviewing App configuration before validation and enforcing CLI-version-aware naming rules, including a 30-character limit and safe handling of developer-specific overrides. Reference documentation covers bundle structure, pipelines, alerts, deployment, and permissions.

1.11x
Quality

85%

Does it follow best practices?

Impact

96%

1.11x

Average score across 3 eval scenarios

SecuritybySnyk

Medium

Suggest reviewing before use

The canonical home for this skill is databricks-dabs in databricks/databricks-agent-skills

SKILL.md
Quality
Evals
Security

Declarative Automation Bundles (DABs)

Use this skill for any bundle-related request including creating, configuring, validating, deploying, running, and managing Databricks resources through DABs.

Reference Documentation

The following reference files provide detailed guidance for specific bundle tasks:

  • Bundle Structure - Bundle structure, databricks.yml configuration, resource definitions, path resolution, variables, and multi-environment targets
  • SDP Pipelines - Spark Declarative Pipeline configurations for DABs
  • SQL Alerts - SQL Alert schemas and configuration (critical - API differs from other resources)
  • Deploy and Run - Validation, deployment, running resources, monitoring logs, and troubleshooting common issues
  • Resource Permissions - Permission levels and access control for bundle resources, per-resource-type levels, grants vs permissions

When to Use This Skill

Load this skill for any request involving:

  • Creating new bundle projects or resources
  • Configuring databricks.yml or resource YAML files
  • Setting up multi-environment deployments (dev/prod targets)
  • Deploying or running bundle resources
  • Managing permissions for bundle resources
  • Troubleshooting bundle validation or deployment errors
  • Working with specific resource types (dashboards, jobs, pipelines, alerts, volumes, apps)

General Guidelines

  1. Always validate after configuration changes - Use bundle validate --strict --target <target> after any change
  2. Use reference documentation - Consult the appropriate reference file for detailed patterns and examples
  3. Follow naming conventions - Resource files should use <name>.<resource_type>.yml format
  4. Path resolution is critical - Paths differ based on file location (see Bundle Structure reference)
  5. Preserve existing structure - Keep user comments and structure when editing YAML files
  6. Use variables - Parameterize catalog, schema, and warehouse for multi-environment support
  7. Namespace App names - App names are workspace-global and limited to 30 characters. With Databricks CLI 0.270.0 or later, shared-development defaults should be a short app prefix plus the whole ${workspace.current_user.domain_friendly_name}; override production with a stable name. When the name is too long, shorten the prefix, never the developer's name. On older CLI versions, require an explicit app_name value instead

Required App Completion Contract

Before validating any bundle that creates or changes an App, re-read the final bundle YAML and confirm all of the following structural requirements:

  • Each App resource uses a dedicated name variable, such as name: ${var.app_name}, while preserving an existing equivalent variable when present.
  • For Databricks CLI 0.270.0 or later, each App name variable defaults to a recognizable App prefix plus ${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.
  • No development App name uses ${workspace.current_user.short_name}, ${workspace.current_user.id}, ${workspace.current_user.userName}, 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. Other developers' names can be longer than yours, so keep the prefix short (for example sales-, not sales-dashboard-).

If a resolved name is longer than 30 characters, shorten the prefix in the committed default (for example sales-dash-${workspace.current_user.domain_friendly_name} becomes sales-${workspace.current_user.domain_friendly_name}) and validate again. The prefix, without its hyphen, can have at most 29 minus the length of the resolved workspace.current_user.domain_friendly_name. This budget covers only the developer who runs the check. A teammate whose name is longer repairs the committed default the same way, and the shorter prefix then applies to everyone. Never truncate, abbreviate, or hardcode the developer's name in the YAML: a cut name can match a teammate's cut name, so the collision comes back.

Use the uncommitted .databricks/bundle/<target>/variable-overrides.json file only when no prefix fits (the developer's name alone is 29 characters or more), when two developers' names normalize to the same domain_friendly_name, or when multiple non-production targets of the same app share a workspace. In an override, use a short distinct value that does not copy or cut your name. Successful validation alone does not satisfy this contract because validation does not catch every invalid or non-namespaced App name.

Documentation

  • Declarative Automation Bundles
  • Bundle Examples Repository - official end-to-end example bundles (jobs, pipelines, dashboards, apps, and more); use as working references for patterns not covered by the reference files above
Repository

databricks/databricks-agent-skills

Path

plugins/databricks/antigravity/skills/databricks-dabs/SKILL.md

Last updated
First committed
Purpose
DevelopmentTesting and QADebugging and error handlingInfrastructureDevOps
Form
WorkflowRulesBest practicesReference
Commands
bundlebundle validatedatabricksdatabricks bundledatabricks bundle validate

Canonical home

databricks/databricks-agent-skills
In sync

since May 6, 2026

Also appears in

databricks/devhub
Stale

last in sync Oct 8, 2026

databricks/databricks-agent-skills
In sync

since Sep 13, 2026

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.