Files
dss/dss-claude-plugin/commands/dss-setup.md
DSS 08ce228df1
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
feat: Add DSS infrastructure, remove legacy admin-ui code
- Remove legacy admin-ui/js/ vanilla JS components
- Add .dss/ directory with core tokens, skins, themes
- Add Storybook configuration and generated stories
- Add DSS management scripts (dss-services, dss-init, dss-setup, dss-reset)
- Add MCP command definitions for DSS plugin
- Add Figma sync architecture and scripts
- Update pre-commit hooks with documentation validation
- Fix JSON trailing commas in skin files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 22:15:11 -03:00

71 lines
1.5 KiB
Markdown

---
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