omgkit 2.28.0 → 2.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +72 -1
  2. package/bin/omgkit.js +188 -1
  3. package/lib/cli.js +58 -4
  4. package/lib/theme.js +1220 -0
  5. package/package.json +2 -2
  6. package/plugin/agents/fullstack-developer.md +1 -0
  7. package/plugin/agents/ui-ux-designer.md +175 -41
  8. package/plugin/commands/design/add.md +86 -0
  9. package/plugin/commands/design/builder.md +96 -0
  10. package/plugin/commands/design/from-screenshot.md +64 -0
  11. package/plugin/commands/design/from-url.md +74 -0
  12. package/plugin/commands/design/preview.md +55 -0
  13. package/plugin/commands/design/rebuild.md +153 -0
  14. package/plugin/commands/design/reset.md +65 -0
  15. package/plugin/commands/design/rollback.md +179 -0
  16. package/plugin/commands/design/scan.md +155 -0
  17. package/plugin/commands/design/theme.md +65 -0
  18. package/plugin/commands/design/themes.md +50 -0
  19. package/plugin/registry.yaml +15 -3
  20. package/plugin/skills/frontend/design-system-context/SKILL.md +252 -0
  21. package/templates/design/schema/theme.schema.json +102 -0
  22. package/templates/design/themes/corporate-enterprise/consulting.json +81 -0
  23. package/templates/design/themes/corporate-enterprise/corporate-indigo.json +81 -0
  24. package/templates/design/themes/corporate-enterprise/finance.json +81 -0
  25. package/templates/design/themes/corporate-enterprise/healthcare.json +81 -0
  26. package/templates/design/themes/corporate-enterprise/legal.json +81 -0
  27. package/templates/design/themes/corporate-enterprise/ocean-blue.json +81 -0
  28. package/templates/design/themes/creative-bold/candy.json +81 -0
  29. package/templates/design/themes/creative-bold/coral-sunset.json +81 -0
  30. package/templates/design/themes/creative-bold/gradient-dream.json +81 -0
  31. package/templates/design/themes/creative-bold/neon.json +81 -0
  32. package/templates/design/themes/creative-bold/retro.json +81 -0
  33. package/templates/design/themes/creative-bold/studio.json +81 -0
  34. package/templates/design/themes/minimal-clean/minimal-slate.json +81 -0
  35. package/templates/design/themes/minimal-clean/mono.json +81 -0
  36. package/templates/design/themes/minimal-clean/nordic.json +81 -0
  37. package/templates/design/themes/minimal-clean/paper.json +81 -0
  38. package/templates/design/themes/minimal-clean/swiss.json +81 -0
  39. package/templates/design/themes/minimal-clean/zen.json +81 -0
  40. package/templates/design/themes/nature-organic/arctic.json +81 -0
  41. package/templates/design/themes/nature-organic/autumn.json +81 -0
  42. package/templates/design/themes/nature-organic/desert.json +81 -0
  43. package/templates/design/themes/nature-organic/forest.json +81 -0
  44. package/templates/design/themes/nature-organic/lavender.json +81 -0
  45. package/templates/design/themes/nature-organic/ocean.json +81 -0
  46. package/templates/design/themes/tech-ai/electric-cyan.json +81 -0
  47. package/templates/design/themes/tech-ai/hologram.json +81 -0
  48. package/templates/design/themes/tech-ai/matrix-green.json +81 -0
  49. package/templates/design/themes/tech-ai/neo-tokyo.json +81 -0
  50. package/templates/design/themes/tech-ai/neural-dark.json +81 -0
  51. package/templates/design/themes/tech-ai/quantum-purple.json +81 -0
@@ -0,0 +1,153 @@
1
+ ---
2
+ name: rebuild
3
+ description: Rebuild entire project UI with a new theme, replacing hardcoded colors
4
+ usage: /design:rebuild <theme-id> [--dry] [--force]
5
+ args:
6
+ - name: theme-id
7
+ required: true
8
+ description: Theme ID to apply (use /design:themes to see options)
9
+ - name: --dry
10
+ required: false
11
+ description: Preview changes without applying
12
+ - name: --force
13
+ required: false
14
+ description: Skip confirmation prompt
15
+ ---
16
+
17
+ # Design Rebuild
18
+
19
+ Rebuild the entire project's UI with a new theme, automatically converting hardcoded Tailwind colors to theme variables.
20
+
21
+ ## What This Command Does
22
+
23
+ 1. **Creates Backup**
24
+ - Saves current theme.json and theme.css
25
+ - Backs up tailwind.config.ts
26
+ - Creates rollback point in `.omgkit/design/backups/`
27
+
28
+ 2. **Applies New Theme**
29
+ - Updates `.omgkit/design/theme.json`
30
+ - Regenerates `.omgkit/design/theme.css` with CSS variables
31
+ - Updates `tailwind.config.ts` with theme colors
32
+ - Ensures `globals.css` imports theme.css
33
+
34
+ 3. **Scans & Fixes Components**
35
+ - Scans `app/`, `components/`, `src/`, `pages/` directories
36
+ - Finds hardcoded Tailwind colors (e.g., `bg-blue-500`)
37
+ - Replaces with theme variables (e.g., `bg-primary`)
38
+ - Reports unfixable patterns for manual review
39
+
40
+ ## Color Mapping
41
+
42
+ The following hardcoded colors are automatically converted:
43
+
44
+ | Hardcoded | Theme Variable |
45
+ |-----------|---------------|
46
+ | `bg-white` | `bg-background` |
47
+ | `bg-gray-50/100` | `bg-muted` |
48
+ | `text-gray-900` | `text-foreground` |
49
+ | `text-gray-500/600` | `text-muted-foreground` |
50
+ | `border-gray-200` | `border-border` |
51
+ | `bg-blue-500/600` | `bg-primary` |
52
+ | `text-blue-600` | `text-primary` |
53
+ | `bg-red-500/600` | `bg-destructive` |
54
+
55
+ ## Usage Examples
56
+
57
+ ### Basic Rebuild
58
+ ```bash
59
+ /design:rebuild neo-tokyo
60
+ ```
61
+
62
+ ### Preview Changes (Dry Run)
63
+ ```bash
64
+ /design:rebuild neo-tokyo --dry
65
+ ```
66
+
67
+ ### Force Rebuild (No Confirmation)
68
+ ```bash
69
+ /design:rebuild neo-tokyo --force
70
+ ```
71
+
72
+ ## Available Themes
73
+
74
+ Run `/design:themes` to see all 30 curated themes:
75
+
76
+ - **Tech & AI**: neo-tokyo, electric-cyan, neural-dark, matrix-green, quantum-purple, hologram
77
+ - **Minimal & Clean**: minimal-slate, paper, mono, zen, nordic, swiss
78
+ - **Corporate**: ocean-blue, corporate-indigo, finance, legal, healthcare, consulting
79
+ - **Creative & Bold**: coral-sunset, candy, neon, gradient-dream, retro, studio
80
+ - **Nature & Organic**: forest, ocean, desert, lavender, arctic, autumn
81
+
82
+ ## Example Output
83
+
84
+ ```
85
+ 🔮 Design Rebuild: neo-tokyo
86
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
87
+
88
+ 📦 Creating backup...
89
+ Backup ID: 2024-01-08T14-30-00-neo-tokyo
90
+
91
+ 🎨 Applying theme...
92
+ ✓ .omgkit/design/theme.json
93
+ ✓ .omgkit/design/theme.css
94
+ ✓ tailwind.config.ts
95
+ ✓ app/globals.css
96
+
97
+ 🔍 Scanning components...
98
+ Found 45 files with color references
99
+ Fixed 38 non-compliant patterns
100
+
101
+ Fixed Colors:
102
+ components/Button.tsx
103
+ bg-blue-500 → bg-primary (3x)
104
+ text-white → text-primary-foreground (3x)
105
+
106
+ app/page.tsx
107
+ bg-gray-50 → bg-muted (2x)
108
+ text-gray-600 → text-muted-foreground (4x)
109
+
110
+ ⚠️ Warnings (manual review needed):
111
+ - components/legacy/OldCard.tsx:12 - bg-emerald-400 (manual review needed)
112
+
113
+ ✅ Rebuild complete!
114
+ To rollback: omgkit design:rollback
115
+ ```
116
+
117
+ ## Rollback
118
+
119
+ If the rebuild causes issues:
120
+
121
+ ```bash
122
+ # Rollback to previous theme
123
+ omgkit design:rollback
124
+
125
+ # Or use slash command
126
+ /design:rollback
127
+
128
+ # Specify specific backup
129
+ omgkit design:rollback 2024-01-08T14-30-00-neo-tokyo
130
+ ```
131
+
132
+ ## CLI Alternative
133
+
134
+ This command is also available as a CLI command:
135
+
136
+ ```bash
137
+ omgkit design:rebuild neo-tokyo
138
+ omgkit design:rebuild neo-tokyo --dry
139
+ ```
140
+
141
+ ## Best Practices
142
+
143
+ 1. **Always preview first**: Use `--dry` flag to see what will change
144
+ 2. **Review warnings**: Manually check files with unmapped colors
145
+ 3. **Test after rebuild**: Verify UI looks correct in both light and dark modes
146
+ 4. **Keep backups**: Don't delete `.omgkit/design/backups/` folder
147
+
148
+ ## Related Commands
149
+
150
+ - `/design:themes` - List all available themes
151
+ - `/design:scan` - Scan for non-compliant colors without fixing
152
+ - `/design:rollback` - Rollback to previous theme
153
+ - `/design:preview` - Preview current theme
@@ -0,0 +1,65 @@
1
+ ---
2
+ description: Reset to original theme
3
+ allowed-tools: Read, Write
4
+ argument-hint: [confirm]
5
+ ---
6
+
7
+ # 🔄 Reset Theme: $ARGUMENTS
8
+
9
+ Reset the project theme to the original configuration or remove theme customizations.
10
+
11
+ ## Process
12
+
13
+ 1. Check for theme backup (if exists)
14
+ 2. Prompt for confirmation (unless `confirm` passed)
15
+ 3. Restore original theme.json
16
+ 4. Regenerate theme.css
17
+ 5. Confirm reset complete
18
+
19
+ ## Options
20
+
21
+ ### Reset to Original
22
+ If you modified a curated theme, restore the original:
23
+ ```bash
24
+ /design:reset # Prompts for confirmation
25
+ /design:reset confirm # Skip confirmation
26
+ ```
27
+
28
+ ### Reset to Default
29
+ Remove all theme customizations and use default:
30
+ ```bash
31
+ /design:reset default
32
+ ```
33
+
34
+ ## Files Affected
35
+
36
+ - `.omgkit/design/theme.json` - Restored/reset
37
+ - `.omgkit/design/theme.css` - Regenerated
38
+
39
+ ## Backup Behavior
40
+
41
+ Before any theme change, OMGKIT creates a backup:
42
+ - `.omgkit/design/theme.json.backup`
43
+
44
+ Reset will restore from this backup if available.
45
+
46
+ ## Usage
47
+
48
+ ```bash
49
+ /design:reset # Interactive confirmation
50
+ /design:reset confirm # Skip confirmation
51
+ /design:reset default # Reset to default theme
52
+ ```
53
+
54
+ ## Recovery
55
+
56
+ If you accidentally reset:
57
+ 1. Check git history for previous theme files
58
+ 2. Use `/design:theme <id>` to apply a curated theme
59
+ 3. Use `/design:builder` to recreate custom theme
60
+
61
+ ## Related Commands
62
+
63
+ - `/design:theme <id>` - Apply a specific theme
64
+ - `/design:builder` - Build new custom theme
65
+ - `/design:preview` - Preview current theme
@@ -0,0 +1,179 @@
1
+ ---
2
+ name: rollback
3
+ description: Rollback to a previous theme state from backup
4
+ usage: /design:rollback [backup-id]
5
+ args:
6
+ - name: backup-id
7
+ required: false
8
+ description: Specific backup ID to restore (defaults to most recent)
9
+ ---
10
+
11
+ # Design Rollback
12
+
13
+ Restore project to a previous theme state from backup. Created automatically when using `/design:rebuild`.
14
+
15
+ ## What This Command Does
16
+
17
+ 1. **Finds Backup**
18
+ - Defaults to most recent backup
19
+ - Or uses specified backup ID
20
+
21
+ 2. **Creates Safety Backup**
22
+ - Backs up current state before rollback
23
+ - Allows re-rollback if needed
24
+
25
+ 3. **Restores Files**
26
+ - `.omgkit/design/theme.json`
27
+ - `.omgkit/design/theme.css`
28
+ - `tailwind.config.ts` (if backed up)
29
+ - Any component files modified during rebuild
30
+
31
+ ## Usage Examples
32
+
33
+ ### Rollback to Latest Backup
34
+ ```bash
35
+ /design:rollback
36
+ ```
37
+
38
+ ### Rollback to Specific Backup
39
+ ```bash
40
+ /design:rollback 2024-01-08T14-30-00-neo-tokyo
41
+ ```
42
+
43
+ ### List Available Backups First
44
+ ```bash
45
+ omgkit design:backups
46
+ ```
47
+
48
+ ## Example Output
49
+
50
+ ```
51
+ 🔄 Theme Rollback
52
+
53
+ ✓ Rolled back to: minimal-slate
54
+
55
+ Restored Files:
56
+ ✓ .omgkit/design/theme.json
57
+ ✓ .omgkit/design/theme.css
58
+ ✓ tailwind.config.ts
59
+
60
+ Backup used: 2024-01-08T14-30-00-neo-tokyo
61
+ ```
62
+
63
+ ## Backup Structure
64
+
65
+ Backups are stored in `.omgkit/design/backups/`:
66
+
67
+ ```
68
+ .omgkit/design/backups/
69
+ ├── 2024-01-08T14-30-00-neo-tokyo/
70
+ │ ├── manifest.json # Backup metadata
71
+ │ ├── theme.json.bak # Previous theme config
72
+ │ ├── theme.css.bak # Previous CSS variables
73
+ │ └── tailwind.config.ts.bak # Previous Tailwind config
74
+
75
+ └── 2024-01-07T10-15-00-minimal-slate/
76
+ ├── manifest.json
77
+ ├── theme.json.bak
78
+ └── ...
79
+ ```
80
+
81
+ ### Manifest Format
82
+
83
+ ```json
84
+ {
85
+ "id": "2024-01-08T14-30-00-neo-tokyo",
86
+ "previousTheme": "minimal-slate",
87
+ "newTheme": "neo-tokyo",
88
+ "timestamp": "2024-01-08T14:30:00.000Z",
89
+ "changedFiles": [
90
+ { "path": ".omgkit/design/theme.json", "backup": "theme.json.bak" },
91
+ { "path": ".omgkit/design/theme.css", "backup": "theme.css.bak" },
92
+ { "path": "tailwind.config.ts", "backup": "tailwind.config.ts.bak" }
93
+ ]
94
+ }
95
+ ```
96
+
97
+ ## CLI Commands
98
+
99
+ ```bash
100
+ # Rollback to latest
101
+ omgkit design:rollback
102
+
103
+ # Rollback to specific backup
104
+ omgkit design:rollback 2024-01-08T14-30-00-neo-tokyo
105
+
106
+ # List available backups
107
+ omgkit design:backups
108
+ ```
109
+
110
+ ## Listing Backups
111
+
112
+ To see available backups:
113
+
114
+ ```bash
115
+ omgkit design:backups
116
+ ```
117
+
118
+ Output:
119
+ ```
120
+ 📦 Theme Backups
121
+
122
+ 2024-01-08T14-30-00-neo-tokyo
123
+ minimal-slate → neo-tokyo
124
+ 1/8/2024, 2:30:00 PM (3 files)
125
+
126
+ 2024-01-07T10-15-00-minimal-slate
127
+ ocean-blue → minimal-slate
128
+ 1/7/2024, 10:15:00 AM (3 files)
129
+
130
+ To rollback: omgkit design:rollback
131
+ Or specify: omgkit design:rollback <backup-id>
132
+ ```
133
+
134
+ ## Safety Features
135
+
136
+ 1. **Auto-backup before rollback**: Creates new backup before restoring
137
+ 2. **Backup preservation**: Original backups are never deleted
138
+ 3. **Chain rollback**: Can rollback from a rollback
139
+ 4. **Partial restore**: Only restores files that were backed up
140
+
141
+ ## When to Use Rollback
142
+
143
+ - Theme rebuild caused visual issues
144
+ - Want to return to previous color scheme
145
+ - Testing different themes
146
+ - Accidentally applied wrong theme
147
+
148
+ ## Limitations
149
+
150
+ - Only restores files that were modified during rebuild
151
+ - Component color replacements are not reversed (would need manual fix)
152
+ - Requires existing backup
153
+
154
+ ## Error Handling
155
+
156
+ ### No Backups Found
157
+ ```
158
+ ✗ No theme backups found
159
+ ℹ No backups available. Rebuild a theme first to create backups.
160
+ ```
161
+
162
+ ### Backup Not Found
163
+ ```
164
+ ✗ Backup not found: invalid-backup-id
165
+ ```
166
+
167
+ ## Related Commands
168
+
169
+ - `/design:rebuild <theme-id>` - Apply new theme (creates backup)
170
+ - `/design:scan` - Scan for non-compliant colors
171
+ - `/design:themes` - List available themes
172
+ - `/design:preview` - Preview current theme
173
+
174
+ ## Best Practices
175
+
176
+ 1. **Test before committing**: Always test after theme rebuild
177
+ 2. **Keep backups**: Don't delete `.omgkit/design/backups/`
178
+ 3. **Use dry-run**: Preview changes with `/design:rebuild <theme> --dry`
179
+ 4. **Git backup**: Commit before rebuilding for additional safety
@@ -0,0 +1,155 @@
1
+ ---
2
+ name: scan
3
+ description: Scan project for non-compliant color usage that should use theme variables
4
+ usage: /design:scan [--fix]
5
+ allowed-tools: Read, Glob, Grep
6
+ args:
7
+ - name: --fix
8
+ required: false
9
+ description: Auto-fix simple violations (same as /design:rebuild)
10
+ ---
11
+
12
+ # Design Scan
13
+
14
+ Scan project files for hardcoded colors that should use theme CSS variables instead.
15
+
16
+ ## What This Command Does
17
+
18
+ 1. **Scans Source Files**
19
+ - Scans `app/`, `components/`, `src/`, `pages/` directories
20
+ - Checks `.tsx`, `.jsx`, `.ts`, `.js` files
21
+ - Excludes `node_modules`, `.git`, `.omgkit`, `dist`, `build`, `.next`
22
+
23
+ 2. **Detects Non-Compliant Patterns**
24
+ - Tailwind default colors (e.g., `bg-blue-500`, `text-gray-600`)
25
+ - Hardcoded hex colors in className (e.g., `bg-[#3B82F6]`)
26
+ - Inline style colors
27
+
28
+ 3. **Reports Findings**
29
+ - Groups violations by file
30
+ - Shows line numbers
31
+ - Suggests theme variable replacements
32
+
33
+ ## Detection Patterns
34
+
35
+ ### Tailwind Default Colors (Auto-Fixable)
36
+
37
+ | Pattern | Example | Should Be |
38
+ |---------|---------|-----------|
39
+ | Gray scales | `bg-gray-100` | `bg-muted` |
40
+ | Gray text | `text-gray-600` | `text-muted-foreground` |
41
+ | Blue primary | `bg-blue-500` | `bg-primary` |
42
+ | Red destructive | `bg-red-500` | `bg-destructive` |
43
+ | Gray borders | `border-gray-200` | `border-border` |
44
+
45
+ ### Hardcoded Colors (Manual Review)
46
+
47
+ | Pattern | Example | Action |
48
+ |---------|---------|--------|
49
+ | Hex in className | `bg-[#E11D48]` | Use CSS variable |
50
+ | Arbitrary colors | `text-[#333333]` | Use theme foreground |
51
+ | Inline styles | `style={{ color: 'red' }}` | Use theme class |
52
+
53
+ ## Usage Examples
54
+
55
+ ### Basic Scan
56
+ ```bash
57
+ /design:scan
58
+ ```
59
+
60
+ ### Scan and Auto-Fix
61
+ ```bash
62
+ /design:scan --fix
63
+ ```
64
+ Note: `--fix` is equivalent to running `/design:rebuild` with current theme.
65
+
66
+ ## Example Output
67
+
68
+ ```
69
+ 🔍 Scanning project for non-compliant colors...
70
+
71
+ Scanned 45 files
72
+
73
+ ⚠ Found 12 non-compliant color references
74
+
75
+ 📁 app/page.tsx
76
+ Line 15: bg-blue-500 → bg-primary
77
+ Line 23: text-gray-600 → text-muted-foreground
78
+ Line 45: bg-gray-50 → bg-muted
79
+
80
+ 📁 components/Header.tsx
81
+ Line 8: border-gray-200 → border-border
82
+ Line 12: bg-white → bg-background
83
+ Line 23: text-gray-900 → text-foreground
84
+
85
+ 📁 components/Card.tsx
86
+ Line 5: bg-[#ffffff] (manual review)
87
+ Line 18: hover:bg-gray-100 → hover:bg-accent
88
+
89
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
90
+ Total: 12 violations in 3 files
91
+
92
+ Run omgkit design:rebuild <theme-id> to auto-fix
93
+ ```
94
+
95
+ ## Compliance Categories
96
+
97
+ ### Fully Compliant (Good)
98
+ ```tsx
99
+ // Using theme variables
100
+ <div className="bg-background text-foreground">
101
+ <button className="bg-primary text-primary-foreground">
102
+ <span className="text-muted-foreground">
103
+ <div className="border-border">
104
+ ```
105
+
106
+ ### Non-Compliant (Should Fix)
107
+ ```tsx
108
+ // Hardcoded Tailwind colors
109
+ <div className="bg-white text-gray-900"> // ❌
110
+ <button className="bg-blue-500 text-white"> // ❌
111
+ <span className="text-gray-500"> // ❌
112
+ <div className="border-gray-200"> // ❌
113
+
114
+ // Should be
115
+ <div className="bg-background text-foreground"> // ✅
116
+ <button className="bg-primary text-primary-foreground"> // ✅
117
+ <span className="text-muted-foreground"> // ✅
118
+ <div className="border-border"> // ✅
119
+ ```
120
+
121
+ ## Color Mapping Reference
122
+
123
+ | Hardcoded | Theme Variable | Context |
124
+ |-----------|---------------|---------|
125
+ | `bg-white` | `bg-background` | Page background |
126
+ | `bg-gray-50` | `bg-muted` | Subtle background |
127
+ | `bg-gray-100` | `bg-secondary` | Secondary background |
128
+ | `text-gray-900` | `text-foreground` | Primary text |
129
+ | `text-gray-600` | `text-muted-foreground` | Secondary text |
130
+ | `text-gray-500` | `text-muted-foreground` | Muted text |
131
+ | `border-gray-200` | `border-border` | Standard border |
132
+ | `border-gray-300` | `border-input` | Input border |
133
+ | `bg-blue-500` | `bg-primary` | Primary action |
134
+ | `text-blue-600` | `text-primary` | Accent text |
135
+ | `bg-red-500` | `bg-destructive` | Danger action |
136
+ | `text-red-600` | `text-destructive` | Error text |
137
+ | `ring-blue-500` | `ring-ring` | Focus ring |
138
+
139
+ ## CLI Alternative
140
+
141
+ ```bash
142
+ omgkit design:scan
143
+ ```
144
+
145
+ ## After Scanning
146
+
147
+ 1. **Auto-fixable issues**: Run `/design:rebuild <theme-id>` to fix
148
+ 2. **Manual review issues**: Edit files directly to use theme variables
149
+ 3. **Re-scan**: Run `/design:scan` again to verify all fixed
150
+
151
+ ## Related Commands
152
+
153
+ - `/design:rebuild <theme-id>` - Fix issues and apply new theme
154
+ - `/design:themes` - List available themes
155
+ - `/design:preview` - Preview current theme colors
@@ -0,0 +1,65 @@
1
+ ---
2
+ description: Switch project to a different OMGKIT theme
3
+ allowed-tools: Read, Write, Glob
4
+ argument-hint: <theme-id>
5
+ ---
6
+
7
+ # 🎨 Switch Theme: $ARGUMENTS
8
+
9
+ Switch the project to a different OMGKIT design system theme.
10
+
11
+ ## Available Theme IDs
12
+
13
+ **Tech & AI:**
14
+ - `neo-tokyo`, `electric-cyan`, `neural-dark`, `matrix-green`, `quantum-purple`, `hologram`
15
+
16
+ **Minimal & Clean:**
17
+ - `minimal-slate`, `paper`, `mono`, `zen`, `nordic`, `swiss`
18
+
19
+ **Corporate & Enterprise:**
20
+ - `ocean-blue`, `corporate-indigo`, `finance`, `legal`, `healthcare`, `consulting`
21
+
22
+ **Creative & Bold:**
23
+ - `coral-sunset`, `candy`, `neon`, `gradient-dream`, `retro`, `studio`
24
+
25
+ **Nature & Organic:**
26
+ - `forest`, `ocean`, `desert`, `lavender`, `arctic`, `autumn`
27
+
28
+ ## Process
29
+
30
+ 1. Validate theme ID exists
31
+ 2. Load theme configuration from templates
32
+ 3. Generate CSS variables (light + dark mode)
33
+ 4. Write `.omgkit/design/theme.json`
34
+ 5. Write `.omgkit/design/theme.css`
35
+ 6. Show integration instructions
36
+
37
+ ## Files Created/Updated
38
+
39
+ - `.omgkit/design/theme.json` - Theme configuration
40
+ - `.omgkit/design/theme.css` - CSS variables
41
+
42
+ ## Integration
43
+
44
+ After switching themes, integrate into your project:
45
+
46
+ ### Next.js / React
47
+ ```css
48
+ /* In app/globals.css or styles/globals.css */
49
+ @import '../.omgkit/design/theme.css';
50
+ ```
51
+
52
+ ### Or copy CSS variables directly
53
+ Copy the `:root` and `.dark` blocks from `theme.css` into your global styles.
54
+
55
+ ## Usage
56
+
57
+ ```bash
58
+ /design:theme neo-tokyo # Switch to Neo Tokyo theme
59
+ /design:theme minimal-slate # Switch to Minimal Slate theme
60
+ /design:theme forest # Switch to Forest theme
61
+ ```
62
+
63
+ ## Verification
64
+
65
+ After switching, run `/design:preview` to see the new theme colors.
@@ -0,0 +1,50 @@
1
+ ---
2
+ description: List all available OMGKIT design themes
3
+ allowed-tools: Read, Glob
4
+ argument-hint: [category]
5
+ ---
6
+
7
+ # 🎨 Design Themes: $ARGUMENTS
8
+
9
+ List all available OMGKIT design themes organized by category.
10
+
11
+ ## Categories
12
+
13
+ - **tech-ai** (6 themes): Neo Tokyo, Electric Cyan, Neural Dark, Matrix Green, Quantum Purple, Hologram
14
+ - **minimal-clean** (6 themes): Minimal Slate, Paper, Mono, Zen, Nordic, Swiss
15
+ - **corporate-enterprise** (6 themes): Ocean Blue, Corporate Indigo, Finance, Legal, Healthcare, Consulting
16
+ - **creative-bold** (6 themes): Coral Sunset, Candy, Neon, Gradient Dream, Retro, Studio
17
+ - **nature-organic** (6 themes): Forest, Ocean, Desert, Lavender, Arctic, Autumn
18
+
19
+ ## Process
20
+
21
+ 1. Load themes from `templates/design/themes/`
22
+ 2. Group by category
23
+ 3. Display with:
24
+ - Theme name and ID
25
+ - Category badge
26
+ - Primary color
27
+ - Brief description
28
+
29
+ ## Usage
30
+
31
+ ```bash
32
+ /design:themes # List all 30 themes
33
+ /design:themes tech-ai # List only tech-ai themes
34
+ /design:themes minimal # Filter by partial category name
35
+ ```
36
+
37
+ ## Output Format
38
+
39
+ For each theme, show:
40
+ - **ID** (used for selection)
41
+ - **Name** (display name)
42
+ - **Category**
43
+ - **Primary color** (hex and HSL)
44
+ - **Description**
45
+
46
+ ## Next Steps
47
+
48
+ After browsing themes:
49
+ - `/design:theme <id>` - Apply a theme to your project
50
+ - `/design:preview` - Preview current theme
@@ -1,9 +1,9 @@
1
1
  # OMGKIT Component Registry
2
2
  # Single Source of Truth for Agents, Skills, Commands, Workflows, and MCPs
3
- # Version: 2.26.1
4
- # Updated: 2026-01-06
3
+ # Version: 2.30.0
4
+ # Updated: 2026-01-08
5
5
 
6
- version: "2.28.0"
6
+ version: "2.30.0"
7
7
 
8
8
  # =============================================================================
9
9
  # OPTIMIZED ALIGNMENT PRINCIPLE (OAP)
@@ -431,12 +431,24 @@ agents:
431
431
  - frontend/accessibility
432
432
  - frontend/responsive
433
433
  - frontend/tailwindcss
434
+ - frontend/design-system-context
434
435
  commands:
435
436
  - /design:screenshot
436
437
  - /design:cro
437
438
  - /design:enhance
438
439
  - /design:fast
439
440
  - /design:good
441
+ - /design:themes
442
+ - /design:theme
443
+ - /design:preview
444
+ - /design:add
445
+ - /design:from-screenshot
446
+ - /design:from-url
447
+ - /design:builder
448
+ - /design:reset
449
+ - /design:rebuild
450
+ - /design:scan
451
+ - /design:rollback
440
452
 
441
453
  api-designer:
442
454
  file: agents/api-designer.md