Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skill-test

БесплатноЗапускает вложенные скриптыНе проверен

Testing framework for evaluating Databricks skills. Use when building test cases for skills, running skill evaluations, comparing skill versions, or creating…

databricks-solutionsот databricks-solutions★ 2 000 звёзд на GitHub

Об этом скилле

Databricks Skills Testing Framework

Offline YAML-first evaluation with human-in-the-loop review and interactive skill improvement.

Quick References

/skill-test Command

The /skill-test command provides an interactive CLI for testing Databricks skills with real execution on Databricks.

Basic Usage

/skill-test <skill-name> [subcommand]

Subcommands

Subcommand Description
run Run evaluation against ground truth (default)
regression Compare current results against baseline
init Initialize test scaffolding for a new skill
add Interactive: prompt -> invoke skill -> test -> save
add --trace Add test case with trace evaluation
review Review pending candidates interactively
review --batch Batch approve all pending candidates
baseline Save current results as regression baseline
mlflow Run full MLflow evaluation with LLM judges
trace-eval Evaluate traces against skill expectations
list-traces List available traces (MLflow or local)
scorers List configured scorers for a skill
scorers update Add/remove scorers or update default guidelines
sync Sync YAML to Unity Catalog (Phase 2)

Quick Examples

/skill-test databricks-spark-declarative-pipelines run
/skill-test databricks-spark-declarative-pipelines add --trace
/skill-test databricks-spark-declarative-pipelines review --batch --filter-success
/skill-test my-new-skill init

See Workflows for detailed examples of each subcommand.

Execution Instructions

Environment Setup

uv pip install -e .test/

Environment variables for Databricks MLflow:

  • DATABRICKS_CONFIG_PROFILE - Databricks CLI profile (default: "DEFAULT")
  • MLFLOW_TRACKING_URI - Set to "databricks" for Databricks MLflow
  • MLFLOW_EXPERIMENT_NAME - Experiment path (e.g., "/Users/{user}/skill-test")

Running Scripts

All subcommands have corresponding scripts in .test/scripts/:

uv run python .test/scripts/{subcommand}.py {skill_name} [options]
Subcommand Script
run run_eval.py
regression regression.py
init init_skill.py
add add.py
review review.py
baseline baseline.py
mlflow mlflow_eval.py
scorers scorers.py
scorers update scorers_update.py
sync sync.py
trace-eval trace_eval.py
list-traces list_traces.py
_routing mlflow routing_eval.py

Use --help on any script for available options.

Command Handler

When /skill-test is invoked, parse arguments and execute the appropriate command.

Argument Parsing

  • args[0] = skill_name (required)
  • args[1] = subcommand (optional, default: "run")

Subcommand Routing

Subcommand Action
run Execute run(skill_name, ctx) and display results
regression Execute regression(skill_name, ctx) and display comparison
init Execute init(skill_name, ctx) to create scaffolding
add Prompt for test input, invoke skill, run interactive()
review Execute review(skill_name, ctx) to review pending candidates
baseline Execute baseline(skill_name, ctx) to save as regression baseline
mlflow Execute mlflow_eval(skill_name, ctx) with MLflow logging
scorers Execute scorers(skill_name, ctx) to list configured scorers
scorers update Execute scorers_update(skill_name, ctx, ...) to modify scorers

init Behavior

When running /skill-test <skill-name> init:

  1. Read the skill's SKILL.md to understand its purpose
  2. Create manifest.yaml with appropriate scorers and trace_expectations
  3. Create empty ground_truth.yaml and candidates.yaml templates
  4. Recommend test prompts based on documentation examples

Follow with /skill-test <skill-name> add using recommended prompts.

Context Setup

Create CLIContext with MCP tools before calling any command. See Python API for details.

File Locations

Important: All test files are stored at the repository root level, not relative to this skill's directory.

File Type Path
Ground truth {repo_root}/.test/skills/{skill-name}/ground_truth.yaml
Candidates {repo_root}/.test/skills/{skill-name}/candidates.yaml
Manifest {repo_root}/.test/skills/{skill-name}/manifest.yaml
Routing tests {repo_root}/.test/skills/_routing/ground_truth.yaml
Bas
Полный SKILL.md на GitHub

Установить skill-test в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CUSTOMIZATION_GUIDE.mdREADME.mdTECHNICAL.mdbaselines/databricks-agent-bricks/baseline.yamlbaselines/databricks-aibi-dashboards/baseline.yamlbaselines/databricks-apps-python/baseline.yamlbaselines/databricks-bundles/baseline.yamlbaselines/databricks-genie/baseline.yamlbaselines/databricks-model-serving/baseline.yamlbaselines/databricks-python-sdk/baseline.yamlbaselines/databricks-spark-declarative-pipelines/baseline.yamlbaselines/databricks-synthetic-data-gen/baseline.yamlbaselines/databricks-zerobus-ingest/baseline.yamleval-criteria/general-quality/SKILL.mdeval-criteria/sql-correctness/SKILL.mdeval-criteria/sql-correctness/references/DATABRICKS_SQL_PATTERNS.mdeval-criteria/tool-selection/SKILL.mdeval-criteria/tool-selection/references/MCP_TOOL_GUIDE.mdinstall_skill_test.shnotebooks/gepa_skill_optimization_demo.ipynbpyproject.tomlreferences/python-api.mdreferences/scorers.mdreferences/trace-eval.mdreferences/workflows.mdreferences/yaml-schemas.mdscripts/_common.pyscripts/add.pyscripts/add_example.pyscripts/baseline.pyscripts/generate_examples.pyscripts/generate_ground_truth.pyscripts/init_skill.pyscripts/list_traces.pyscripts/mlflow_eval.pyscripts/optimize.pyscripts/regression.pyscripts/review.pyscripts/routing_eval.pyscripts/run_app_eval.py

FAQ

Что делает скилл skill-test?

Testing framework for evaluating Databricks skills. Use when building test cases for skills, running skill evaluations, comparing skill versions, or creating ground truth datasets with the Generate-Review-Promote (GRP) pipeline. Triggers include "test skill", "evaluate skill", "skill regression", "ground truth", "GRP pipeline", "skill quality", and "skill metrics".

Как установить скилл skill-test?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skill-test запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить skill-test с