medesign 1.6.1 → 1.7.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ME-DESIGN v1.6.1
1
+ # ME-DESIGN v1.7.0
2
2
 
3
3
  **The Autonomous Design Engineering System, Deterministic Quality Linter & Auto-Compiler for AI Coding Assistants**
4
4
 
@@ -18,7 +18,32 @@
18
18
 
19
19
  Most AI-generated user interfaces suffer from **Decisionless Uniformity**: generic 3-card grids, oversaturated neon glows, clipping Thai/Latin font metrics, broken keyboard accessibility, and non-proportional press deformations.
20
20
 
21
- **ME-DESIGN** changes the paradigm from subjective aesthetic prompting to an **executable 5-Engine Design Architecture** coupled with a **Dual-Tier Quality Linter**, **Knowledge Discovery Search Engine**, **Self-Healing Code Repair**, **Interactive Brief Intake Gate (v2.3)**, and **74 Global Brand Multi-Pane Systems**.
21
+ **ME-DESIGN** changes the paradigm from subjective aesthetic prompting to an **executable Frontend Design Engineering Skill**:
22
+ - **Two-Level Workflow:** Fast Path for focused 1-component fixes, and Deep Path for whole-page architecture and product redesigns.
23
+ - **Context-First Design Intelligence:** Design decisions derived from product domain, target audience, and brand—never forced universal templates.
24
+ - **Deterministic Quality Linter:** Enforces 5 Non-Overridable Hard Invariants with source line & column diagnostics.
25
+ - **Safe Atomic Auto-Repair (`medesign polish`):** Candidate validation, quality regression guards, unified line diffs, and automatic rollback on failure.
26
+ - **Headless Chrome CDP Browser Audit:** Real computed contrast, keyboard tab focus, touch targets, and horizontal overflow across Mobile (390px), Tablet (820px), Desktop (1440px), and Windows High Contrast Mode.
27
+ - **Zero-Dependency CLI:** Pure Node.js standard library with OASIS SARIF v2.1.0 output for GitHub Code Scanning.
28
+
29
+ ---
30
+
31
+ ## ⚡ Two-Level Workflow (Fast Path vs. Deep Path)
32
+
33
+ ME-DESIGN automatically adapts to the scope of your request:
34
+
35
+ ### 1. Fast Path — Focused Component & Style Tweaks
36
+ For small requests (*"fix button spacing"*, *"make this section responsive"*, *"adjust font hierarchy"*):
37
+ - **Inspect:** Reads only the target component and local styles.
38
+ - **Act:** Applies the minimal surgical change preserving business logic.
39
+ - **Verify:** Runs targeted linter without forcing design workshops or multi-question intake rituals.
40
+
41
+ ### 2. Deep Path — New Surfaces & Product Redesigns
42
+ For major projects (*"build GIS dashboard"*, *"design e-commerce checkout"*, *"modernize portal"*):
43
+ 1. **Context & Brief Intake:** Detects mode (`new` / `revamp` / `like`), product domain, and audience.
44
+ 2. **Design Direction:** Proposes a deliberate visual concept, compact color palette, and motion profile.
45
+ 3. **Information Architecture & Implementation:** Semantic HTML5, accessible components, and full state coverage.
46
+ 4. **Deterministic Verification:** Static linter audit + CDP headless browser matrix verification.
22
47
 
23
48
  ---
24
49
 
@@ -37,7 +62,7 @@ Pre-rendered directly by ME-DESIGN's Headless Chrome CDP Engine across Desktop (
37
62
 
38
63
  ## ⚔️ Multi-Dimensional Competitive Benchmark
39
64
 
40
- | Dimension | `medesign` (v1.6.0) | `ui-ux-pro-max-skill` | `pbakaus/impeccable` |
65
+ | Dimension | `medesign` (v1.7.0) | `ui-ux-pro-max-skill` | `pbakaus/impeccable` |
41
66
  | :--- | :--- | :--- | :--- |
42
67
  | **Execution Architecture** | **Autonomous Node.js CLI & Deterministic Engine** | Prompt-only System Text | Markdown Guidelines & Rules |
43
68
  | **Brief Intake Protocol** | **Dual-Layer Auto-Intent Routing & 1-Click Cockpit Gate** | Free-form Prompting | Manual Instructions |
@@ -100,7 +125,7 @@ npm install -g medesign
100
125
  ### Verified CLI Commands
101
126
 
102
127
  ```text
103
- ME-DESIGN CLI v1.6.1
128
+ ME-DESIGN CLI v1.7.0
104
129
  Autonomous Design Engineering Toolkit & Automated Linter for AI Coding Assistants
105
130
 
106
131
  USAGE:
@@ -111,7 +136,7 @@ COMMANDS:
111
136
  Options: --json
112
137
 
113
138
  polish <file> Self-healing repair for Hard Invariants (MD005, MD104, em-dash)
114
- Options: --dry-run
139
+ Options: --dry-run, --diff
115
140
 
116
141
  bolder <file> Boost visual density, font weights, and border contrast
117
142
 
@@ -197,31 +222,43 @@ npx medesign quiet path/to/dashboard.html
197
222
  ### The Terminal Quality Audit Card
198
223
 
199
224
  ```text
200
- ME-DESIGN v1.6.0
225
+ ME-DESIGN vNext
201
226
  Design Quality & Governance Audit
202
227
  ────────────────────────────────────────
203
- Target dashboard.tsx
204
- Archetype Geospatial Situation Awareness (32)
205
- Analysis Deterministic Static Pattern Rules
206
- Ruleset medesign-standard@1.6.0
228
+ Target accessibility-contrast-fail.html
229
+ Preset DEFAULT
230
+ Analysis Static Pattern & Heuristic Rules (Confidence Gated)
231
+ Ruleset medesign-standard@1.7.0
207
232
 
208
233
  QUALITY SCORE (Q = 0.30H + 0.25I + 0.20G + 0.15R + 0.10V)
209
- Hierarchy (H) 94.0 / 100
210
- Information (I) 90.0 / 100
211
- Geometry (G) 92.0 / 100
212
- Responsive (R) 88.0 / 100
213
- Visual Craft (V) 95.0 / 100
234
+ Hierarchy (H) 95.0 / 100
235
+ Information (I) 65.0 / 100
236
+ Geometry (G) 85.0 / 100
237
+ Responsive (R) 80.0 / 100
238
+ Visual Craft (V) 90.0 / 100
214
239
 
215
- Q-SCORE 91.8 / 100 [PASS]
240
+ Q-SCORE 82.8 / 100 [FAIL]
241
+ (Note: Q-Score is a static pattern heuristic, not a direct measurement of rendered layout)
216
242
 
217
243
  HARD INVARIANTS CHECKLIST
218
- PASS Keyboard Focus Ring Visibility (:focus-visible)
219
- PASS Reduced Motion Compliance (@media prefers-reduced-motion)
220
- PASS Anti-AI Tells: Zero Em-Dash Invariant
221
- PASS Predictable DOM Order (No unsemantic dense flow)
244
+ FAIL MD001: Keyboard Focus Ring Visibility (:focus-visible)
245
+ FAIL MD002: Reduced Motion Compliance (@media prefers-reduced-motion)
246
+ FAIL MD003: Isolated Hit-Target Area (No raw scale-95 crushing)
247
+ PASS MD004: Interactive State Contract (No dead buttons)
248
+ FAIL MD005: High Contrast Focus Visibility (forced-colors: active outline)
249
+
250
+ FINDINGS (5)
251
+ error [14:11] MD001 (hard-invariant) Missing visible focus indicator (:focus-visible) for interactive controls.
252
+ -> Remediation: Define :focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
253
+ error [20:7] MD002 (hard-invariant) Animations/transitions detected without @media (prefers-reduced-motion) compliance gate.
254
+ -> Remediation: Add @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; } }
255
+ error [31:7] MD003 (hard-invariant) Detected raw scale(0.90-0.95) directly on interactive button container, collapsing touch hit-target.
256
+ -> Remediation: Isolate outer 44px hit-target container and scale only the inner .visual-surface using clamp(0.96, 1 - 2.5/max(W,H), 0.995).
257
+ error [14:5] MD005 (hard-invariant) Focus indicator relies on box-shadow or suppresses outline without replacement.
258
+ -> Remediation: Always specify a physical outline in focus styles: :focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
222
259
 
223
260
  ────────────────────────────────────────
224
- RESULT: PASS (Exit Code: 0)
261
+ RESULT: FAIL (4 hard invariant failures, Exit Code: 1)
225
262
  ```
226
263
 
227
264
  ---
@@ -230,12 +267,23 @@ RESULT: PASS (Exit Code: 0)
230
267
 
231
268
  ME-DESIGN provides shared rule adapters for all major agentic tools:
232
269
 
233
- - **Google Antigravity:** Native Skill supported under `skills/medesign/SKILL.md`
270
+ - **Google Antigravity:** Native Skill supported under `C:\Users\hotme\.gemini\config\skills\medesign\SKILL.md` (or workspace `.gemini/skills/medesign/SKILL.md`)
234
271
  - **Claude Code:** Copy `integrations/claude-code/SKILL.md` to `.claude/skills/medesign/SKILL.md`
235
272
  - **Cursor:** Copy `integrations/cursor/medesign.mdc` to `.cursor/rules/medesign.mdc`
273
+ - **Windsurf / OpenClaw / Generic Agents:** Link to root `SKILL.md` in `.agents/rules/` or `AGENTS.md`
274
+
275
+ ---
276
+
277
+ ## 📚 Architectural & Benchmark Documentation
278
+
279
+ - [Roadmap & Product Architecture](docs/roadmap/FRONTEND-DESIGN-SKILL-ROADMAP.md)
280
+ - [Competitive Benchmark Synthesis](docs/audit/COMPETITIVE-BENCHMARK.md)
281
+ - [Standardized 8-Task Benchmark Suite](docs/benchmark/BENCHMARK-SUITE.md)
282
+ - [Initial Source Audit](docs/audit/INITIAL-SOURCE-AUDIT.md)
283
+ - [Design Routing & Knowledge Guide](references/design-routing.md)
236
284
 
237
285
  ---
238
286
 
239
287
  ## 📄 License
240
288
 
241
- MIT License © 2026 Metha Triparamkit (Survey Engineering & Geoinformatics, Kasetsart University).
289
+ MIT License © 2026 Metha Tripraphankit (Survey Engineering & Geoinformatics, Kasetsart University).
package/SKILL.md ADDED
@@ -0,0 +1,169 @@
1
+ ---
2
+ name: medesign
3
+ description: "Design, build, improve, or review frontend UI/UX for websites and apps. Use when creating or refining pages, components, dashboards, and design systems for usability, visual craft, responsive layout, and a11y."
4
+ ---
5
+
6
+ # ME-DESIGN — Frontend Design & Engineering Skill
7
+
8
+ Help the user ship interfaces that are **specific to their product, easy to use, visually intentional, responsive, and technically safe**.
9
+
10
+ ME-DESIGN is not a fixed visual template. Choose design decisions from the brief, user task, content, brand, existing project and technical constraints. Use its references and tools as support—not as a substitute for judgement.
11
+
12
+ ## Operating principles
13
+
14
+ 1. **Understand the job before styling.** Identify the audience, primary user task, content and success condition from the request and repository. Ask only when a missing answer materially changes the work.
15
+ 2. **Inspect before changing.** For an existing project, inspect its framework, package scripts, components, tokens, routes, assets and nearby patterns. Reuse the established architecture unless there is a clear reason not to.
16
+ 3. **Design for this product.** Use the subject matter, audience, content and brand to create a visual direction. Avoid repeating a generic dashboard, three-card grid, gradient hero, dark theme, font pairing or rounded-card treatment by default.
17
+ 4. **Keep the user moving.** Prefer clear hierarchy, understandable copy, obvious actions, useful feedback, meaningful empty/error/loading states and predictable interaction.
18
+ 5. **Preserve behaviour.** Do not break business logic, data flow, routes, forms, permissions, state management or API contracts while changing presentation.
19
+ 6. **Use the smallest useful process.** A one-component fix does not need a full design workshop. A new product surface or substantial redesign deserves a deeper plan and review.
20
+ 7. **Be honest about verification.** Static lint, browser checks, screenshots and human design judgement are different evidence. Report only checks that actually ran.
21
+
22
+ ## Task routing
23
+
24
+ Choose the workflow from the user's intent. Natural-language requests are first-class; slash commands are optional shortcuts.
25
+
26
+ | User intent | Workflow |
27
+ |---|---|
28
+ | Create a new interface | Create |
29
+ | Improve or redesign an existing interface | Improve |
30
+ | Review an interface or find problems | Review |
31
+ | Adjust one specific quality dimension | Targeted craft |
32
+ | Find patterns, tokens or a visual direction | Design intelligence |
33
+ | Create slides, banners, logos or social graphics | Optional graphic-design references |
34
+
35
+ Read only the reference files needed for the task.
36
+
37
+ ## Fast path — small, clear changes
38
+
39
+ For focused requests such as "fix this spacing", "make the button clearer", or "make this section responsive":
40
+
41
+ 1. Inspect the relevant component and nearby styles.
42
+ 2. Identify the user's requested outcome and any project convention that matters.
43
+ 3. Make the smallest change that achieves it.
44
+ 4. Check the affected behaviour and run the most relevant available test or lint command.
45
+ 5. Briefly report what changed and what was checked.
46
+
47
+ Do not ask for a full brief, present unnecessary A/B directions, or refactor unrelated files.
48
+
49
+ ## Deep path — new surfaces or substantial redesigns
50
+
51
+ Use this for new pages, multi-section flows, major redesigns, or changes with important product/architecture decisions.
52
+
53
+ ### 1. Establish context
54
+ Read `references/brief-intake.md` when needed. Inspect the repository and identify:
55
+ - Product, audience and primary task
56
+ - Page/surface type and content hierarchy
57
+ - Existing design system, components and brand assets
58
+ - Framework, styling approach and relevant constraints
59
+ - Primary action and success state
60
+
61
+ If the brief is complete, proceed with reasonable assumptions. Ask one concise question only when the answer materially affects the design or implementation. (Fallback: หากไม่มี `ask_question` ให้ถามข้อความธรรมดาในแชต; หากไม่มี Node CLI ให้ตรวจทานด้วย 11 Craft Checklist ด้วยตนเอง)
62
+
63
+ ### 2. Choose a design direction
64
+ For a new or visibly redesigned surface, define a short direction before coding:
65
+ - One sentence describing the visual idea and why it fits this product
66
+ - A compact palette and type approach using project tokens where available
67
+ - Layout structure and hierarchy
68
+ - The distinctive element, and what should remain restrained
69
+
70
+ Offer alternatives only when the user asks or when there are genuinely different strategic directions. Do not force a direction pitch for small tasks.
71
+
72
+ ### 3. Plan the interface
73
+ Plan around the user's task, not a decorative component catalogue:
74
+ - Put the most important information and action where users can find them.
75
+ - Use real content and product-specific visuals whenever available.
76
+ - Choose density, navigation and layout appropriate to the surface.
77
+ - Include the relevant states: default, hover/focus, active, loading, empty, error, success and disabled—only where applicable.
78
+ - Consider mobile, keyboard use, long content and localization early.
79
+
80
+ ### 4. Implement in the existing stack
81
+ - Follow the repository's component and styling conventions.
82
+ - Prefer existing components and tokens over duplicate systems.
83
+ - Keep components understandable and avoid unnecessary abstraction.
84
+ - Use semantic HTML and accessible names.
85
+ - Make controls functional; do not ship decorative buttons that appear actionable.
86
+ - Avoid fake data, placeholder copy and unfinished visual slots unless the user explicitly requests a prototype.
87
+ - Do not add dependencies without a clear benefit.
88
+
89
+ ### 5. Review and refine
90
+ Review the result against the brief:
91
+ - Does the hierarchy communicate the primary task quickly?
92
+ - Does the visual direction feel specific rather than generic?
93
+ - Is the content clear and concise?
94
+ - Are spacing, typography, colour and alignment coherent?
95
+ - Are interaction states and feedback complete?
96
+ - Does the layout work at relevant viewport sizes?
97
+ - Did the change preserve existing behaviour?
98
+
99
+ If browser access is available, inspect rendered screenshots at relevant viewport sizes and fix visible problems. Use the quality gate below for the applicable checks.
100
+
101
+ ## Targeted craft workflows
102
+
103
+ Load only the relevant references:
104
+
105
+ - **Typography / Thai and Latin scripts:** `references/typography-thai-latin.md`
106
+ - **Layout, spacing and visual hierarchy:** `references/design-core.md`, `references/modern-craft-invariants.md`
107
+ - **Motion and interaction:** `references/motion-tokens.md`, `references/compositor-smoothness.md`
108
+ - **Accessibility and implementation review:** `references/quality-gate.md`, `references/redesign-audit.md`
109
+ - **Existing site retrofit:** `references/web-retrofit-protocol.md`
110
+ - **Component or modal:** `references/components.md`
111
+ - **Extract a visual system:** `references/style-extraction.md`
112
+ - **Brand inspiration:** `references/brand-design-tokens.md` or `references/style-extraction.md`
113
+ - **Archetype search:** `references/argon-design-archetypes.md`
114
+ - **Image/mockup to code:** `references/image-to-code.md`
115
+
116
+ Brand and style references are inspiration, not permission to copy proprietary assets or duplicate a site pixel-for-pixel. Extract general principles and create an original implementation that fits the user's brief.
117
+
118
+ ## Commands and tools
119
+
120
+ The CLI is optional support. Use it when it helps the current task; do not run every command by habit.
121
+
122
+ | Command | Use |
123
+ |---|---|
124
+ | `medesign search <query>` | Find relevant archetypes and design knowledge |
125
+ | `medesign lint <file>` | Run static source-pattern checks |
126
+ | `medesign audit <file>` | Run the available browser audit |
127
+ | `medesign polish <file> --dry-run` | Preview supported code transformations |
128
+ | `medesign snapshot <file>` | Capture rendered screenshots |
129
+ | `medesign tokens export` | Export preset tokens |
130
+ | `medesign presets list` | Inspect available presets |
131
+
132
+ Before applying an automatic repair, preview it when the change is broad or could alter layout/content. Review the diff. Never assume a transformation is safe merely because it is available.
133
+
134
+ ## Quality gate
135
+
136
+ Use `references/quality-gate.md` for the checks applicable to the deliverable (Squint Test, Grayscale, 10-State Matrix). ปิดท้ายด้วย `Gate: quality-gate.md - pass` เสมอ **เฉพาะข้อความที่ส่งมอบโค้ดเท่านั้น** (ข้อความเสนอทิศทาง A/B ไม่ต้องใส่ Gate) Separate results into:
137
+
138
+ - **Static checks:** source patterns and structural heuristics.
139
+ - **Browser checks:** rendered styles, geometry, viewport behaviour and interaction.
140
+ - **Design review:** task fit, hierarchy, visual distinctiveness and content clarity.
141
+ - **Unverified:** checks that could not be run.
142
+
143
+ A static Q-Score is a heuristic, not a direct measurement of visual quality or accessibility. Never claim browser verification if only static lint ran. If a tool is unavailable, say so and provide the best manual fallback.
144
+
145
+ Do not treat a visual preference—such as a particular font, dark palette, em-dash usage, Bento layout, gradient or motion style—as a universal accessibility invariant.
146
+
147
+ ## Delivery
148
+
149
+ For completed work, provide a concise summary:
150
+ - What changed and why
151
+ - Files or components affected
152
+ - Tests, lint, browser checks or screenshots actually run
153
+ - Any known limitation or remaining follow-up
154
+
155
+ Do not claim PASS for a check that did not run. Do not merge or publish changes unless the user explicitly asks.
156
+
157
+ ## Optional graphic-design routes
158
+
159
+ When the user explicitly requests a slide deck, banner, logo, social graphic, report or mockup, route to the corresponding reference rather than forcing the frontend workflow:
160
+
161
+ - Slides: `references/slides.md`
162
+ - Executive report: `references/executive-reports.md`
163
+ - Banner: `references/banner-sizes-and-styles.md`
164
+ - Social graphics: `references/social-photos-design.md`
165
+ - Logo / identity: `references/logo-design.md`, `references/cip-design.md`
166
+ - Icon: `references/icon-design.md`
167
+ - Mockup: `references/image-mockup-direction.md`
168
+
169
+ For those requests, follow the requested output format and use the relevant specialist instructions.
package/bin/medesign.js CHANGED
@@ -267,6 +267,7 @@ ${ANSI_GRAY}──────────────────────
267
267
  case 'polish': {
268
268
  const isHelp = args.includes('--help') || args.includes('-h');
269
269
  const dryRun = args.includes('--dry-run');
270
+ const showDiff = args.includes('--diff');
270
271
  const targetFile = args.slice(1).find(a => !a.startsWith('--'));
271
272
 
272
273
  if (!targetFile || isHelp) {
@@ -280,6 +281,7 @@ ${ANSI_BOLD}Usage:${ANSI_RESET}
280
281
 
281
282
  ${ANSI_BOLD}Options:${ANSI_RESET}
282
283
  --dry-run Preview potential repairs without modifying files on disk
284
+ --diff Display unified line diff of proposed changes
283
285
 
284
286
  ${ANSI_BOLD}Repairs & Aesthetic Compilations:${ANSI_RESET}
285
287
  - Elevates generic typography to curated Archetypes (Geist / Plus Jakarta Sans / JetBrains Mono)
@@ -303,14 +305,22 @@ ${ANSI_BOLD}Repairs & Aesthetic Compilations:${ANSI_RESET}
303
305
  }
304
306
 
305
307
  const linterScript = path.join(rootDir, 'tests', 'linter.js');
306
- let beforeQ = 80.0;
308
+ const beforeRes = spawnSync(process.execPath, [linterScript, resolvedPath, '--json'], { encoding: 'utf8' });
309
+ let beforeReport;
307
310
  try {
308
- const beforeRes = spawnSync(process.execPath, [linterScript, resolvedPath, '--json'], { encoding: 'utf8' });
309
- const parsed = JSON.parse(beforeRes.stdout);
310
- beforeQ = parsed.qScore || 80.0;
311
- } catch (e) {}
311
+ beforeReport = JSON.parse(beforeRes.stdout);
312
+ } catch (e) {
313
+ console.error(`${ANSI_RED}Error:${ANSI_RESET} Pre-repair audit did not return valid JSON; source file was not changed.`);
314
+ process.exit(1);
315
+ }
316
+ if (beforeRes.error || !beforeReport || !Number.isFinite(beforeReport.qScore) || typeof beforeReport.passed !== 'boolean') {
317
+ console.error(`${ANSI_RED}Error:${ANSI_RESET} Pre-repair audit report is incomplete; source file was not changed.`);
318
+ process.exit(1);
319
+ }
320
+ const beforeQ = beforeReport.qScore;
312
321
 
313
- let content = fs.readFileSync(resolvedPath, 'utf8');
322
+ const originalContent = fs.readFileSync(resolvedPath, 'utf8');
323
+ let content = originalContent;
314
324
  const fixes = [];
315
325
 
316
326
  const getClean = (src) => src.replace(/\/\*[\s\S]*?\*\//g, '').replace(/<!--[\s\S]*?-->/g, '');
@@ -588,40 +598,97 @@ ${ANSI_BOLD}Repairs & Aesthetic Compilations:${ANSI_RESET}
588
598
  fixes.push('Injected safe concentric radius formula max(0px, r_outer - border_w - pad) (MD103)');
589
599
  }
590
600
 
601
+ function printUnifiedDiff(orig, mod, filename) {
602
+ const origLines = orig.split('\n');
603
+ const modLines = mod.split('\n');
604
+ console.log(`\n${ANSI_BOLD}--- a/${path.basename(filename)}${ANSI_RESET}`);
605
+ console.log(`${ANSI_BOLD}+++ b/${path.basename(filename)}${ANSI_RESET}`);
606
+ let i = 0, j = 0;
607
+ let diffCount = 0;
608
+ while (i < origLines.length || j < modLines.length) {
609
+ if (i < origLines.length && j < modLines.length && origLines[i] === modLines[j]) {
610
+ i++; j++;
611
+ } else {
612
+ if (i < origLines.length && (j >= modLines.length || origLines[i] !== modLines[j])) {
613
+ console.log(`${ANSI_RED}- ${origLines[i]}${ANSI_RESET}`);
614
+ i++;
615
+ diffCount++;
616
+ }
617
+ if (j < modLines.length && (i >= origLines.length || modLines[j] !== origLines[i])) {
618
+ console.log(`${ANSI_GREEN}+ ${modLines[j]}${ANSI_RESET}`);
619
+ j++;
620
+ diffCount++;
621
+ }
622
+ if (diffCount > 60) {
623
+ console.log(`${ANSI_GRAY}... (diff truncated for terminal clarity)${ANSI_RESET}`);
624
+ break;
625
+ }
626
+ }
627
+ }
628
+ console.log('');
629
+ }
630
+
591
631
  if (dryRun) {
592
632
  console.log(`\n${ANSI_YELLOW}${ANSI_BOLD}[POLISH DRY-RUN PREVIEW]${ANSI_RESET} ${fixes.length} potential repairs identified for ${ANSI_CYAN}${path.basename(resolvedPath)}${ANSI_RESET}`);
593
633
  fixes.forEach(f => console.log(` ${ANSI_CYAN}Preview:${ANSI_RESET} ${f}`));
634
+ if (showDiff && fixes.length > 0) {
635
+ printUnifiedDiff(originalContent, content, resolvedPath);
636
+ }
594
637
  console.log(`\n${ANSI_GRAY}Dry-run mode: Target file was not modified on disk.${ANSI_RESET}\n`);
595
638
  process.exit(0);
596
639
  }
597
640
 
598
- fs.writeFileSync(resolvedPath, content, 'utf8');
599
-
600
- let afterQ = beforeQ;
601
- let isPassed = true;
641
+ const candidatePath = `${resolvedPath}.medesign-${process.pid}.tmp`;
642
+ let afterQ;
602
643
  let hardFailures = [];
644
+ let isPassed = false;
603
645
  try {
604
- const afterRes = spawnSync(process.execPath, [linterScript, resolvedPath, '--json'], { encoding: 'utf8' });
605
- const parsed = JSON.parse(afterRes.stdout);
606
- afterQ = parsed.qScore !== undefined ? parsed.qScore : beforeQ;
607
- isPassed = parsed.passed !== undefined ? parsed.passed : (afterQ >= 75);
608
- hardFailures = parsed.hardFailures || [];
609
- } catch (e) {}
610
-
611
- const statusBadge = isPassed ? `${ANSI_GREEN}PASS${ANSI_RESET}` : `${ANSI_RED}FAIL${ANSI_RESET}`;
612
- console.log(`\n${ANSI_GREEN}${ANSI_BOLD}[POLISH COMPLETED]${ANSI_RESET} ${fixes.length} issues automatically repaired in ${ANSI_CYAN}${path.basename(resolvedPath)}${ANSI_RESET}`);
613
- fixes.forEach(f => console.log(` ${ANSI_GREEN}Fixed:${ANSI_RESET} ${f}`));
614
- console.log(`${ANSI_BOLD}Q-Score:${ANSI_RESET} ${beforeQ.toFixed(1)} -> ${ANSI_GREEN}${ANSI_BOLD}${afterQ.toFixed(1)}${ANSI_RESET} [${statusBadge}]\n`);
615
-
616
- if (!isPassed) {
617
- console.error(`${ANSI_RED}${ANSI_BOLD}[GATE REJECTED]${ANSI_RESET} File still contains unresolved violations after auto-repair:`);
646
+ fs.writeFileSync(candidatePath, content, 'utf8');
647
+ const afterRes = spawnSync(process.execPath, [linterScript, candidatePath, '--json'], { encoding: 'utf8' });
648
+ if (afterRes.error) throw afterRes.error;
649
+ const afterReport = JSON.parse(afterRes.stdout);
650
+ if (!afterReport || !Number.isFinite(afterReport.qScore) || typeof afterReport.passed !== 'boolean') {
651
+ throw new Error('Post-repair audit report is incomplete');
652
+ }
653
+ afterQ = afterReport.qScore;
654
+ isPassed = afterReport.passed;
655
+ hardFailures = Array.isArray(afterReport.hardFailures) ? afterReport.hardFailures : [];
656
+ } catch (e) {
657
+ try { fs.unlinkSync(candidatePath); } catch (_) {}
658
+ console.error(`${ANSI_RED}Error:${ANSI_RESET} Post-repair audit failed (${e.message}); original file was preserved.`);
659
+ process.exit(1);
660
+ }
661
+
662
+ if (!isPassed || (Number.isFinite(beforeQ) && afterQ < beforeQ)) {
663
+ try { fs.unlinkSync(candidatePath); } catch (_) {}
664
+ console.error(`${ANSI_RED}${ANSI_BOLD}[GATE REJECTED]${ANSI_RESET} Candidate failed verification or regressed; original file was preserved:`);
618
665
  if (hardFailures.length > 0) {
619
666
  const failureNames = hardFailures.map(f => typeof f === 'string' ? f : `${f.ruleId} (${f.ruleName || 'Violation'})`).join(', ');
620
667
  console.error(` ${ANSI_RED}Hard Invariant Failures:${ANSI_RESET} ${failureNames}`);
621
668
  }
669
+ if (Number.isFinite(beforeQ) && afterQ < beforeQ) {
670
+ console.error(` ${ANSI_RED}Quality Regression:${ANSI_RESET} Q-Score regressed from ${beforeQ.toFixed(1)} to ${afterQ.toFixed(1)}`);
671
+ }
672
+ console.error(` Q-Score: ${Number.isFinite(afterQ) ? afterQ.toFixed(1) : 'unavailable'}`);
622
673
  process.exit(1);
623
674
  }
624
675
 
676
+ try {
677
+ fs.renameSync(candidatePath, resolvedPath);
678
+ } catch (e) {
679
+ try { fs.unlinkSync(candidatePath); } catch (_) {}
680
+ console.error(`${ANSI_RED}Error:${ANSI_RESET} Could not safely replace original file (${e.message}); original file was preserved.`);
681
+ process.exit(1);
682
+ }
683
+
684
+ const statusBadge = `${ANSI_GREEN}PASS${ANSI_RESET}`;
685
+ console.log(`\n${ANSI_GREEN}${ANSI_BOLD}[POLISH COMPLETED]${ANSI_RESET} ${fixes.length} changes applied and verified in ${ANSI_CYAN}${path.basename(resolvedPath)}${ANSI_RESET}`);
686
+ fixes.forEach(f => console.log(` ${ANSI_GREEN}Applied:${ANSI_RESET} ${f}`));
687
+ if (showDiff && fixes.length > 0) {
688
+ printUnifiedDiff(originalContent, content, resolvedPath);
689
+ }
690
+ console.log(`${ANSI_BOLD}Static Q-Score:${ANSI_RESET} ${beforeQ.toFixed(1)} -> ${ANSI_GREEN}${ANSI_BOLD}${afterQ.toFixed(1)}${ANSI_RESET} [${statusBadge}]\n`);
691
+
625
692
  process.exit(0);
626
693
  }
627
694
 
@@ -963,6 +1030,8 @@ ${ANSI_BOLD}Usage:${ANSI_RESET}
963
1030
  const major = parseInt(nodeVer.slice(1).split('.')[0], 10);
964
1031
  const nodeOk = major >= 18;
965
1032
  console.log(`Node.js Runtime: ${nodeOk ? ANSI_GREEN + nodeVer + ' (Supported)' : ANSI_RED + nodeVer + ' (Requires >= 18.0.0)'}${ANSI_RESET}`);
1033
+ const hasWs = typeof WebSocket !== 'undefined';
1034
+ console.log(`Native WebSocket: ${hasWs ? ANSI_GREEN + 'Available (CDP Browser Audits Supported)' : ANSI_YELLOW + 'Unavailable (Browser Audits Require Node >= 20.10.0)'}${ANSI_RESET}`);
966
1035
 
967
1036
  const chromeCandidates = [
968
1037
  process.env.CHROME_PATH,
@@ -0,0 +1,51 @@
1
+ No,Deliverable,Category,Keywords,Description,Dimensions,File Format,Logo Placement,Color Usage,Typography Notes,Mockup Context,Best Practices,Avoid
2
+ 1,Primary Logo,Core Identity,logo main primary brand mark,Main logo used as primary brand identifier,Vector scalable,SVG AI EPS PNG,Center prominent,Full color palette,Primary typeface,Clean background product shots,Ensure clear space maintain proportions,Distortion crowding busy backgrounds
3
+ 2,Logo Variations,Core Identity,logo alternate secondary horizontal vertical,Alternative logo formats for different applications,Vector scalable,SVG AI EPS PNG,Context dependent,Mono color reverse,Consistent with primary,Various application contexts,Create horizontal vertical stacked icon versions,Inconsistent modifications unauthorized changes
4
+ 3,Business Card,Stationery,namecard card contact professional,Professional contact card with brand identity,3.5x2 inches 85x55mm,PDF AI print-ready,Front center or corner,Primary secondary colors,Name title contact details,Marble wood desk surface,Premium paper stock spot UV foil,Cluttered design too many fonts cheap paper
5
+ 4,Letterhead,Stationery,letter paper document official,Branded document paper for official correspondence,A4 Letter size,PDF AI Word template,Top header or corner,Subtle brand colors,Body text headers,Flat lay with pen envelope,Consistent margins proper hierarchy,Overpowering logo excessive graphics
6
+ 5,Envelope,Stationery,envelope mail correspondence,Branded envelopes for business mail,DL C4 C5 sizes,PDF AI print-ready,Flap or front corner,Primary brand color,Return address company name,Stacked with letterhead cards,Match letterhead design system,Misaligned printing poor paper quality
7
+ 6,Folder,Stationery,folder presentation document holder,Presentation folder for documents,A4 Letter pocket folder,PDF AI die-cut template,Front cover spine,Full brand colors,Company tagline contact,Business documents inside,Pockets die-cuts premium finish,Flimsy material poor construction
8
+ 7,Notebook,Stationery,notebook journal notepad branded,Branded notebooks for employees or gifts,A5 A6 sizes,Print cover design,Front cover emboss,Cover in brand colors,Logo minimal text,Desk flat lay with pen,Quality binding emboss or deboss,Cheap paper poor binding
9
+ 8,Pen,Promotional,pen writing instrument promo,Branded pens for promotional use,Standard pen dimensions,Vector for print,Barrel clip,Limited color 1-2,Logo only or tagline,Product shot lifestyle,Quality mechanism smooth writing,Cheap mechanism poor print
10
+ 9,ID Badge,Security Access,badge identification employee pass,Employee identification and access card,CR80 86x54mm,PDF AI template,Center or top,Photo area brand colors,Name department title,Lanyard neck office setting,Clear photo area security features,Poor photo quality cluttered design
11
+ 10,Lanyard,Security Access,lanyard neck strap badge holder,Neck strap for ID badges,20-25mm width,Vector repeat pattern,Continuous pattern,Primary brand color,Logo repeated or continuous,Worn with badge professional,Quality material comfortable width,Scratchy material cheap clips
12
+ 11,Access Card,Security Access,key card rfid access control,Electronic access control card,CR80 standard,PDF AI template,One side or both,Minimal brand colors,Card number access level,Security context door reader,Functional design clear hierarchy,Security info visible cluttered
13
+ 12,Reception Signage,Office Environment,lobby reception wall sign 3D,Main reception area brand signage,Custom based on wall,3D fabrication files,Center of wall,Backlit or dimensional,Logo only or with tagline,Modern office lobby interior,Backlit LED brushed metal acrylic,Poor lighting cheap materials dim
14
+ 13,Wayfinding Signage,Office Environment,directional signs navigation office,Interior navigation and directional signs,Various sizes,AI vector templates,Consistent placement,Secondary palette,Clear readable fonts,Hallway corridor office,Consistent system clear hierarchy,Inconsistent styles poor visibility
15
+ 14,Meeting Room Signs,Office Environment,conference room name plate door,Meeting room identification signs,A5 A6 custom,AI templates,Center or left,Accent colors,Room name capacity,Glass door or wall mounted,Digital or static consistent style,Hard to read small text
16
+ 15,Wall Graphics,Office Environment,mural wall art brand values,Large scale wall murals and graphics,Wall dimensions,Large format print,Full wall coverage,Full palette gradients,Mission values quotes,Open office space,Inspiring messaging quality install,Peeling edges poor resolution
17
+ 16,Window Graphics,Office Environment,glass frosted privacy film,Frosted or printed window graphics,Window dimensions,Vector cut files,Privacy zones branding,Frosted with logo,Minimal text,Glass partitions entrance,Privacy function brand presence,Blocking natural light cluttered
18
+ 17,Desk Accessories,Office Environment,desk organizer mousepad coaster,Branded desk items for employees,Various sizes,Print-ready files,Product surface,Subtle branding,Logo tagline,Desktop lifestyle shot,Useful quality materials,Purely decorative poor quality
19
+ 18,Polo Shirt,Apparel,polo uniform employee clothing,Branded polo shirts for staff,S M L XL XXL,Embroidery vector,Left chest back,Garment brand colors,Logo small embroidered,Folded or worn lifestyle,Quality fabric embroidery,Cheap fabric poor embroidery
20
+ 19,T-Shirt,Apparel,tshirt casual staff event,Casual branded t-shirts,S M L XL XXL,Screen print vector,Center chest back,Limited colors 1-3,Logo tagline graphic,Flat lay or worn model,Quality cotton proper sizing,Cheap material design too large
21
+ 20,Cap Hat,Apparel,cap hat headwear baseball,Branded caps and hats,One size adjustable,Embroidery vector,Front center,1-2 colors embroidery,Logo small,Product shot worn,Quality embroidery structured cap,Cheap construction poor embroidery
22
+ 21,Jacket,Apparel,jacket outerwear coat uniform,Branded jackets for outdoor staff,S M L XL XXL,Embroidery vector,Left chest back,Garment brand colors,Logo department,Lifestyle outdoor shot,Quality material practical design,Impractical poor quality
23
+ 22,Apron,Apparel,apron uniform service hospitality,Branded aprons for service staff,Standard adjustable,Screen print embroidery,Center chest,Workwear colors,Logo business name,Hospitality setting,Durable material functional pockets,Poor material impractical design
24
+ 23,Tote Bag,Promotional,bag shopping eco reusable,Branded reusable shopping bags,Various sizes,Screen print vector,Center both sides,1-2 colors typically,Logo tagline,Lifestyle shopping context,Quality canvas sturdy handles,Cheap material weak handles
25
+ 24,Paper Bag,Promotional,shopping bag retail paper,Retail paper shopping bags,Small medium large,Print template,Side and front,Full color or kraft,Logo website,Retail product context,Quality paper rope or ribbon handles,Cheap paper weak handles
26
+ 25,Gift Box,Promotional,packaging box gift premium,Premium gift packaging boxes,Various sizes,Die-cut templates,Lid or all sides,Brand colors patterns,Logo minimal text,Unboxing product shot,Quality board magnetic closure,Cheap cardboard poor construction
27
+ 26,USB Drive,Promotional,flash drive storage tech promo,Branded USB flash drives,Standard USB size,Print area template,Drive surface,Limited 1-2 colors,Logo only,Product shot tech context,Quality drive sufficient storage,Cheap mechanism low storage
28
+ 27,Water Bottle,Promotional,bottle drink drinkware hydration,Branded water bottles,500ml 750ml 1L,Print wrap template,Wrap or pad print,Bottle brand colors,Logo tagline,Lifestyle fitness outdoor,Quality insulated BPA-free,Cheap plastic leaking poor insulation
29
+ 28,Mug Cup,Promotional,mug cup drinkware coffee,Branded mugs and cups,Standard 11oz 15oz,Sublimation vector,Wrap or one side,Full color sublimation,Logo tagline graphic,Lifestyle office desk,Quality ceramic dishwasher safe,Cheap material poor print durability
30
+ 29,Umbrella,Promotional,umbrella rain promotional,Branded umbrellas,Standard compact golf,Panel print template,Panels or handle,Limited panel colors,Logo repeated,Lifestyle rainy weather,Quality mechanism wind resistant,Cheap mechanism breaks easily
31
+ 30,Car Sedan,Vehicle,company car sedan branding,Sedan vehicle branding wrap,Vehicle template,Vehicle wrap template,Doors hood trunk,Partial or full wrap,Logo contact URL,Side angle motion blur,Professional installation quality vinyl,Amateur install bubbles peeling
32
+ 31,Van,Vehicle,delivery van transport branding,Van and delivery vehicle branding,Vehicle template,Vehicle wrap template,All sides back,Bold visible colors,Logo contact services,Street delivery context,Maximum visibility contact info,Cluttered hard to read
33
+ 32,Truck,Vehicle,truck lorry freight branding,Large truck and lorry branding,Vehicle template,Large format wrap,Sides rear trailer,High contrast visible,Logo contact large scale,Highway road context,High visibility fleet consistency,Inconsistent fleet poor visibility
34
+ 33,Social Media Profile,Digital,avatar profile picture social,Social media profile pictures,Various platform sizes,PNG JPG optimized,Center crop safe,Simplified for small,Logo icon only,Platform context preview,Recognizable at small size,Too detailed loses clarity
35
+ 34,Social Media Cover,Digital,banner cover header social,Social media cover and header images,Platform specific sizes,PNG JPG optimized,Safe zone placement,Full brand expression,Tagline campaign message,Platform context preview,Platform-specific safe zones,Text in unsafe crop zones
36
+ 35,Email Signature,Digital,email signature footer contact,Professional email signature,600px max width,HTML responsive,Left aligned,Limited colors web-safe,Name title contact links,Email client preview,Responsive clean links,Images blocked heavy files
37
+ 36,Website Favicon,Digital,favicon browser icon tab,Browser tab icon,16x16 32x32 ICO,ICO PNG SVG,Centered square,Simplified colors,Icon only,Browser tab context,Recognizable at tiny size,Too complex loses form
38
+ 37,PowerPoint Template,Digital,presentation slides deck,Branded presentation templates,16:9 4:3 widescreen,PPTX template,Footer header title,Full brand system,Heading body fonts,Presentation meeting context,Master slides consistent layouts,Inconsistent slides poor hierarchy
39
+ 38,Document Template,Digital,word document letterhead template,Branded document templates,A4 Letter,DOCX template,Header footer,Subtle consistent,Body heading styles,Document printed digital,Easy to use consistent,Hard to edit breaks formatting
40
+ 39,Invoice Template,Digital,invoice billing financial document,Branded invoice templates,A4 Letter,PDF XLSX template,Header corner,Professional minimal,Clear hierarchy amounts,Financial context payment,Clear totals payment details,Confusing layout unclear totals
41
+ 40,Packaging Box,Product,product box retail package,Product packaging boxes,Product specific,Dieline templates,Principal display panel,Retail appeal,Product name features,Retail shelf context,Stand out shelf appeal,Lost among competitors bland
42
+ 41,Packaging Label,Product,label sticker product tag,Product labels and stickers,Various sizes,Vector dieline,Product surface,Brand compliant,Product required info,Applied to product,Regulatory compliant appealing,Missing required info poor adhesion
43
+ 42,Product Tag,Product,hang tag swing tag retail,Hang tags and swing tags,Standard custom sizes,Die-cut template,Front centered,Brand colors,Product price info,Attached to product,Quality card stock string,Cheap card tears easily
44
+ 43,Retail Display,Product,POP display stand retail,Point of purchase displays,Custom dimensions,Structural design,Display surfaces,Bold attention-getting,Brand product promo,Retail store context,Sturdy eye-catching,Flimsy unstable falls apart
45
+ 44,Trade Show Booth,Events,exhibition stand booth display,Trade show booth design,10x10 10x20 custom,Large format print,Backdrop walls,Bold visible colors,Company key messages,Exhibition hall context,Professional portable modular,Cheap materials hard to assemble
46
+ 45,Banner Stand,Events,roll up pull up banner,Retractable banner stands,80x200cm standard,Large format print,Full height center,Bold readable,Key message CTA,Event lobby entrance,Quality print mechanism,Flimsy curling edges poor mechanism
47
+ 46,Table Cover,Events,tablecloth throw event,Branded table covers,6ft 8ft standard,Fabric print,Front and sides,Full brand expression,Logo tagline contact,Event booth table,Wrinkle-resistant fitted,Wrinkles cheap fabric poor fit
48
+ 47,Backdrop,Events,media wall step repeat backdrop,Event backdrops and media walls,Custom event size,Large format print,Repeat pattern logo,Limited colors works on camera,Logo repeated pattern,Event photo opportunity,Photo-friendly repeat pattern,Random placement looks awkward
49
+ 48,Name Badge Event,Events,event badge conference delegate,Event name badges,CR80 custom sizes,Template design,Top with logo,Event brand colors,Name company title,Conference event context,Clear name large enough,Name too small hard to read
50
+ 49,Lanyard Event,Events,event lanyard conference sponsor,Event branded lanyards,20-25mm width,Repeat pattern,Continuous or repeat,Event sponsor colors,Event name sponsors,Worn at event,Quality material sponsor visibility,Scratchy poor print quality
51
+ 50,Certificate,Documents,certificate award achievement,Achievement and recognition certificates,A4 Letter,Print template,Top header,Gold premium accents,Achievement details,Framed or presented,Premium paper emboss seal,Cheap paper looks unofficial
@@ -0,0 +1,21 @@
1
+ No,Industry,Keywords,CIP Style,Primary Colors,Secondary Colors,Typography,Key Deliverables,Mood,Best Practices,Avoid
2
+ 1,Technology,tech software saas startup digital,Modern Tech Geometric,#6366F1 #0EA5E9 #10B981,#8B5CF6 #F8FAFC,Geometric sans modern,Business cards office signage digital templates vehicle,Innovative forward-thinking,Clean lines digital-first responsive,Dated fonts clip art overly complex
3
+ 2,Finance Banking,bank finance investment wealth,Corporate Minimal Classic,#003366 #1E3A8A #D4AF37,#0F766E #F8FAFC,Traditional serif modern sans,Premium stationery office signage certificates,Trustworthy established,Conservative premium materials security,Trendy effects casual playful
4
+ 3,Legal,law firm attorney legal services,Classic Traditional,#0F172A #1E3A8A #D4AF37,#713F12 #F5F5F4,Serif traditional professional,Letterhead certificates folders office,Authoritative trustworthy,Traditional balanced symmetrical,Playful colors casual fonts
5
+ 4,Healthcare,medical hospital clinic wellness,Fresh Modern Minimal,#0077B6 #10B981 #FFFFFF,#0891B2 #F0FDF4,Clean professional sans,Staff uniforms ID badges signage,Caring professional clean,Calming colors simple shapes,Red aggressive clinical harsh
6
+ 5,Real Estate,property housing development agency,Corporate Minimal Fresh,#0F766E #1E3A8A #D4AF37,#0369A1 #F8FAFC,Clean professional sans,Signage vehicle branding folders,Professional trustworthy,Premium materials quality finish,Cheap materials trendy effects
7
+ 6,Hospitality,hotel resort restaurant hospitality,Luxury Premium Elegant,#D4AF37 #0F172A #FFFFFF,#8B4513 #FAFAF9,Elegant serif script,Uniforms stationery room signage,Welcoming luxurious,Consistent guest experience,Inconsistent cheap materials
8
+ 7,Food Beverage,restaurant cafe food service,Warm Organic Vintage,#DC2626 #F97316 #8B4513,#CA8A04 #DEB887,Friendly script bold sans,Uniforms packaging signage menus,Appetizing inviting,Warm colors friendly appeal,Cold clinical sterile
9
+ 8,Fashion,clothing apparel luxury brand,Luxury Premium Monochrome,#000000 #FFFFFF #D4AF37,#44403C #F5F5F5,Elegant serif thin sans,Shopping bags packaging tags,Sophisticated elegant,Minimal premium refined,Trendy clipart cheap materials
10
+ 9,Beauty Cosmetics,skincare makeup salon spa,Soft Elegant,#F472B6 #D4AF37 #FFFFFF,#FDA4AF #FDF2F8,Elegant script thin sans,Packaging uniforms salon signage,Elegant feminine,Soft premium quality,Harsh masculine industrial
11
+ 10,Education,school university learning,Fresh Modern Classic,#4F46E5 #059669 #FFFFFF,#7C3AED #F0FDF4,Clear readable professional,Certificates ID badges signage stationery,Trustworthy growth,Clear readable balanced,Overly playful unprofessional
12
+ 11,Sports Fitness,gym athletic sports club,Bold Dynamic,#DC2626 #F97316 #000000,#FBBF24 #FFFFFF,Bold condensed strong,Uniforms gym signage merchandise,Energetic powerful,Bold dynamic movement,Weak passive static
13
+ 12,Entertainment,music events media gaming,Bold Dynamic Gradient,#7C3AED #EC4899 #F59E0B,#06B6D4 #FFFFFF,Bold display creative,Event materials merchandise promotional,Exciting dynamic,Vibrant unique memorable,Conservative boring static
14
+ 13,Automotive,car dealership service repair,Bold Dynamic Industrial,#DC2626 #1E3A8A #000000,#F97316 #FFFFFF,Bold modern sans,Vehicle branding uniforms signage,Powerful reliable,Strong clean professional,Weak delicate feminine
15
+ 14,Construction,building contractor development,Industrial Bold,#F97316 #334155 #FFFFFF,#CA8A04 #1F2937,Strong bold sans,Vehicles signage uniforms safety gear,Strong reliable,Bold simple recognizable,Delicate complex trendy
16
+ 15,Agriculture,farm organic produce natural,Warm Organic Natural,#228B22 #8B4513 #DEB887,#22C55E #F5F5DC,Organic friendly readable,Packaging vehicles signage,Natural sustainable,Earth tones organic materials,Industrial cold synthetic
17
+ 16,Non-Profit,charity organization foundation,Fresh Modern Warm,#0891B2 #10B981 #F97316,#F472B6 #FFFFFF,Clear readable warm,Stationery event materials certificates,Caring hopeful,Clear message warm colors,Corporate cold complex
18
+ 17,Consulting,business strategy management,Corporate Minimal Swiss,#0F172A #3B82F6 #FFFFFF,#10B981 #F8FAFC,Professional clean sans,Premium stationery presentations,Professional expert,Clean simple professional,Playful casual complex
19
+ 18,Retail,shop store marketplace,Fresh Modern Playful,#6366F1 #F97316 #10B981,#EC4899 #FFFFFF,Modern friendly sans,Shopping bags signage uniforms,Modern friendly,Simple memorable scalable,Complex dated traditional
20
+ 19,Manufacturing,factory production industrial,Industrial Raw Bold,#374151 #F97316 #FFFFFF,#1F2937 #D6D3D1,Strong bold condensed,Vehicle branding uniforms signage safety,Strong reliable industrial,Durable visible functional,Delicate decorative impractical
21
+ 20,Logistics,shipping transport freight,Bold Dynamic Corporate,#0369A1 #F97316 #FFFFFF,#1E3A8A #F8FAFC,Bold modern sans,Fleet vehicles uniforms ID badges,Efficient reliable,Clear visible scalable fleet,Inconsistent fleet hard to read
@@ -0,0 +1,21 @@
1
+ No,Context Name,Category,Keywords,Scene Description,Lighting,Environment,Props,Camera Angle,Background,Style Notes,Best For,Prompt Modifiers
2
+ 1,Marble Desk,Stationery,marble luxury desk surface premium,Business cards on white marble desk surface,Soft natural daylight,Minimalist desk setup,Pen plant small decor,45 degree overhead,White grey marble veins,Clean shadows soft edges,Business cards letterhead,photorealistic soft shadows luxury
3
+ 2,Wooden Table,Stationery,wood natural warm rustic table,Stationery items on warm wooden table,Warm natural light,Cozy workspace,Coffee cup notebook,Flat lay overhead,Warm wood grain texture,Natural warm tones,Notebooks folders organic brands,warm tones natural textures
4
+ 3,Concrete Surface,Modern,concrete industrial urban minimalist,Items on raw concrete surface,Dramatic directional,Industrial minimal,Minimal geometric,Direct overhead,Grey concrete texture,High contrast dramatic,Tech modern industrial brands,dramatic lighting industrial minimal
5
+ 4,Dark Background,Premium,dark moody black sophisticated,Items floating on dark background,Dramatic rim light,Studio dark,None minimal,Product centered,Deep black gradient,Dramatic luxurious,Luxury premium dark brands,dramatic rim lighting luxury
6
+ 5,White Studio,Clean,white clean studio bright minimal,Clean studio shot white background,Bright even lighting,White infinity curve,None clean,Product centered,Pure white seamless,Clean professional,All brands product focused,clean white professional studio
7
+ 6,Office Lobby,Environment,reception lobby corporate office,Reception area with brand signage,Bright modern office,Modern office interior,Plants furniture,Wide architectural,Glass wood modern materials,Architectural modern,Office signage reception,architectural photography modern office
8
+ 7,Meeting Room,Environment,conference meeting corporate glass,Meeting room with brand elements,Natural window light,Modern glass walls,Conference table chairs,Interior wide angle,Glass partitions wood,Contemporary professional,Meeting room signs presentations,corporate interior photography
9
+ 8,Retail Store,Environment,shop retail display store,Retail environment with branded elements,Bright retail lighting,Modern retail space,Displays products,Interior wide,Modern retail fixtures,Retail contemporary,Shopping bags displays retail,retail interior photography
10
+ 9,Street Scene,Vehicle,urban street city car,Vehicle on urban street,Daylight golden hour,City street scene,Buildings pedestrians,3/4 front angle,Urban architecture,Dynamic urban,Vehicle branding fleet,urban photography dynamic
11
+ 10,Parking Lot,Vehicle,parking corporate lot fleet,Fleet vehicles in parking,Overcast soft light,Corporate parking,Multiple vehicles,Wide establishing,Modern building,Fleet organized,Fleet multiple vehicles,fleet photography corporate
12
+ 11,Highway Motion,Vehicle,road highway motion blur,Vehicle in motion on highway,Daylight clear,Highway motion,Road markings blur,Side tracking shot,Blurred background motion,Dynamic speed,Vehicle branding dynamic,motion photography speed
13
+ 12,Trade Show,Events,exhibition booth event show,Trade show booth setup,Bright exhibition,Convention center,Displays banners,Wide booth view,Exhibition hall,Professional event,Booth banners displays,exhibition photography trade show
14
+ 13,Conference,Events,conference event professional,Conference event setup,Stage lighting,Conference venue,Podium screens,Wide room view,Professional venue,Professional formal,Backdrops badges lanyards,event photography conference
15
+ 14,Outdoor Event,Events,outdoor festival event brand,Outdoor event with brand presence,Natural daylight,Outdoor venue,Tents flags banners,Wide establishing,Sky outdoor space,Fresh dynamic,Outdoor banners flags tents,outdoor event photography
16
+ 15,Lifestyle Desk,Digital,workspace laptop desk lifestyle,Modern workspace with digital devices,Soft natural light,Modern workspace,Laptop phone notebook,Overhead angle,Clean desk surface,Lifestyle modern,Digital mockups social media,lifestyle photography workspace
17
+ 16,Hand Holding,Product,hand holding product lifestyle,Hand holding branded item,Soft natural light,Neutral environment,Human hand product,Close-up detail,Blurred background,Human connection,Business cards products,lifestyle product photography
18
+ 17,Flat Lay,Product,flat lay arranged organized,Organized flat lay arrangement,Even overhead light,Neutral surface,Multiple items arranged,Direct overhead,Clean surface,Organized aesthetic,Multiple items stationery,flat lay photography arranged
19
+ 18,Unboxing,Product,unboxing packaging reveal,Package opening reveal moment,Soft directional,Clean surface,Packaging tissue,Overhead angle,Neutral background,Premium reveal,Gift boxes packaging,unboxing photography premium
20
+ 19,Fashion Model,Apparel,model wearing fashion lifestyle,Model wearing branded apparel,Fashion lighting,Studio or location,Model styling,Fashion portrait,Clean or contextual,Fashion lifestyle,Uniforms apparel clothing,fashion photography lifestyle
21
+ 20,Product Grid,Catalog,grid multiple products organized,Multiple products organized grid,Even lighting,White background,Multiple items,Direct overhead,Pure white,Catalog clean,Multiple variations colors,catalog photography grid