Skip to content

feat: star-schema-advisor slash command #3500

@cristinabaldor

Description

@cristinabaldor

Summary

Build the /star-schema-advisor Claude Code slash command to help analysts triage rpt_tableau__* reporting views during the star schema migration.

The tool:

  1. Parses every field in a chosen reporting view alongside how it is actually used in viz (dimension or aggregated measure)
  2. Produces a field-by-field verdict: dim, fact, semantic layer, recreate in BI, ambiguous, or skip
  3. Writes a shareable markdown report that serves as the analyst review artifact and a persistent semantic layer queue for a future /cube-measure-generator command
  4. Applies approved dbt mart changes (adding columns to existing models or drafting new ones), leaving all mart files unstaged for analyst review

Deliverables

  • scripts/tableau-analyze-workbook.py — standalone Tableau XML parser; replaces scripts/tableau-extract-calcs.py
  • .claude/commands/star-schema-advisor.md — slash command workflow
  • docs/superpowers/star-schema-reports/ — per-run report directory
  • tests/scripts/test_tableau_analyze_workbook.py + fixtures

Spec & Plan

  • Spec: docs/superpowers/specs/2026-03-20-star-schema-advisor-design.md
  • Plan: docs/superpowers/plans/2026-03-20-star-schema-advisor.md

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions