Przejdź do treści
Biblioteka skilli
Dane i analityka · Analiza

profile

/profile

Profiluje wymiary w warstwie semantycznej: wartości, zakresy i liczność, żeby znaleźć poprawne filtry i sprawdzić definicje widoków.

Repozytorium
airlayer ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
24.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Profiluje wymiary w warstwie semantycznej: wartości, zakresy i liczność, żeby znaleźć poprawne filtry i sprawdzić definicje widoków.

Oryginalny opis (EN)

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.

Jak działa

  1. Usage
  2. Output by type
  3. When to profile
  4. Tips
Sekcje z nagłówków SKILL.md, w oryginale · 86 linii, 275 słów
Podgląd SKILL.md
---
name: profile
description: 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 Dimensions

You are running type-aware data profiling through airlayer to discover what's in the database.

## Usage

```bash
# 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):
```json
{
  "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**:
```json
{
  "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**:
```json
{
  "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**:
```json
{
  "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 `expr` from the view, so it reflects any transformations (e.g., `LOWER(status)`)
- Profiling requires a database connection (`--config`) and an `exec-*` feature flag

Wersje

RepozytoriumWynikLicencja
Ta strona · oxy-hq/airlayer100Apache-2.0
winchxyz/idea-to-build90MIT
Borda/AI-Rig87Apache-2.0
tony/skills85MIT
cardstack/boxel84MIT

Migawka bazy z 28.10.2026 · wersja paczki 27bc33f45b3e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100cja-dimension-analysis
    Analizuje wymiary w CJA: kardynalność, rozkład i skośność, trendy, anomalie, błędy jakości danych, porównania i prognozy, w tym pytania o najpopularniejsze wartości i stan wymiaru.
  • 90semantic-model-builder
    Buduje uporządkowaną dokumentację warstwy semantycznej dla metryk, wymiarów i encji, w tym definicje YAML zgodne z dbt Semantic Layer.
  • 100query
    Wykonuje zapytania semantyczne do bazy przez airlayer, testuje definicje widoków i sprawdza wyniki zapytań.
  • 90semantic-layer-and-metric-governance
    Prowadzi przez projektowanie warstwy semantycznej i wspólnych metryk: definicje metryk biznesowych, współdzielone wymiary i zarządzane kontrakty metryk dla dashboardów i innych zespołów.
  • 100explore-data
    Profiluje zbiór danych: kształt, jakość i wzorce, w tym braki, rozkłady kolumn, duplikaty i podejrzane wartości.
  • 100profile-dataset
    Tworzy profil pokrycia i jakości zbioru danych Narrative: liczba wierszy, wypełnienie kolumn, kardynalność, zakresy, najczęstsze wartości i flagi jakości.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.