CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

databricks-ai-functions

Use Databricks built-in AI Functions (ai_classify, ai_extract, ai_summarize, ai_mask, ai_translate, ai_fix_grammar, ai_gen, ai_analyze_sentiment, ai_similarity, ai_parse_document, ai_prep_search, ai_query, ai_forecast) to add AI capabilities directly to SQL and PySpark pipelines without managing model endpoints. Also covers document parsing and building custom RAG pipelines (parse → prep_search → index → query).

64

Quality

80%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

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

Quality

Content

82%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.

An exemplary content body: fully executable examples, a staged batch pipeline with explicit error handling and validation checkpoints, and clean one-level-deep progressive disclosure into three well-scoped reference files. The only weaknesses are minor — slight repetition of version requirements across sections and cross-skill links that don't resolve in this bundle.

DimensionReasoningScore

Conciseness

The body is dense and token-efficient: the function table, cost guidance ('Run a function once per row and persist... never re-invoke'), and license note all earn their place, and no space is spent explaining concepts Claude already knows. Minor trimming is possible — DBR version requirements (15.1+, 17.3+, 18.2+) recur across the overview table, patterns, and Common Issues sections — so it fits 'efficient; minor instances of over-explanation that could be trimmed' rather than 5's every-token-earns-its-place.

4 / 5

Actionability

Every example is copy-paste-ready executable SQL: the multi-function column enrichment chain, ai_mask with entity array, similarity self-join with threshold, ai_forecast with expected output columns documented, ai_query with responseFormat and a full from_json return struct, and the staged SDP pipeline with exact CREATE statements. Specific examples cover the common cases and nothing is pseudocode.

5 / 5

Workflow Clarity

The document pipeline is a clearly sequenced Stage 1 → 2 → 3 workflow with real validation checkpoints: Stage 1 filters 'WHERE parsed:error_status IS NULL', Stage 3 retains 'result:error_message', and the batch-error guidance routes per-row failures to a sidecar table via 'failOnError => false' — so the batch-operation cap at 3 does not apply. It falls short of 5 only because there is no explicit retry/re-process loop for failed rows or output verification step.

4 / 5

Progressive Disclosure

The SKILL.md works as a true overview: the function table deep-links each function to its verified anchor in references/1-task-functions.md, ai_query and ai_forecast get dedicated reference files, and the Reference Files section states each file's scope — all in-repo paths and anchors resolve against the actual bundle. Minor gap: the sibling-skill links (../databricks-vector-search/SKILL.md, ../databricks-genie-agents/SKILL.md, ../databricks-model-serving/SKILL.md) do not resolve within the actual bundle structure.

4 / 5

Total

17

/

20

Passed

Description

71%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 highly specific, comprehensive description that names every function in the domain and the concrete pipeline use cases. Its main weakness is the complete absence of an explicit 'Use when...' trigger clause, which caps completeness, and reliance on function names over natural-language trigger synonyms.

Suggestions

Add an explicit trigger clause, e.g. 'Use when writing Databricks SQL or PySpark that needs LLM capabilities (classification, extraction, summarization, PII masking, translation, forecasting), or when the user mentions AI Functions, ai_query, or building a RAG pipeline on Databricks.'

Include natural-language synonyms alongside the function names — 'sentiment analysis', 'PII redaction/masking', 'translation', 'time-series forecasting' — so the description triggers on how users phrase the task, not just on the function name.

Clarify the RAG scope boundary (parse → prep_search ends before indexing) to reduce overlap risk with a sibling vector-search skill.

DimensionReasoningScore

Specificity

The description lists all 13 concrete function names (ai_classify, ai_extract, ai_summarize, ai_mask, ai_translate, ai_fix_grammar, ai_gen, ai_analyze_sentiment, ai_similarity, ai_parse_document, ai_prep_search, ai_query, ai_forecast) plus concrete actions like 'add AI capabilities directly to SQL and PySpark pipelines' and 'building custom RAG pipelines (parse → prep_search → index → query)' — comprehensive coverage with no gaps, matching the top anchor.

5 / 5

Completeness

The 'what' is clearly and explicitly stated, but there is no 'Use when...' clause or equivalent explicit trigger guidance anywhere in the description. Per the judging guidelines, a missing 'Use when' clause caps completeness at 3; it is not 4 because the 'when' is entirely absent rather than merely weakly implied.

3 / 5

Trigger Term Quality

Good natural keyword coverage: 'Databricks', 'AI Functions', the function names themselves, 'SQL', 'PySpark', 'RAG pipelines', and 'document parsing' are terms users would actually type. A few natural-language synonyms are missing — 'sentiment analysis', 'PII masking/redaction', 'translation', 'forecasting' never appear as words — so it falls short of the comprehensive-synonyms anchor at 5.

4 / 5

Distinctiveness Conflict Risk

'Databricks built-in AI Functions' plus the specific function names carve a clear niche with distinct triggers. However, 'Also covers document parsing and building custom RAG pipelines' overlaps with closely related skills (e.g. a vector-search or document-processing skill), matching 'mostly distinct; minor overlap risk' rather than 5's minimal-conflict anchor.

4 / 5

Total

16

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

relative_links

Relative link issues: 3 suspicious

Warning

Total

14

/

16

Passed

Repository

databricks/databricks-agent-skills

Path

plugins/databricks/claude/skills/databricks-ai-functions/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.