Databricks data quality observability

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Databricks data quality observability is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill to design and verify data quality expectations, table constraints, Lakehouse Monitoring, freshness detection, event-log interrogation, quality SLAs, and downstream quality signaling for Lakeflow pipelines. Reads pipeline source, table schema, expectations, monitor configuration, and e

How to use this skill

Skill file

databricks-data-quality-observability

Purpose

This skill decides whether a Lakeflow pipeline's quality is visible, measurable, and actionable. Quality is verifiable only when expectations are declared with violation modes matching risk, table constraints are appropriate (enforced vs informational), Lakehouse Monitoring profiles the table and detects drift, freshness is monitored with a learned baseline, event logs are interrogated for lineage and results, quality SLAs are explicit and communicated to consumers, and quality evidence surfaces downstream.

When to use

When NOT to use

Scope

Decision workflow

  1. Establish the pipeline's source, target tables, and known quality requirements — refuse if missing.
  2. Audit expectations: identify all expectations, their violation modes (warn/drop/fail), and whether the modes match the risk profile.
  3. Audit table constraints: confirm NOT NULL and CHECK are declared (enforced); confirm primary/foreign/unique are used only as informational hints, not relying on them for correctness.
  4. Verify Lakehouse Monitoring: confirm a monitor is configured for each target table; check which columns are profiled; confirm drift metrics and distance measures align to the domain.
  5. Assess freshness and staleness: confirm a monitor is configured for freshness anomaly detection; understand the learned staleness threshold; verify the SLA is based on learned baselines, not hardcoded wall-clock times.
  6. Review event-log interrogation: identify which event types are queried for quality results; confirm flow_progress events are used for data-quality data; verify the pipeline's event log is retained and accessible (60-day retention).
  7. Validate quality SLA and alerting: confirm the SLA is explicit and documented; verify alerting is configured when breached; confirm the SLA is communicated to downstream consumers.
  8. Check downstream quality signaling: identify what quality metrics or constraint satisfaction is published to downstream consumers; verify evidence is actionable.

Lean operating rules

Evidence requirements

No recommendation is issued before the evidence below exists. When it is missing, name the smallest artifact that would supply it and stop.

Context7 MCP policy

Context7 supplies current, version-specific library and SDK documentation. It does not establish Databricks service behaviour — Databricks' own documentation does. Use it exactly when:

If Context7 is not exposed in the session, say so and label every version-sensitive claim unknown rather than answering from memory. Never state that Context7 was consulted when it was not, and never assume an MCP server or tool name.

Official documentation policy

Databricks service semantics come from current Databricks documentation, not from memory, blog posts, conference talks, or release-note summaries. Where the behaviour differs by cloud (AWS / Azure / GCP), name the cloud the claim applies to. Where a feature is Public Preview or Beta, say so on first mention and never describe it as a production default. Anything that cannot be grounded stays out of the answer and is reported as an open question.

Security boundaries

Runtime authority

T0 (static review only). Reads pipeline source, table schema, expectations, monitor configuration, and event-log query patterns; never executes pipelines, never modifies expectations or monitors, never accesses customer data, and never mutates production state. Review findings are recommendations only and require explicit human judgment before any production change.

Authority tiers used across this board: T0 static review (read artifacts only); T1 read-only runtime (allowlisted read-only queries against a workspace, no writes); T2 sandbox-mutating (dry-run or non-production only); T3 mutating-runtime (changes production state — human-approved live guards only). This skill never raises its own tier, and never hands a task to a higher tier without an explicit named human owner.

Production caveats

References

Progressive disclosure — load only the one the task needs:

Response minimum

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.