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>
970 B
970 B
/lineage-viz - Mermaid 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 Visualization
Usage
/lineage-viz <model_name> [--direction TB|LR] [--depth N]
Workflow
- Get lineage data: Use
dbt_lineageto fetch model dependencies - Build Mermaid graph: Apply node shapes from
skills/lineage-analysis.md - Output: Render copy-paste ready Mermaid flowchart
Options
| Flag | Description |
|---|---|
--direction TB |
Top-to-bottom layout (default: LR) |
--depth N |
Limit lineage depth |
Examples
/lineage-viz dim_customers
/lineage-viz fct_orders --direction TB
/lineage-viz rpt_revenue --depth 2
Required MCP Tools
dbt_lineage- Get model dependencies (REQUIRED)dbt_ls- List dbt resourcesdbt_docs_generate- Generate full manifest if needed