--- name: dss-setup description: Complete DSS setup - MCP config, init, and start servers arguments: - name: flags description: Optional flags (--reset, --skip-servers) required: false --- # DSS Setup Command Complete DSS environment setup including MCP configuration, initialization, and development servers. ## Usage ``` /dss-setup [--reset] [--skip-servers] ``` ## What This Does 1. **Generate MCP Config** - Creates `.mcp.json` with absolute paths - Configures DSS MCP server connection 2. **Check Dependencies** - Python venv setup - Node modules installation 3. **Initialize DSS** (calls dss-init.sh) - Directory structure - Database initialization - Target analysis (admin-ui, storybook) - Token structure - Hash manifest 4. **Start Servers** - admin-ui on port 3456 - Storybook on port 6006 ## Instructions for Claude When the user runs this command: 1. Execute: `scripts/dss-setup.sh [flags]` 2. After completion, remind user to restart Claude Code to load MCP server ## Flags - `--reset`: Clear all DSS data first (fresh start) - `--skip-servers`: Don't start development servers ## Services | Service | Port | URL | |---------|------|-----| | admin-ui | 3456 | http://localhost:3456 | | Storybook | 6006 | http://localhost:6006 | ## Logs - `/tmp/dss-admin-ui.log` - `/tmp/dss-storybook.log` ## Related Commands - `/dss-init` - Initialize DSS structure only - `/dss-reset` - Reset to clean state - `/dss-figma` - Sync tokens from Figma