Files
leo-claude-mktplace/plugins/data-platform/commands/initial-setup.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

1.2 KiB

/initial-setup - Data Platform Setup Wizard

Skills to Load

  • skills/setup-workflow.md
  • skills/visual-header.md

Visual Output

Display header: DATA-PLATFORM - Setup Wizard

Usage

/initial-setup

Workflow

Execute skills/setup-workflow.md phases in order:

Phase 1: Environment Validation

  • Check Python 3.10+ installed
  • Stop if version too old

Phase 2: MCP Server Setup

  • Locate MCP server (installed or source path)
  • Check/create virtual environment
  • Install dependencies if needed

Phase 3: PostgreSQL Configuration (Optional)

  • Ask user if they want PostgreSQL access
  • If yes: create ~/.config/claude/postgres.env
  • Test connection and report status

Phase 4: dbt Configuration (Optional)

  • Ask user if they use dbt
  • If yes: explain auto-detection via dbt_project.yml
  • Check dbt CLI installation

Phase 5: Validation

  • Verify MCP server can be imported
  • Display summary with component status
  • Inform user to restart session

Important Notes

  • Uses Bash, Read, Write, AskUserQuestion tools (NOT MCP tools)
  • MCP tools unavailable until session restart
  • PostgreSQL and dbt are optional - pandas works without them