Command Palette

Search for a command to run...

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

data-profiling

БесплатноБез исполняемых скриптовНе проверен

Profile datasets for schema, distributions, nulls, cardinality, outliers, relationships, and data quality.

okou-aiот okou-ai★ 81 звезда на GitHub

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

Structural Reconnaissance

Table-Level Inventory

Start every new dataset encounter by answering these questions:

  • What is the total row and column count?
  • What does each row represent (the grain)?
  • Which column or columns uniquely identify a row?
  • When was the most recent data loaded?
  • What is the earliest date in the dataset?

Classifying Columns by Role

Assign every column to one of these categories:

  • Key: Primary keys, foreign keys, entity identifiers
  • Attribute: Categorical fields used for grouping or filtering (region, status, plan_type)
  • Measure: Numeric fields intended for aggregation (revenue, duration, score)
  • Timestamp: Date or datetime fields (created_at, processed_on, event_date)
  • Free-text: Unstructured strings (descriptions, comments, names)
  • Flag: Binary true/false indicators
  • Nested: JSON blobs, arrays, or embedded structures

Column-Level Inspection

Universal Checks (All Column Types)

  • Null count and null percentage
  • Count of distinct values and cardinality ratio (distinct / total rows)
  • Top 5-10 most frequent values with their occurrence counts
  • Bottom 5 least frequent values (useful for spotting anomalies)

Numeric Measures

Minimum, maximum, mean, median
Standard deviation
Percentile ladder: p1, p5, p25, p75, p95, p99
Count of zeros
Count of negatives (flag if unexpected)

Text and Categorical Fields

Shortest length, longest length, average length
Count of empty strings
Format regularity (do values follow a consistent pattern?)
Case consistency (uniform upper, uniform lower, or mixed?)
Count of values with leading or trailing whitespace

Date and Timestamp Fields

Earliest date, latest date
Count of nulls
Count of future dates (flag if the domain forbids them)
Distribution across months or weeks
Gaps in expected daily/weekly cadence

Boolean Fields

True count, false count, null count
True proportion

Discovering Relationships

After examining columns individually, look for connections:

  • Foreign key candidates: ID columns whose values likely reference another table
  • Hierarchical dimensions: Columns that nest naturally (country > region > city)
  • Correlated measures: Numeric columns that trend together
  • Computed columns: Fields that appear derived from other columns in the same table
  • Duplicated information: Columns that carry identical or near-identical content

Evaluating Data Quality

Completeness Ratings

Assign each column a tier:

  • Full (>99% populated): No action needed
  • Mostly full (95-99%): Investigate the missing values
  • Gaps present (80-95%): Determine whether the gaps are systematic and whether the column is still usable
  • Sparse (<80%): Likely unusable without imputation or supplemental data

Consistency Checks

Scan for:

  • Value normalization failures: The same concept spelled multiple ways ("USA", "US", "United States", "us")
  • Type mismatches: Numerics stored as text, dates in inconsistent formats
  • Broken references: Foreign key values with no matching parent record
  • Rule violations: Negative quantities, end dates preceding start dates, percentages outside 0-100
  • Cross-column contradictions: status = 'shipped' while ship_date is null

Accuracy Warning Signs

Patterns that suggest the data may be unreliable:

  • Sentinel values: 0, -1, 999999, "N/A", "TBD", "test", "xxx"
  • Suspiciously dominant defaults: One value appearing far more often than expected
  • Stale records: The updated_at column shows no recent activity in an active system
  • Physically impossible values: Ages above 150, dates decades in the future, negative durations
  • Rounding artifacts: Disproportionate clustering on multiples of 5 or 10 (implies estimation)

Freshness Assessment

  • What is the timestamp of the most recent row?
  • How often should this table refresh?
  • Is there measurable lag between event occurrence and warehouse arrival?
  • Are there missing days or hours in the time series?

Recognizing Patterns

Distribution Shapes

When profiling a numeric column, classify its shape:

  • Bell-shaped: Mean and median nearly equal; symmetric tails
  • Right-skewed: Long right tail with a few very large values (typical for revenue, session length)
  • Left-skewed: Long left tail with a few very small values (less common)
  • Bimodal: Two distinct peaks (suggests two merged populations)
  • Power-law: A handful of enormous values dominating; many near-zero values (user engagement metrics)
  • Uniform: Roughly flat across the range (often synthetic or randomly generated)

Time-Based Patterns

For any temporal data, investigate:

  • Trend: Persistent upward or downward drift
  • Seasonality: Recurring cycles — weekly, monthly, quarterly, annual
  • Weekday effects: Systematic weekday vs. weekend differences
  • Holiday impacts: Spikes or dips around known holiday
Полный SKILL.md на GitHub

Установить data-profiling в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл data-profiling?

Profile datasets for schema, distributions, nulls, cardinality, outliers, relationships, and data quality.

Как установить скилл data-profiling?

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

Скилл data-profiling запускает скрипты?

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

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

Сравнить data-profiling с