profile
Profile dimensions in the semantic layer to discover data values, ranges, and cardinality. Use when the user wants to understand what data is in a dimension…
от oxy-hq★ 32 звезды на GitHub
Установить profile в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Profile Dimensions
You are running type-aware data profiling through airlayer to discover what's in the database.
Usage
# Profile all dimensions in a view
airlayer inspect --profile <view_name> --config <config.yml>
# Profile a single dimension
airlayer inspect --profile <view_name>.<dimension_name> --config <config.yml>
Output by type
String dimensions (cardinality ≤ 100 → full value list; >100 → top 20):
{
"member": "orders.status",
"type": "string",
"profile": {
"cardinality": 4,
"total_rows": 1000,
"null_count": 0,
"values": ["completed", "pending", "cancelled", "returned"],
"top_values": [
{"value": "completed", "count": 650},
{"value": "pending", "count": 200},
{"value": "cancelled", "count": 100},
{"value": "returned", "count": 50}
]
}
}
Number dimensions:
{
"member": "orders.amount",
"type": "number",
"profile": {
"min": 0, "max": 999.99, "mean": 45.67,
"distinct_count": 150, "null_count": 5, "total_rows": 1000
}
}
Date/datetime dimensions:
{
"member": "orders.created_at",
"type": "datetime",
"profile": {
"min": "2024-01-01T00:00:00Z", "max": "2025-06-15T23:59:59Z",
"null_count": 0, "total_rows": 1000
}
}
Boolean dimensions:
{
"member": "orders.is_active",
"type": "boolean",
"profile": {
"true_count": 800, "false_count": 195,
"null_count": 5, "total_rows": 1000
}
}
When to profile
- After bootstrapping: Verify the generated views reflect the actual data
- Before writing filters: Discover valid filter values instead of guessing
- When debugging: Check if a dimension has nulls, unexpected values, or wrong cardinality
- To understand data freshness: Date ranges show how current the data is
Tips
- High-cardinality string dimensions (>100 values) only show the top 20 by frequency — this tells you it's not an enumerable field
- Profile output uses the
exprfrom the view, so it reflects any transformations (e.g.,LOWER(status)) - Profiling requires a database connection (
--config) and anexec-*feature flag
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл profile?
Profile dimensions in the semantic layer to discover data values, ranges, and cardinality. Use when the user wants to understand what data is in a dimension, find valid filter values, or validate view definitions against actual data.
Как установить скилл profile?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл profile запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…