ai-dev-kit icon indicating copy to clipboard operation
ai-dev-kit copied to clipboard

Add 'Use when' trigger phrase to databricks-ai-functions skill description

Open calreynolds opened this issue 8 months ago • 1 comments

Per commit d203d15 ("add trigger phrases to skill descriptions per Anthropic's official guide"), all skill descriptions should include "Use when" trigger phrases so Claude knows when to activate them.

databricks-ai-functions has a detailed description listing functions but no "Use when" clause.

Keep the addition concise — a single "Use when" sentence appended to the existing description. See databricks-docs for a good minimal example.

File: databricks-skills/databricks-ai-functions/SKILL.md (frontmatter description field)

calreynolds avatar Mar 18 '26 14:03 calreynolds

Fixed in the PR for #338. Added a "Use when" sentence to the description:

Use when classifying text, extracting entities, summarizing content, redacting PII, translating languages, scoring sentiment, comparing text similarity, parsing documents, forecasting time series, or adding any AI capability to a SQL or PySpark pipeline.

Also added a "Use when" phrase to databricks-dbsql which had the same gap. Both descriptions stay well under the 1024-char limit. Our new CI quality warnings now flag any skill missing "Use when" triggers going forward.

Praneeth16 avatar Mar 24 '26 14:03 Praneeth16