CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

databricks-dbsql

This guide summarizes Databricks SQL capabilities including scripting, stored procedures, transactions, materialized views, geospatial functions, AI functions, and file ingestion. It provides SQL examples for common patterns and guidance on modeling, performance, and testing. Reference files are listed for deeper syntax and feature details.

Quality

80%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./plugins/databricks/claude/skills/databricks-dbsql/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

76%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable reference skill: lean prose, executable SQL for every feature area, and clean one-level-deep disclosure to real reference files. The gaps are the missing validate→fix→retry loop for SQL changes (capping workflow clarity), inline DBR version numbers, and broken cross-bundle links inside references/ai-functions.md.

Suggestions

Add an explicit validation workflow for SQL changes, e.g. run via CLI → read the error message → fix → re-run, and "only deploy when the query returns without error", to satisfy the feedback-loop requirement for database operations.

Fix or inline the content behind the broken ../../databricks-ai-functions/references/*.md links in references/ai-functions.md so navigation stays one level deep within the bundle.

Move DBR version requirements ("DBR 16.3+", "DBR 17.0+") out of the Quick Reference table into a short compatibility note or the relevant reference file to keep time-sensitive info out of the overview.

DimensionReasoningScore

Conciseness

The body is dense with zero padding prose and no explanation of concepts Claude already knows; code comments carry the instruction ("safety limit", "Set up connection first (one-time)"). Not anchor 5 because eleven full SQL blocks (~200 lines) in the overview could partly live in references, and time-sensitive DBR version numbers ("DBR 16.3+", "DBR 17.0+") appear inline rather than in a compatibility/deprecated section.

4 / 5

Actionability

Eleven copy-paste-ready, complete SQL examples with realistic three-part identifiers, named parameters, and error handling (EXIT HANDLER, SIGNAL SQLSTATE), plus a concrete test command with a version fallback ("databricks experimental aitools tools query" / DATABRICKS_WAREHOUSE_ID). Fully executable guidance covering the common case per feature.

5 / 5

Workflow Clarity

This is a feature-catalog skill with an implicit sequence (Quick Reference → reference file → pattern → test) and only a single implicit validation checkpoint ("Test SQL via CLI … before deploying") with no validate→fix→retry feedback loop. The rubric's scoring note caps database-operation skills without feedback loops at 3, which applies here despite the otherwise clear organization.

3 / 5

Progressive Disclosure

Excellent overview structure: a feature→file Quick Reference, a Reference Files table with explicit "When to Read" guidance, representative examples inline, and all six referenced files present at one level deep. Not anchor 5 because references/ai-functions.md links to ../../databricks-ai-functions/references/*.md paths that do not exist in this bundle, breaking navigation at the second level.

4 / 5

Total

16

/

20

Passed

Description

77%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A trigger-term-driven description with exceptional when-guidance and rich synonym coverage. Its main weakness is the what-statement: a buzzword-ish noun phrase ("advanced features and capabilities") with no concrete actions, and generic SQL trigger terms that could fire outside Databricks contexts.

Suggestions

Replace "advanced features and SQL warehouse capabilities" with concrete actions, e.g. "Write SQL scripting blocks, stored procedures, recursive CTEs, materialized views, and pipe-syntax queries; use H3/ST geospatial functions, collations, and AI functions in Databricks SQL."

Scope the generic SQL trigger terms ("temp table", "stored procedure", "SQL best practices") to Databricks, e.g. "temp table in Databricks" or "Databricks stored procedure", to reduce conflict with general-SQL skills.

DimensionReasoningScore

Specificity

The what-statement is a noun phrase ("Databricks SQL (DBSQL) advanced features and SQL warehouse capabilities") with no explicit action verbs, but the enumerated feature names ("materialized view", "stored procedure", "pipe syntax", "H3") name concrete capabilities beyond a bare domain claim. It sits between anchor 2 (generic domain only) and anchor 4 (several explicit actions).

3 / 5

Completeness

Both what and when are present, and the when is maximally explicit ("This skill MUST be invoked when the user mentions: …" plus a SHOULD clause). It falls short of anchor 5 only because the what lacks the concrete action list the anchor-5 example has; it exceeds anchor 4 because the when is far more explicit than that anchor requires.

4 / 5

Trigger Term Quality

Thirty-one quoted trigger terms with abundant synonyms and variations ("temp table"/"temporary view", "recursive CTE"/"WITH RECURSIVE", "pipe syntax"/"pipe operator"/"|>", "DBSQL"/"Databricks SQL") — comprehensive natural-term coverage matching the top anchor, and clearly not anchor 4 since no common variation is missing.

5 / 5

Distinctiveness Conflict Risk

Highly distinctive Databricks-specific triggers ("H3", "ai_query", "|>") give it a clear niche, but generic SQL terms in the MUST list ("temp table", "stored procedure", "multi-statement transaction") and the broad SHOULD clause ("SQL best practices, data modeling patterns") create minor overlap risk with general SQL skills — anchor 4 rather than 5.

4 / 5

Total

16

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

databricks/databricks-agent-skills

Path

plugins/databricks/claude/skills/databricks-dbsql/SKILL.md

Reviewed

Table of Contents

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.