1.6 KiB
1.6 KiB
name, description, arguments
| name | description | arguments | |||||||
|---|---|---|---|---|---|---|---|---|---|
| dss-reset | Reset DSS to clean state (clear all data, skins, tokens) |
|
DSS Reset Command
Clear all DSS data, skins, tokens, and generated files. Returns to clean state awaiting Figma sync.
Usage
/dss-reset [--confirm]
Without --confirm, runs in dry-run mode showing what would be deleted.
What This Clears
.dss/data/- Projects, teams, cache, activityadmin-ui/css/dss-*.css- Generated CSS filesadmin-ui/src/components/*.stories.js- Generated storiesadmin-ui/src/components/ds-*.js- Generated componentsdss/core_tokens/tokens.json- Reset to emptydss-claude-plugin/core/skins/*.json- Reset to awaiting sync.dss/logs/- Clear log files
Instructions for Claude
When the user runs this command:
- Check if
--confirmflag is provided - Execute reset script:
scripts/dss-reset.sh [--confirm] - Show what was cleared (or would be cleared in dry-run)
- Remind user to run
/dss-initto re-initialize structure
Safety
- Default is DRY RUN - no changes unless
--confirmis passed - Regenerates hash manifest after reset
- Stops any running Storybook processes
Example Output (Dry Run)
DSS Full Reset
==========================================
DRY RUN MODE - No changes will be made
Run with --confirm to execute
1. Clearing .dss/data/ structure...
Would run: rm -rf .dss/data/projects/* ...
...
DRY RUN COMPLETE
Run with --confirm to execute