build-data-spec

Scan dbt codebase to generate a Markdown data spec of events, models, and columns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Lightricks/ltx-analytics-agents --skill build-data-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-data-spec
Source: https://github.com/Lightricks/ltx-analytics-agents/tree/main/.claude/skills/build-data-spec
Command: npx skills add https://github.com/Lightricks/ltx-analytics-agents --skill build-data-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds a ready-to-use data spec by scanning the dbt codebase to identify relevant events, models, and columns and produce a ready-to-use Markdown reference for analytics work.

Core Features & Use Cases

  • Discover and document events, models, and their columns across the data layer.
  • Generate a complete data spec that can be used as a living reference for analysts and agents.
  • Ideal for starting a new analysis, documenting events for a feature/domain, or providing a reference for teammates.

Quick Start

Output a Markdown data spec to ~/ltx-analytics-agents/docs/{feature}_spec.md by running the skill against the target repository.

Frequently Asked Questions about build-data-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate documentation for analytics events and dbt models?

You generate dbt documentation by scanning your SQL and YAML definitions to identify analytics events, models, and columns, then producing a ready-to-use Markdown data spec for your repository.

What is a data spec and when do I need one for dbt analysis?

A data spec is a Markdown reference documenting events, models, and columns across your data layer. You need one when starting a new dbt analysis, documenting a feature domain, or creating a reference for analysts.

How do I document event models and columns from my dbt codebase?

Document dbt event models by reading the SQL and YAML definitions across your base, intermediate, and mart layers. The skill reads the codebase and writes a structured Markdown spec to your docs directory.

Does the build-data-spec skill work with existing dbt SQL and YAML files?

Yes, the skill works directly with existing dbt SQL and YAML files. It reads the event registry, macros, and model definitions from your repository to extract and document the relevant analytics columns.

Can I create a reference data spec for analysts from my dbt transforms repository?

Yes, you can create a reference data spec by running the skill against your entire dbt transforms repository. It outputs a Markdown file to your analytics docs directory for analysts and agents to use.

What's the best way to document a feature domain across dbt models?

The best way to document a feature domain is to scan all related dbt models and event registries in your codebase, automatically extracting columns and definitions to generate a comprehensive Markdown spec.