Files
leo-claude-mktplace/plugins/data-platform/commands/lineage.md
lmiranda 7c8a20c804 refactor: extract skills from commands across 8 plugins
Refactored commands to extract reusable skills following the
Commands → Skills separation pattern. Each command is now <50 lines
and references skill files for detailed knowledge.

Plugins refactored:
- claude-config-maintainer: 5 commands → 7 skills
- code-sentinel: 3 commands → 2 skills
- contract-validator: 5 commands → 6 skills
- data-platform: 10 commands → 6 skills
- doc-guardian: 5 commands → 6 skills (replaced nested dir)
- git-flow: 8 commands → 7 skills

Skills contain: workflows, validation rules, conventions,
reference data, tool documentation

Commands now contain: YAML frontmatter, agent assignment,
skills list, brief workflow steps, parameters

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 17:32:24 -05:00

774 B

/lineage - Data Lineage Visualization

Skills to Load

  • skills/lineage-analysis.md
  • skills/mcp-tools-reference.md
  • skills/visual-header.md

Visual Output

Display header: DATA-PLATFORM - Lineage

Usage

/lineage <model_name> [--depth N]

Workflow

  1. Get lineage data: Use dbt_lineage for dbt models
  2. Build lineage graph: Identify upstream sources and downstream consumers
  3. Visualize: ASCII tree with depth levels (see skills/lineage-analysis.md)
  4. Report: Full dependency chain and refresh implications

Examples

/lineage dim_customers
/lineage fct_orders --depth 3

Required MCP Tools

  • dbt_lineage - Get model dependencies
  • dbt_ls - List dbt resources
  • dbt_docs_generate - Generate full manifest