Data Analytics Engineering logo

Data Analytics Engineering

Community
vasilyu1983
data-analytics-engineering

Builds analytics engineering layers for metrics, contracts, and BI-ready models. Use when shaping dbt or SQLMesh marts, metric governance, lineage, or data quality.

Overview

Publishervasilyu1983
RepositoryAI-Agents-public
Skill namedata-analytics-engineering
Stars
87
Forks
19
Bundled files
26
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 26 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by vasilyu1983 on GitHub. Read the source before you install it.

Installation

Install the Data Analytics Engineering AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/data-analytics-engineering .claude/skills/data-analytics-engineering
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Data Analytics Engineering in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Data Analytics Engineering on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Data Analytics Engineering is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Data Analytics Engineering

Code-defined marts, metrics as APIs, contracts on critical interfaces, semantic layers only where they improve reuse or AI/BI consumption, and metadata systems that expose owners, lineage, quality, and governance to both humans and agents.

Primary sources: data/sources.json. Refresh time-sensitive claims against official docs before giving definitive recommendations.

When to Use

  • Choose or improve an analytics engineering stack (dbt, SQLMesh, Coalesce)
  • Define marts, grains, dimensions, facts, wide tables, or activity schemas
  • Design or migrate a semantic layer (dbt Semantic Layer, Lightdash, Cube, warehouse-native)
  • Add data contracts, metric governance, ownership, catalogs, and lineage
  • Build data quality checks, freshness monitoring, anomaly detection, and release gates
  • Prepare BI-ready models for dashboards, notebooks, APIs, or AI/NLQ analytics

When NOT to Use

  • Lakehouse or ingestion architecture -> data-lake-platform
  • Product/event instrumentation, attribution, or identity resolution -> marketing-product-analytics
  • OLTP tuning, indexes, locks, or transactional database operations -> data-sql-optimization
  • Metabase API automation -> data-metabase
  • ML feature engineering, experiments, or model evaluation -> ai-ml-data-science

Triage Checklist

Run through these before any recommendation:

  • What are the canonical business metrics and who owns each one?
  • Serving requirements: dashboards, notebooks, APIs, embedded analytics, or AI/NLQ?
  • Transformation baseline: dbt, SQLMesh, visual tooling, or warehouse SQL only?
  • Which datasets are contract-worthy (downstream consumers depend on schema, freshness, semantics)?
  • Semantic layer needed, or are well-governed marts sufficient today?
  • Which metadata systems already cover catalog, lineage, ownership, access, and quality?

Stack Status (July 2026)

ToolStatusKey 2026 Fact
dbt Corev2.0 in alpha; open source, Apache 2.0, built on Fusion foundationsUpgrade guide
dbt FusionGA on Snowflake (dbt platform); preview on BigQuery/Redshift; private preview on Databricks; no GA date confirmed yetNew dbt-platform projects default to Fusion; local/CLI Fusion still preview across adapters
dbt + SDFSDF Labs acquired Jan 2025; Rust SQL compiler is now the Fusion engineEnables column-level lineage and typed SQL
MetricFlowOpen sourced Apache 2.0 (Oct 2025, v0.209+); latest v0.211 (May 12, 2026)Anchors the Open Semantic Interchange (OSI) v1.0 spec (Jan 2026) with Snowflake, Databricks, Salesforce, ThoughtSpot, Atlan, Alation, Denodo
SQLMeshContributed to Linux Foundation by Fivetran (announced March 25, 2026, KubeCon EU); Apache 2.0Fivetran acquired SQLMesh's creator, Tobiko Data, in Sept 2025; founding LF members include Benzinga, CloudKitchens, Harness, Infinite Lambda, Jump AI, Minerva

Verify GA/preview status per adapter before recommending a Fusion cutover — it changes monthly; treat the table above as directional, not a substitute for the Fusion availability page.

Default Workflow

  1. Lock the metric contract first — define KPI names, business logic, grain, owner, and dimensions in assets/metric-dictionary.md
  2. Choose one transformation baseline — standardize on dbt or SQLMesh before debating semantic-layer tooling (references/tool-comparison.md)
  3. Model for consumption — build staging -> intermediate -> marts layers, pick final shape (star, wide, or activity schema) with references/modeling-patterns.md
  4. Add contracts on critical interfaces — enforce schema, ownership, freshness, and quality expectations (references/contracts-catalogs-lineage.md)
  5. Choose semantic serving only where it pays off — use references/semantic-layer-patterns.md to decide between dbt-native, Lightdash, Cube, or warehouse-native
  6. Add release-safe quality controls — static tests, freshness, audits, anomaly monitoring (references/data-quality-testing.md and references/release-and-ci-patterns.md)
  7. Publish discoverability and governance — catalog assets, lineage, owners, and change notices (references/metric-governance.md and assets/ownership-catalog-worksheet.md)

Decision: Choose Transformation Baseline

text
What does your team care about most?
  Plan-based deployment, environment isolation, backfill control
    -> SQLMesh (now Linux Foundation / Apache 2.0)
  Broadest ecosystem, contracts, semantic layer, dbt-native CI
    -> dbt (Core v2 alpha or dbt platform with Fusion)
  Visual metadata-driven development, enterprise onboarding speed
    -> Coalesce
  Already on dbt and want faster compile + typed SQL
    -> Upgrade to dbt Fusion (GA on Snowflake; preview elsewhere)

Decision: Add a Semantic Layer?

text
Are the same business metrics reimplemented in 3+ places?
  NO -> Governed marts only; revisit when the answer flips to YES
  YES ->
    Most consumers are dbt-native?
      YES -> dbt Semantic Layer (MetricFlow) or Lightdash
    Need embedded analytics or product-facing APIs?
      YES -> Cube
    Single warehouse platform?
      Snowflake -> Snowflake Semantic Views
      Databricks -> Unity Catalog Metric Views
    Consumers need a business-friendly metric catalog as much as a query layer?
      YES -> Lightdash (or semantic layer + OpenMetadata/DataHub catalog)

Quick Reference

TaskResourceWhen to Load
Choose dbt vs SQLMesh vs Coalescereferences/tool-comparison.mdNew stack selection or migration
Pick star vs wide vs activity schemareferences/modeling-patterns.mdDesigning marts and semantic boundaries
Decide whether to add a semantic layerreferences/semantic-layer-patterns.mdMetrics reuse, NLQ, API, or BI serving
Add contracts, ownership, lineage, catalogreferences/contracts-catalogs-lineage.mdShared marts and governed datasets
Add tests, audits, anomaly checks, CI gatesreferences/data-quality-testing.mdPrevent regressions and stale data
Define metric lifecycle and deprecationreferences/metric-governance.mdExecutive metrics and shared KPI programs
Plan rollout, dual-run, backfillsreferences/release-and-ci-patterns.mdSafe deployment and migration
PII separation, vault pattern, pseudonymisationreferences/pii-vault-and-pseudonymisation.mdLLM/AI-facing query surfaces or GDPR scope
Draft metric definitionsassets/metric-dictionary.mdNew KPIs or metric refactors
Draft semantic layer designassets/semantic-layer-spec.mdServing layer design review
Draft quality coverageassets/data-quality-test-plan.mdModel-by-model test planning
Communicate metric changesassets/metric-change-notice.mdBreaking or non-breaking metric updates
Document owners and catalog fieldsassets/ownership-catalog-worksheet.mdGovernance and discoverability setup
Migrate to a semantic layerassets/semantic-layer-migration-checklist.mdAd-hoc SQL to governed metrics
Handle data quality incidentsassets/data-quality-incident-runbook.mdFailures, stale data, or contract breaks

CI/CD Quality Gate Checklist

dbt projects (PR checks):

bash
dbt deps
dbt parse
dbt build --select state:modified+
  • No contracted model failures
  • Freshness checks pass for critical sources
  • Comparison queries run for executive KPI changes
  • Schema tests pass on all mart models
  • Anomaly monitoring shows no new alerts post-deploy

SQLMesh projects (PR/preview checks):

bash
sqlmesh plan --no-prompts dev
sqlmesh test
sqlmesh audit --models state:modified+
  • Plan diff reviewed before apply
  • Unit tests pass locally (no warehouse compute consumed)
  • Audits pass on changed models
  • Forward-only or backfill scope confirmed before deploy

Operating Principles

  1. Metrics are APIs — stable names, clear owners, versioned changes, explicit deprecation windows; do not change KPI semantics silently.
  2. One model, one grain — a mart must have one unambiguous grain; create a separate model for a different grain instead of mixing.
  3. Contracts on shared interfaces — required for executive marts, handoff tables, and models used by many teams; do not contract every transient staging model.
  4. Semantic layers are optional — add when multiple consumers need governed reuse, NLQ/AI access, or product-grade metric APIs; skip when well-governed marts are enough.
  5. Metadata serves humans and agents — require descriptions, owners, lineage, quality status, and access boundaries on high-value assets.

Common Anti-Patterns

Anti-PatternRoot CauseFix
KPI logic in dashboards or notebooksNo governed martDefine in mart or semantic model first
Multiple grains in one martDashboard convenienceCreate separate models per grain
Contracts on every staging modelMisapplied governanceContract only shared, high-stakes interfaces
Semantic layer before marts are stablePremature abstractionStabilize marts before defining entities/measures
Same 360 table for every requestNo modeling disciplineOne model, one grain, one purpose
Allowing AI/NLQ access to undocumented martsMissing metadataRequire grain, owner, freshness contract before AI access

Known Traps

  • Slowly changing dimensions leaking into KPI joins and silently changing historical numbers.
  • Metric refactors that change semantics without a notice, owner sign-off, or deprecation window.
  • Identity stitching, attribution, and semantic metrics coexisting without explicit precedence rules.
  • Assuming a semantic layer removes the need for release discipline, data tests, and change communication.
  • Fan-out duplication: joining a fact to a dimension with a hidden one-to-many relationship (e.g. multiple addresses per customer, multiple attribution touches per order) silently multiplies additive measures. Check row counts before and after every join added to a mart, not just at the end.
  • Non-additive measures in semantic layers: ratios, distinct counts, and percentiles do not roll up by simple summation across dimensions. A semantic layer that lets consumers slice a pre-computed ratio by a new dimension will produce a plausible but wrong number unless the measure is defined to recompute from its base components at query time.
  • SCD Type 2 joins without effective-dating: joining a fact table to a dimension's current row (instead of the row valid at the fact's event time) rewrites history every time a dimension attribute changes — a common source of "the numbers changed even though nothing happened this month."
  • Backfills without idempotency: a backfill or reprocessing job that appends instead of replacing (or lacks a natural dedup key) creates silent double-counting that structural uniqueness tests may not catch if the test only runs on the latest partition.
  • Timezone/DST drift in freshness SLAs: freshness windows defined in wall-clock local time break twice a year and near midnight UTC boundaries; define freshness thresholds in UTC and treat calendar-day grain as a modeling decision, not an accident of the source system's timestamp.
  • Simpson's paradox in aggregated KPIs: an org-wide metric can move in the opposite direction of every underlying segment when segment mix shifts; before alerting on a KPI's overall trend, check whether segment-level trends actually agree with it.

Scripts

ScriptPurpose
scripts/analytics_linter.pyValidate, lint, and health-score a metric dictionary JSON file
bash
# Validate required fields, duplicate names, and undefined data sources
python scripts/analytics_linter.py validate --input data/valid-metric-dictionary.json

# Lint metric quality: missing owners, undocumented dimensions, naming, SLAs
python scripts/analytics_linter.py lint --input data/valid-metric-dictionary.json

# Generate a Markdown metric dictionary health report
python scripts/analytics_linter.py report \
  --input data/sample-metric-dictionary.json \
  --output metric-health-report.md

Data

FileDescription
data/sources.jsonCurated reference sources for this skill
data/valid-metric-dictionary.jsonProduction-valid 15-metric dictionary for smoke tests and quickstart examples
data/sample-metric-dictionary.jsonRealistic 15-metric dictionary with intentional gaps for linting demos

Navigation

FileLoad When
references/tool-comparison.mdChoosing or comparing dbt, SQLMesh, Coalesce, or semantic-layer tools
references/modeling-patterns.mdDesigning mart layers, grain, star/wide/activity schemas
references/semantic-layer-patterns.mdDeciding on and implementing a semantic serving layer
references/contracts-catalogs-lineage.mdAdding data contracts, catalog metadata, and lineage on shared assets
references/data-quality-testing.mdBuilding test suites, freshness checks, and anomaly monitoring
references/metric-governance.mdGoverning, versioning, and deprecating shared KPIs
references/release-and-ci-patterns.mdCI/CD pipelines, dual-run validation, backfills, safe cutovers
references/pii-vault-and-pseudonymisation.mdSeparating PII from analytical facts for LLM/AI or GDPR-scoped surfaces
references/causal-inference-applied.mdDAG-driven feature selection, DML, observational ATE estimation
references/information-theory-applied.mdMI feature selection, KL drift detection, MDL clustering
references/theory-of-constraints-applied.mdPipeline lag isolation, capacity reallocation, approval-queue debug
references/network-science-applied.mdCentrality, PageRank, community detection applied to lineage graphs

Templates

  • assets/metric-dictionary.md
  • assets/semantic-layer-spec.md
  • assets/data-quality-test-plan.md
  • assets/metric-change-notice.md
  • assets/ownership-catalog-worksheet.md
  • assets/semantic-layer-migration-checklist.md
  • assets/data-quality-incident-runbook.md

Related Skills

  • data-lake-platform — ingestion, table formats, orchestration, data mesh
  • data-sql-optimization — transactional SQL performance and operational tuning
  • marketing-product-analytics — event instrumentation and acquisition measurement
  • data-metabase — Metabase automation and dashboard scripting
  • ai-ml-data-science — experimentation and modeling workflows

Current-Source Policy

  • Prefer trust_tier: primary entries in data/sources.json for vendor capabilities, syntax, pricing, limits, and release-sensitive recommendations.
  • For recommendation questions, refresh against current official docs and recent release notes.
  • Separate verified facts from judgment calls; label strategic opinions explicitly.
  • If web access is unavailable, state that the recommendation is partially unverified.

Fact-Checking

  • Use web search/web fetch to verify current external facts, versions, pricing, deadlines, or platform behavior before final answers.
  • Prefer primary sources; report source links and dates for volatile information.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Data Analytics Engineering AI skill do?

Builds analytics engineering layers for metrics, contracts, and BI-ready models. Use when shaping dbt or SQLMesh marts, metric governance, lineage, or data quality.

Why use Data Analytics Engineering on TypingMind?

Because you install it once and use it with any model. Data Analytics Engineering is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Data Analytics Engineering in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/data-analytics-engineering. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Data Analytics Engineering?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Data Analytics Engineering?

As many as you like. As long as a model supports skills, you can use Data Analytics Engineering with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Data Analytics Engineering AI skill free?

Yes. It is published on GitHub by vasilyu1983 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇