@lamjingxuan/designverse-harness 1.0.0 → 1.0.1

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.
package/README.md CHANGED
@@ -1,27 +1,27 @@
1
1
  # Designverse Harness
2
2
 
3
- **MDDI design workflow orchestrator** - from setup to critique
3
+ > **MDDI design workflow orchestrator** - from setup to critique
4
4
 
5
- An intelligent AI harness that guides you through the complete design process: project setup, design system configuration, planning, ideation, execution, and quality review with automatic git integration.
5
+ An invisible AI harness that guides you through the complete design process: project setup, design system configuration, planning, ideation, execution, and quality review with automatic git integration.
6
6
 
7
- [![npm version](https://img.shields.io/npm/v/@mddidesign/designverse-harness.svg)](https://www.npmjs.com/package/@mddidesign/designverse-harness)
7
+ [![npm version](https://img.shields.io/npm/v/designverse-harness.svg)](https://www.npmjs.com/package/designverse-harness)
8
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
9
 
10
10
  ---
11
11
 
12
- ## Features
12
+ ## ✨ Features
13
13
 
14
- - **Invisible Orchestration** - Just describe what you want, it routes you automatically
15
- - **shadcn/ui Design System** - 40+ components with light/dark mode
16
- - **4-Critic Review Panel** - Blind evaluation across craft, UX, tokens, and opportunities
17
- - **Auto-Fix Iteration** - Automatically fixes common issues (colors, contrast, banned chars)
18
- - **Git Integration** - Pre-commit hook runs design review automatically
19
- - **MCQ Workflows** - Guided setup through multiple-choice questions
20
- - **Smart Dependencies** - Auto-installs required skills, detects optional enhancements
14
+ - 🎯 **Invisible Orchestration** - Just describe what you want, it routes you automatically
15
+ - 🎨 **shadcn/ui Design System** - 40+ components with light/dark mode
16
+ - 🔍 **4-Critic Review Panel** - Blind evaluation across craft, UX, tokens, and opportunities
17
+ - ⚡ **Auto-Fix Iteration** - Automatically fixes common issues (colors, contrast, banned chars)
18
+ - 🪝 **Git Integration** - Pre-commit hook runs design review automatically
19
+ - 📊 **MCQ Workflows** - Guided setup through multiple-choice questions
20
+ - 🔧 **Smart Dependencies** - Auto-installs required skills, detects optional enhancements
21
21
 
22
22
  ---
23
23
 
24
- ## What It Does
24
+ ## 🎯 What It Does
25
25
 
26
26
  Designverse Harness orchestrates your design workflow with **7 skills**:
27
27
 
@@ -39,36 +39,28 @@ Designverse Harness orchestrates your design workflow with **7 skills**:
39
39
 
40
40
  ---
41
41
 
42
- ## Installation
42
+ ## 📦 Installation
43
43
 
44
- ### Via npm (Recommended)
44
+ ### Via Claude Marketplace
45
45
 
46
46
  ```bash
47
- # Step 1: Install the package
48
- npm install -g designverse-harness
49
-
50
- # Step 2: Register with Claude Code
51
- claude plugin install $(npm root -g)/designverse-harness
52
-
53
- # Step 3: (Optional) Install dependency skills
54
- npx skills add arnabbagxd/brand-building-skills
55
- npx skills add mattpocock/skills --skill=grilling
47
+ /plugin install designverse-harness
56
48
  ```
57
49
 
50
+ That's it! The plugin automatically:
51
+ - ✅ Installs required dependencies (brand-building-skills, grilling)
52
+ - ✅ Sets up pre-commit hook for design review
53
+ - ✅ Registers all 7 skills as slash commands
54
+ - ✅ Activates invisible orchestrator
55
+
58
56
  ### Verify Installation
59
57
 
60
58
  ```bash
59
+ # Check plugin installed
60
+ claude plugin list | grep designverse
61
+
61
62
  # Check skills available
62
- claude skill list | grep -E "project-context|design-"
63
-
64
- # Should see all 7 skills:
65
- # - project-context
66
- # - design-setup
67
- # - design-plan
68
- # - design-ideate
69
- # - design-execute
70
- # - design-review
71
- # - design-iterate
63
+ claude skill list | grep design
72
64
  ```
73
65
 
74
66
  ### Usage
@@ -91,7 +83,7 @@ claude skill list | grep -E "project-context|design-"
91
83
 
92
84
  ---
93
85
 
94
- ## Requirements
86
+ ## ⚙️ Requirements
95
87
 
96
88
  - **Node.js** 18.0.0 or higher
97
89
  - **Claude Code** CLI or IDE extension
@@ -100,7 +92,7 @@ claude skill list | grep -E "project-context|design-"
100
92
 
101
93
  ---
102
94
 
103
- ## Quick Start
95
+ ## 🚀 Quick Start
104
96
 
105
97
  ### 1. Automatic Mode (Invisible Routing)
106
98
 
@@ -109,57 +101,57 @@ Just describe what you want to build - the orchestrator detects your intent and
109
101
  ```plaintext
110
102
  You: "I want to build a campaign planning dashboard"
111
103
 
112
- Harness: [Detects missing CLAUDE.md]
113
- "Let me help you set up the project first."
114
- [Asks 6 MCQ questions about your product]
104
+ 🎨 Harness: [Detects missing CLAUDE.md]
105
+ "Let me help you set up the project first."
106
+ [Asks 6 MCQ questions about your product]
115
107
 
116
108
  You: [Answers questions: SaaS app, marketing managers, etc.]
117
109
 
118
- Harness: Generated CLAUDE.md and DESIGN.md
119
- "Now let's set up your design system."
120
- [Asks 4 brand questions]
110
+ 🎨 Harness: ✓ Generated CLAUDE.md and DESIGN.md
111
+ "Now let's set up your design system."
112
+ [Asks 4 brand questions]
121
113
 
122
114
  You: [Choose: Professional, Blue/neutral palette, Inter font]
123
115
 
124
- Harness: Customized shadcn design system with your brand
125
- "Let's plan what you're building."
126
- [Guides PRD creation, optional grilling]
116
+ 🎨 Harness: ✓ Customized shadcn design system with your brand
117
+ "Let's plan what you're building."
118
+ [Guides PRD creation, optional grilling]
127
119
 
128
120
  You: "I'm ready to build"
129
121
 
130
- Harness: "Would you like to explore 3 design directions first?"
122
+ 🎨 Harness: "Would you like to explore 3 design directions first?"
131
123
 
132
124
  You: "Yes"
133
125
 
134
- Harness: [Generates 3 HTML mockups: Direction 1 (wizard),
135
- Direction 2 (single page), Direction 3 (dashboard)]
136
-
137
- Scores: 8.2, 8.7, 7.5
138
- Recommends: Direction 2
126
+ 🎨 Harness: [Generates 3 HTML mockups: Direction 1 (wizard),
127
+ Direction 2 (single page), Direction 3 (dashboard)]
128
+
129
+ Scores: 8.2, 8.7, 7.5
130
+ Recommends: Direction 2
139
131
 
140
132
  You: "Let's go with Direction 2"
141
133
 
142
- Harness: [Builds production-quality HTML/CSS]
143
- prototypes/campaign-planner/input-form.html
144
-
145
- Uses: .btn, .input, .card, CSS variables
146
- Accessibility: WCAG AA compliant
134
+ 🎨 Harness: [Builds production-quality HTML/CSS]
135
+ ✓ prototypes/campaign-planner/input-form.html
136
+
137
+ Uses: .btn, .input, .card, CSS variables
138
+ Accessibility: ✓ WCAG AA compliant
147
139
 
148
140
  You: git add prototypes/ && git commit -m "Add campaign planner"
149
141
 
150
- Harness: [Pre-commit hook runs automatically]
151
-
152
- Running 4-critic design review...
153
-
154
- Critic A (Craft): 8.5/10
155
- Critic B (UX): 8.8/10
156
- Critic C (Tokens): 9.0/10
157
- Critic D (Opportunity): [2 suggestions]
158
-
159
- Final Score: 8.7/10
160
- Hard Gates: 5/5 passing
161
-
162
- Review passed! Proceeding with commit...
142
+ 🎨 Harness: [Pre-commit hook runs automatically]
143
+
144
+ Running 4-critic design review...
145
+
146
+ Critic A (Craft): 8.5/10
147
+ Critic B (UX): 8.8/10
148
+ Critic C (Tokens): 9.0/10
149
+ Critic D (Opportunity): [2 suggestions]
150
+
151
+ Final Score: 8.7/10
152
+ Hard Gates: 5/5 passing ✓
153
+
154
+ ✅ Review passed! Proceeding with commit...
163
155
 
164
156
  [Commit succeeds]
165
157
  ```
@@ -212,7 +204,7 @@ git commit -m "Add dashboard overview"
212
204
 
213
205
  ---
214
206
 
215
- ## Architecture
207
+ ## 🧩 Architecture
216
208
 
217
209
  ```
218
210
  designverse-harness/
@@ -239,7 +231,7 @@ designverse-harness/
239
231
 
240
232
  ---
241
233
 
242
- ## What Gets Generated
234
+ ## 🎨 What Gets Generated
243
235
 
244
236
  When you use the harness, it creates these files **in your project**:
245
237
 
@@ -280,7 +272,7 @@ your-project/
280
272
 
281
273
  ---
282
274
 
283
- ## Dependencies
275
+ ## 🔧 Dependencies
284
276
 
285
277
  ### Required (Auto-Installed)
286
278
 
@@ -311,18 +303,18 @@ npx skills add jakubkrehel/skills # Additional design enhancements
311
303
 
312
304
  ---
313
305
 
314
- ## Pre-Commit Hook
306
+ ## 🪝 Pre-Commit Hook
315
307
 
316
308
  The harness automatically installs a git pre-commit hook that:
317
309
 
318
310
  1. **Detects design file commits** (HTML, CSS, JS, JSX, TSX, TS)
319
311
  2. **Runs `/design-review` automatically**
320
312
  3. **Checks 5 hard gates:**
321
- - Text contrast fails WCAG AA (< 4.5:1)
322
- - Interactive targets < 44px
323
- - Banned characters (curly quotes, em dashes, ellipsis)
324
- - Byte-identical light/dark modes
325
- - Placeholder copy (Lorem ipsum, TODO, TBD)
313
+ - ❌ Text contrast fails WCAG AA (< 4.5:1)
314
+ - ❌ Interactive targets < 44px
315
+ - ❌ Banned characters (curly quotes, em dashes, ellipsis)
316
+ - ❌ Byte-identical light/dark modes
317
+ - ❌ Placeholder copy (Lorem ipsum, TODO, TBD)
326
318
  4. **Blocks commit** if score < 8.0 or any hard gate fails
327
319
  5. **Shows actionable feedback** with fix suggestions
328
320
 
@@ -347,7 +339,7 @@ Full hook documentation: [`hooks/README.md`](hooks/README.md)
347
339
 
348
340
  ---
349
341
 
350
- ## Design System (shadcn/ui)
342
+ ## 📐 Design System (shadcn/ui)
351
343
 
352
344
  The harness uses **shadcn/ui** as the base design system with the **Slate theme**:
353
345
 
@@ -385,7 +377,7 @@ Components are fully documented in `design-system/component-library.html`.
385
377
 
386
378
  ---
387
379
 
388
- ## Design Review (4-Critic Panel)
380
+ ## 🔍 Design Review (4-Critic Panel)
389
381
 
390
382
  The design review uses a **blind panel** approach - 4 critics evaluate independently:
391
383
 
@@ -416,7 +408,7 @@ These MUST pass for commit to proceed:
416
408
 
417
409
  ---
418
410
 
419
- ## Iteration Loop
411
+ ## 🔄 Iteration Loop
420
412
 
421
413
  After review, `/design-iterate` automatically:
422
414
 
@@ -440,29 +432,29 @@ Hard gates: 3/5 failing
440
432
 
441
433
  # Iterate
442
434
  /design-iterate
443
- Fixed 12 hardcoded colors
444
- Fixed 3 banned characters
445
- Contrast issue: Choose fix [1/2/3]
435
+ ✓ Fixed 12 hardcoded colors
436
+ ✓ Fixed 3 banned characters
437
+ ⚠️ Contrast issue: Choose fix [1/2/3]
446
438
  You: 1
447
- Applied
439
+ ✓ Applied
448
440
 
449
441
  # Re-review
450
442
  Score: 7.8/10
451
- Hard gates: 5/5 passing
443
+ Hard gates: 5/5 passing ✓
452
444
 
453
445
  # Iterate again
454
446
  /design-iterate
455
- Added focus indicators
456
- Manual: 2 alignment issues
447
+ ✓ Added focus indicators
448
+ 📋 Manual: 2 alignment issues
457
449
 
458
450
  # User fixes manually, iterates
459
451
  /design-iterate
460
- Score: 8.3/10 PASSED
452
+ Score: 8.3/10 ✅ PASSED
461
453
  ```
462
454
 
463
455
  ---
464
456
 
465
- ## Development
457
+ ## 🛠️ Development
466
458
 
467
459
  ### Local Setup
468
460
 
@@ -546,7 +538,7 @@ See [`TEST-REPORT.md`](TEST-REPORT.md) for full test coverage.
546
538
 
547
539
  ---
548
540
 
549
- ## License
541
+ ## 📄 License
550
542
 
551
543
  MIT License
552
544
 
@@ -560,7 +552,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
560
552
 
561
553
  ---
562
554
 
563
- ## Documentation
555
+ ## 📖 Documentation
564
556
 
565
557
  - **[How It Works](docs/HOW-IT-WORKS.md)** - Architecture deep dive
566
558
  - **[Plugin Setup](docs/PLUGIN-SETUP.md)** - Installation and config
@@ -570,25 +562,25 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
570
562
  - **[Hook Guide](hooks/README.md)** - Pre-commit hook docs
571
563
  - **[All Documentation](docs/)** - Complete docs index
572
564
 
573
- ## Support
565
+ ## 🙋 Support
574
566
 
575
- - **Issues:** https://github.com/mddidesign/designverse-harness/issues
567
+ - **Issues:** https://github.com/lamjingxuan/MDDI-Designverse/issues
576
568
  - **Documentation:** [`docs/`](docs/)
577
569
  - **Skills:** Individual skill files in [`skills/`](skills/)
578
570
 
579
571
  ---
580
572
 
581
- ## Roadmap
573
+ ## 🚀 Roadmap
582
574
 
583
- - Figma import support (Path A)
584
- - Additional design system themes (Material, Tailwind UI)
585
- - VS Code extension
586
- - Collaborative review mode
587
- - Design token sync with Figma Variables
588
- - Animation/motion review criteria
575
+ - [ ] Figma import support (Path A)
576
+ - [ ] Additional design system themes (Material, Tailwind UI)
577
+ - [ ] VS Code extension
578
+ - [ ] Collaborative review mode
579
+ - [ ] Design token sync with Figma Variables
580
+ - [ ] Animation/motion review criteria
589
581
 
590
582
  ---
591
583
 
592
- **Built by MDDI Design Team**
584
+ **Built with ❤️ by MDDI Design Team**
593
585
 
594
586
  *Powered by Claude Code and shadcn/ui*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lamjingxuan/designverse-harness",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MDDI design workflow orchestrator - from setup to critique",
5
5
  "main": "orchestrator/index.js",
6
6
  "type": "module",
@@ -12,15 +12,14 @@
12
12
  "design-critique",
13
13
  "mddi"
14
14
  ],
15
- "author": "Lam Jing Xuan <lamjingxuan@example.com>",
15
+ "author": "MDDI Design Team",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://sgts.gitlab-dedicated.com/wog/mddi/mddiagilesquad/mddi-design/designverse-harness.git"
19
+ "url": "https://github.com/lamjingxuan/MDDI-Designverse.git"
20
20
  },
21
21
  "scripts": {
22
- "postinstall-disabled": "node scripts/install.js",
23
- "install-deps": "node scripts/install.js",
22
+ "postinstall": "node scripts/install.js",
24
23
  "test": "echo \"Error: no test specified\" && exit 1"
25
24
  },
26
25
  "engines": {
@@ -33,6 +32,6 @@
33
32
  "devDependencies": {},
34
33
  "claude": {
35
34
  "plugin": true,
36
- "manifestPath": "./.claude-plugin/plugin.json"
35
+ "manifestPath": "./plugin.json"
37
36
  }
38
37
  }
package/plugin.json ADDED
@@ -0,0 +1,108 @@
1
+ {
2
+ "name": "designverse-harness",
3
+ "version": "1.0.0",
4
+ "displayName": "Designverse Harness",
5
+ "description": "MDDI design workflow orchestrator - from setup to critique",
6
+ "publisher": "mddidesign",
7
+ "repository": "https://github.com/mddidesign/designverse-harness",
8
+
9
+ "entry": "./orchestrator/index.js",
10
+
11
+ "skills": [
12
+ {
13
+ "name": "project-context",
14
+ "command": "/project-context",
15
+ "path": "./skills/project-context/skill.md",
16
+ "description": "Set up project context (CLAUDE.md, DESIGN.md)",
17
+ "visibility": "public"
18
+ },
19
+ {
20
+ "name": "design-setup",
21
+ "command": "/design-setup",
22
+ "path": "./skills/design-setup/skill.md",
23
+ "description": "Set up design system (tokens, components)",
24
+ "visibility": "public"
25
+ },
26
+ {
27
+ "name": "design-plan",
28
+ "command": "/design-plan",
29
+ "path": "./skills/design-plan/skill.md",
30
+ "description": "Plan design work (PRD, grilling)",
31
+ "visibility": "public"
32
+ },
33
+ {
34
+ "name": "design-ideate",
35
+ "command": "/design-ideate",
36
+ "path": "./skills/design-ideate/skill.md",
37
+ "description": "Generate 3 divergent design directions",
38
+ "visibility": "public"
39
+ },
40
+ {
41
+ "name": "design-execute",
42
+ "command": "/design-execute",
43
+ "path": "./skills/design-execute/skill.md",
44
+ "description": "Build UI based on plan",
45
+ "visibility": "public"
46
+ },
47
+ {
48
+ "name": "design-review",
49
+ "command": "/design-review",
50
+ "path": "./skills/design-review/skill.md",
51
+ "description": "4-critic blind design review",
52
+ "visibility": "public"
53
+ },
54
+ {
55
+ "name": "design-iterate",
56
+ "command": "/design-iterate",
57
+ "path": "./skills/design-iterate/skill.md",
58
+ "description": "Improve based on review feedback",
59
+ "visibility": "public"
60
+ }
61
+ ],
62
+
63
+ "dependencies": {
64
+ "required": [
65
+ {
66
+ "name": "brand-building-skills",
67
+ "source": "arnabbagxd/brand-building-skills",
68
+ "autoInstall": true
69
+ },
70
+ {
71
+ "name": "grilling",
72
+ "source": "mattpocock/skills",
73
+ "skill": "grilling",
74
+ "autoInstall": true
75
+ }
76
+ ],
77
+ "optional": [
78
+ {
79
+ "name": "impeccable",
80
+ "source": "@impeccable/skills",
81
+ "description": "Advanced layout optimization and polish"
82
+ },
83
+ {
84
+ "name": "jakubkrehel-skills",
85
+ "source": "jakubkrehel/skills",
86
+ "description": "Additional design enhancements"
87
+ }
88
+ ]
89
+ },
90
+
91
+ "hooks": {
92
+ "pre-commit": "./hooks/pre-commit.sh"
93
+ },
94
+
95
+ "orchestrator": {
96
+ "enabled": true,
97
+ "invisible": true,
98
+ "intentPatterns": {
99
+ "setup": ["set up", "setup", "initialize", "start", "begin"],
100
+ "build": ["build", "create", "make", "design", "implement", "develop"],
101
+ "review": ["review", "check", "critique", "evaluate", "assess"],
102
+ "improve": ["improve", "fix", "iterate", "refine", "polish"]
103
+ }
104
+ },
105
+
106
+ "autoInstall": true,
107
+ "autoActivate": true
108
+ }