Static Skill Eval - LLM-Based Skill Quality Assessment
Overview
Implement static evaluation of skills using an LLM judge to assess quality without execution.
Concept
An LLM analyzes skill definitions (SKILL.md, prompts, examples) and evaluates them against quality criteria, producing scores and recommendations.
Evaluation Criteria
Core Criteria
| Criteria | Description | Why It Matters |
|---|---|---|
| Self-Contained | Skill provides all necessary context without assuming external knowledge | LLM shouldn't need to "just know" things |
| No Conflicting Information | Instructions are consistent throughout, no contradictions | Conflicting guidance confuses the LLM |
| Security | No hardcoded secrets, dangerous commands have warnings, safe defaults | Prevent accidental security issues |
| LLM-Navigable Structure | Clear headings, logical flow, easy to find relevant sections | LLM can quickly locate what it needs |
| Actionable Instructions | Concrete steps, not vague guidance | "Create a file at X" vs "set things up" |
| Scoped Clearly | Explicit about what the skill does and doesn't do | Prevents misuse or wrong expectations |
Advanced Criteria
| Criteria | Description | Why It Matters |
|---|---|---|
| Tools/CLI Accuracy | All mentioned tools, commands, and APIs actually exist | Prevents hallucinated tool calls |
| Examples Are Valid | Code snippets and examples are syntactically correct | Bad examples lead to bad outputs |
| Error Handling Guidance | What to do when things fail | LLM knows how to recover |
| No Hallucination Triggers | Doesn't mention non-existent features or fake endpoints | Keeps LLM grounded in reality |
Implementation
- Parse skill files (SKILL.md, related prompts, examples)
- Send to LLM with evaluation rubric
- Collect structured scores (1-10) per criteria
- Generate actionable recommendations
- For "Tools/CLI Accuracy": optionally verify against known tool lists
Deliverable
A Python tool/script that:
- Scans skills in the repository
- Evaluates each skill against the rubric
- Outputs scores and recommendations per skill
- Saves metrics to MLflow (scores per criteria, overall score)
Output Format
skill: demo-generator
overall_score: 7.5
criteria:
self_contained: 8
no_conflicts: 9
security: 7
llm_navigable: 8
actionable: 7
scoped: 8
tools_accuracy: 6 # advanced
examples_valid: 7 # advanced
recommendations:
- "Line 45 references 'dbutils.fs.cp' but doesn't explain the parameters"
- "Conflicting guidance: line 12 says 'always use X' but line 89 says 'prefer Y'"
- "Tool 'databricks labs xyz' mentioned but doesn't exist"
- "Missing error handling for pipeline creation failures"
Acceptance Criteria
- [ ] Evaluation rubric defined with all criteria
- [ ] LLM judge prompt created
- [ ] Tool scans and evaluates all skills
- [ ] (Stretch) Tools/CLI verification against known lists
- [ ] MLflow metrics logging implemented
Migrated to databricks/databricks-agent-skills#233 — closing here.
Skill evaluation belongs where the skills live, and they're in databricks/databricks-agent-skills now. I consolidated this with #407 and #408 into a single proposal there rather than filing three separate issues, since that repo currently has no skill-content eval framework at all — its tests/ suite pins plugin and manifest generation only. The new issue offers to split per level if maintainers prefer.
Your static-eval criteria carried over intact. Worth noting the "tools/CLI accuracy" criterion is already earning its keep: two issues open in the new repo right now are exactly that failure mode — a skill documenting a databricks postgres reset-branch command that doesn't exist, and a config key documented nowhere. Both were found by hand, which is the case for building this.
The GEPA + MLflow-judge work under .test/ here is referenced as prior art in the new issue.