Command Palette

Search for a command to run...

Назад к скиллам
скилл № 44232

validate

Validate .view.yml semantic layer files using airlayer. Use when the user creates or modifies view files and wants to check for errors.

БесплатноБез исполняемых скриптов
oxy-hqот oxy-hq★ 32 звезды на GitHub

Установить validate в Claude Code и Claude Desktop

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

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

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

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

airlayer Validate — Check Semantic Layer Files

Validate .view.yml files for correctness.

Prerequisites

which airlayer || cargo install --git https://github.com/oxy-hq/airlayer

Find and validate

  1. Locate the base directory containing views/:
find . -name "*.view.yml" -not -path "*/node_modules/*" -not -path "*/cube/*" 2>/dev/null | head -10
  1. Run validation:
airlayer validate

$ARGUMENTS

What it checks

  • All views have either table or sql (not both, not neither)
  • No duplicate view names
  • Entity key references point to existing dimensions
  • Dimension/measure types are valid
  • Cross-entity references ({{entity.field}}) resolve correctly
  • Measure-to-measure references ({{view.measure}}) resolve correctly

On error

Show the user the validation error and the relevant section of the .view.yml file. Suggest a fix.

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

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

  1. 01Bash
  2. 02Read
  3. 03Glob

FAQ

Что делает скилл validate?

Validate .view.yml semantic layer files using airlayer. Use when the user creates or modifies view files and wants to check for errors.

Как установить скилл validate?

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

Скилл validate запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить validate с