enterprise-ui-architect-cli 2.2.0 → 2.2.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/assets/SKILL.md +231 -25
- package/assets/data/anti-patterns.csv +5 -0
- package/assets/data/industries.csv +16 -16
- package/assets/data/pre-delivery-checklist.csv +8 -0
- package/assets/data/styles.csv +16 -16
- package/assets/templates/base/skill-content.md +4 -4
- package/assets/templates/platforms/copilot.json +4 -1
- package/assets/templates/platforms/cursor.json +4 -1
- package/assets/templates/platforms/windsurf.json +4 -1
- package/dist/commands/audit-ui.d.ts +3 -1
- package/dist/commands/audit-ui.d.ts.map +1 -1
- package/dist/commands/audit-ui.js +145 -113
- package/dist/commands/audit-ui.js.map +1 -1
- package/dist/commands/verify-i18n.d.ts +1 -1
- package/dist/commands/verify-i18n.d.ts.map +1 -1
- package/dist/commands/verify-i18n.js +61 -17
- package/dist/commands/verify-i18n.js.map +1 -1
- package/dist/commands/verify-imports.d.ts +1 -1
- package/dist/commands/verify-imports.d.ts.map +1 -1
- package/dist/commands/verify-imports.js +20 -13
- package/dist/commands/verify-imports.js.map +1 -1
- package/dist/index.js +41 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/assets/SKILL.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: enterprise-ui-architect
|
|
3
|
+
description: >
|
|
4
|
+
AI skill for building premium enterprise admin dashboards with MUI v7,
|
|
5
|
+
design system intelligence, backend integration patterns, package import
|
|
6
|
+
verification, and translation discipline.
|
|
7
|
+
---
|
|
8
|
+
|
|
1
9
|
# Enterprise UI Architect
|
|
2
10
|
|
|
3
11
|
## Description
|
|
@@ -96,6 +104,39 @@ design-system/
|
|
|
96
104
|
|
|
97
105
|
When building a specific page, check for page overrides first, then fall back to MASTER.
|
|
98
106
|
|
|
107
|
+
### Brief Inference (Taste Skill v2)
|
|
108
|
+
Before generating, infer the design direction from the project context:
|
|
109
|
+
- **Industry** — fintech, healthcare, logistics, SaaS, e-commerce, government
|
|
110
|
+
- **Audience** — internal admins, external bidders, mixed roles, public citizens
|
|
111
|
+
- **Mood** — authoritative, calm, urgent, playful, clinical, luxury
|
|
112
|
+
- **Motion Depth** — static (government), subtle (SaaS), moderate (fintech), expressive (consumer)
|
|
113
|
+
- **Layout Family** — dense data-grid, card-heavy, wizard/stepper, kanban, map+sidebar
|
|
114
|
+
|
|
115
|
+
Use these inferences to weight the generated design system. Do not apply a generic template.
|
|
116
|
+
|
|
117
|
+
### Design System Map
|
|
118
|
+
Choose the underlying system based on context, not habit:
|
|
119
|
+
|
|
120
|
+
| Context | Recommended System | Why |
|
|
121
|
+
|---|---|---|
|
|
122
|
+
| Enterprise admin, dense tables, form-heavy | MUI v7 (native) | Best token coverage, density, accessibility |
|
|
123
|
+
| Consumer app, marketing pages, landing | shadcn/ui + Tailwind | Composable, modern aesthetics, fast iteration |
|
|
124
|
+
| Government, compliance, accessibility-first | USWDS / GOV.UK | WCAG 2.2 AA baked in, proven patterns |
|
|
125
|
+
| Microsoft ecosystem, Office-like | Fluent UI | Native ecosystem integration |
|
|
126
|
+
| IBM/enterprise data viz | Carbon Design | Data-heavy, scientific precision |
|
|
127
|
+
| Shopify ecosystem | Polaris | E-commerce native patterns |
|
|
128
|
+
| GitHub/developer tools | Primer | Developer-centric density |
|
|
129
|
+
| Bootstrap legacy migration | Bootstrap 5 | Gradual migration path |
|
|
130
|
+
|
|
131
|
+
When in doubt, default to MUI v7 for admin dashboards. Never mix two full systems on the same page.
|
|
132
|
+
|
|
133
|
+
### Dark Mode Protocol
|
|
134
|
+
Dual-mode by default. Generate dark mode alongside light mode for every new page:
|
|
135
|
+
- Use `alpha()` for overlays and borders, not hardcoded hex
|
|
136
|
+
- Ensure contrast and hierarchy parity across themes
|
|
137
|
+
- Test Skeleton loaders in both modes
|
|
138
|
+
- Verify focus rings remain visible in dark mode
|
|
139
|
+
|
|
99
140
|
## Component Stack
|
|
100
141
|
- **UI Components**: `@mui/material` v7
|
|
101
142
|
- **Forms**: `react-hook-form` + `Controller`
|
|
@@ -138,7 +179,8 @@ Enterprise admin panels support configurable layout modes:
|
|
|
138
179
|
- Footer content width independent of main content width
|
|
139
180
|
|
|
140
181
|
## Theme Augmentation
|
|
141
|
-
MUI v7 requires module augmentation for custom variants and theme properties
|
|
182
|
+
MUI v7 requires module augmentation for custom variants and theme properties.
|
|
183
|
+
**`tonal` is a custom variant, not native to MUI v7.** Every augmented variant must have a corresponding `theme.components` definition or the component will render without styles.
|
|
142
184
|
|
|
143
185
|
```typescript
|
|
144
186
|
// types.ts
|
|
@@ -163,6 +205,27 @@ declare module '@mui/material/Pagination' {
|
|
|
163
205
|
}
|
|
164
206
|
```
|
|
165
207
|
|
|
208
|
+
**Required theme override for `tonal`:**
|
|
209
|
+
```typescript
|
|
210
|
+
// theme.ts
|
|
211
|
+
const theme = createTheme({
|
|
212
|
+
components: {
|
|
213
|
+
MuiButton: {
|
|
214
|
+
variants: [
|
|
215
|
+
{
|
|
216
|
+
props: { variant: 'tonal' },
|
|
217
|
+
style: {
|
|
218
|
+
backgroundColor: 'rgba(0, 0, 0, 0.08)',
|
|
219
|
+
color: 'inherit',
|
|
220
|
+
// add your tonal styles here
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
});
|
|
227
|
+
```
|
|
228
|
+
|
|
166
229
|
Custom theme properties:
|
|
167
230
|
```typescript
|
|
168
231
|
declare module '@mui/material/styles' {
|
|
@@ -243,7 +306,7 @@ python scripts/search.py --query "fintech" --domain industries -n 1
|
|
|
243
306
|
```
|
|
244
307
|
|
|
245
308
|
## UI Styles for Admin Dashboards
|
|
246
|
-
The skill includes
|
|
309
|
+
The skill includes 10 admin-appropriate UI styles:
|
|
247
310
|
|
|
248
311
|
| Style | Best For | Suitability |
|
|
249
312
|
|---|---|---|
|
|
@@ -297,8 +360,8 @@ Common admin chart patterns:
|
|
|
297
360
|
- **Geographic**: Map, Choropleth
|
|
298
361
|
- **Correlation**: Scatter Plot, Heatmap
|
|
299
362
|
|
|
300
|
-
## Pre-Delivery
|
|
301
|
-
Every page must pass these checks before shipping
|
|
363
|
+
## Functional QA Checklist (Pre-Delivery)
|
|
364
|
+
Every page must pass these functional checks before shipping. For motion, prose, and anti-slop validation, run the **Craft & Motion Audit** after this checklist.
|
|
302
365
|
|
|
303
366
|
### Universal Checks (All Pages)
|
|
304
367
|
- [ ] All interactive elements have hover states and cursor-pointer
|
|
@@ -398,17 +461,20 @@ When backend is not available:
|
|
|
398
461
|
| GraphQL + subscriptions | Apollo Client subscriptions or TanStack Query polling |
|
|
399
462
|
|
|
400
463
|
## Operating Modes
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
-
|
|
404
|
-
-
|
|
405
|
-
-
|
|
406
|
-
-
|
|
407
|
-
-
|
|
408
|
-
-
|
|
464
|
+
The skill adapts its output based on the current mode. When a mode is active, apply the corresponding rules:
|
|
465
|
+
|
|
466
|
+
- **Implementation**: Full component code, props, styles, and tests. Assume backend API exists.
|
|
467
|
+
- **Review**: Structured critique using the Review Output Format. No new code unless fixing a flagged issue.
|
|
468
|
+
- **Refactor**: Preserve working patterns; modernize with explicit levers. Document each change.
|
|
469
|
+
- **Planning / Architecture**: High-level structure, file layout, state management decisions, and API contract suggestions.
|
|
470
|
+
- **Design System Generation**: Theme tokens, component primitives, and pattern library. No business logic.
|
|
471
|
+
- **Data Source Integration**: Adapter functions, TanStack Query hooks, loading/error/empty states.
|
|
472
|
+
- **Cursor Prompt Generation**: Concise, copy-pasteable prompts for .cursorrules or AI chat.
|
|
409
473
|
|
|
410
474
|
## Page Pattern Mapping
|
|
411
|
-
|
|
475
|
+
> **TODO:** Full guidance for each page type is planned but not yet implemented. Until then, use the component standards and Functional QA Checklist above, plus industry-specific patterns from the data files.
|
|
476
|
+
|
|
477
|
+
Planned page types:
|
|
412
478
|
- CRUD List Page
|
|
413
479
|
- Complex Form Page
|
|
414
480
|
- Dashboard Page
|
|
@@ -418,15 +484,6 @@ Include detailed guidance for:
|
|
|
418
484
|
- Auth Page
|
|
419
485
|
- Blank Layout
|
|
420
486
|
|
|
421
|
-
For each page type, include:
|
|
422
|
-
- Visual pattern
|
|
423
|
-
- MUI architectural equivalent
|
|
424
|
-
- reusable components
|
|
425
|
-
- required states
|
|
426
|
-
- accessibility requirements
|
|
427
|
-
- responsive behavior
|
|
428
|
-
- anti-patterns
|
|
429
|
-
|
|
430
487
|
## Drawer vs Dialog vs Page Rules
|
|
431
488
|
Use Dialog for:
|
|
432
489
|
- delete confirmation
|
|
@@ -456,14 +513,14 @@ Every production table should use `@tanstack/react-table` and support:
|
|
|
456
513
|
- sorting
|
|
457
514
|
- filtering (faceted + global)
|
|
458
515
|
- search (debounced 500ms)
|
|
459
|
-
- pagination via MUI `Pagination` (`shape='rounded'` `variant='tonal'`)
|
|
516
|
+
- pagination via MUI `Pagination` (`shape='rounded'` `variant='tonal'` — custom, see Theme Augmentation)
|
|
460
517
|
- server-side pagination when needed
|
|
461
518
|
- loading state
|
|
462
519
|
- empty state
|
|
463
520
|
- error state
|
|
464
521
|
- row actions via `OptionMenu`
|
|
465
522
|
- optional bulk actions via `rowSelection`
|
|
466
|
-
- status chips via MUI `Chip` (`variant='tonal'`)
|
|
523
|
+
- status chips via MUI `Chip` (`variant='tonal'` — custom, see Theme Augmentation)
|
|
467
524
|
- formatted date/number values
|
|
468
525
|
- responsive behavior (horizontal scroll)
|
|
469
526
|
- accessible headers
|
|
@@ -510,7 +567,7 @@ Avoid:
|
|
|
510
567
|
- one-off shadows
|
|
511
568
|
- heavy inline `sx` props on generic primitives
|
|
512
569
|
- business-specific styling inside generic UI primitives
|
|
513
|
-
- using `item` prop
|
|
570
|
+
- using legacy `Grid` `item` prop; prefer `Grid2` (unstable) with `size` props
|
|
514
571
|
|
|
515
572
|
## Package Import Discipline
|
|
516
573
|
|
|
@@ -610,6 +667,41 @@ Before marking a feature complete:
|
|
|
610
667
|
- [ ] No hardcoded user-facing strings remain
|
|
611
668
|
- [ ] `enterprise-ui verify-i18n` passes with zero missing keys
|
|
612
669
|
|
|
670
|
+
## Browser UI Audit
|
|
671
|
+
Use the CLI `audit-ui` command to automatically verify pages in a headless browser before shipping:
|
|
672
|
+
|
|
673
|
+
```bash
|
|
674
|
+
npx enterprise-ui audit-ui --url http://localhost:3000 --routes /,/az/login --output ./ui-audit
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
This command:
|
|
678
|
+
1. Launches a headless Chromium browser
|
|
679
|
+
2. Navigates to each specified route
|
|
680
|
+
3. Captures full-page screenshots
|
|
681
|
+
4. Collects console errors and warnings
|
|
682
|
+
5. Runs automated checks:
|
|
683
|
+
- Page title present and meaningful
|
|
684
|
+
- Viewport meta tag exists
|
|
685
|
+
- All images have `alt` or `aria-hidden`
|
|
686
|
+
- All buttons have accessible names
|
|
687
|
+
- All links have `href` and accessible text
|
|
688
|
+
- All form inputs have associated labels
|
|
689
|
+
- No console errors or warnings
|
|
690
|
+
6. Writes a markdown report to `./ui-audit/audit-report.md`
|
|
691
|
+
|
|
692
|
+
### When to run
|
|
693
|
+
- After every significant page refactor
|
|
694
|
+
- Before opening a pull request
|
|
695
|
+
- After dependency updates that might affect rendering
|
|
696
|
+
- When verifying responsive layouts at different viewports
|
|
697
|
+
|
|
698
|
+
### CI integration
|
|
699
|
+
Add to your test pipeline:
|
|
700
|
+
```bash
|
|
701
|
+
npx enterprise-ui audit-ui --url http://localhost:3000 --routes /,/admin,/login
|
|
702
|
+
```
|
|
703
|
+
The command exits with code 1 if any route fails checks, making it suitable for CI gates.
|
|
704
|
+
|
|
613
705
|
## Keyboard Navigation
|
|
614
706
|
MUI components require specific keyboard patterns:
|
|
615
707
|
|
|
@@ -626,6 +718,120 @@ MUI components require specific keyboard patterns:
|
|
|
626
718
|
| Menu | Arrow keys navigate items; Escape closes; Enter activates |
|
|
627
719
|
| Dialog | Escape closes; Tab traps focus; Return focus to trigger on close |
|
|
628
720
|
|
|
721
|
+
## Motion Design Principles
|
|
722
|
+
> Motion principles inspired by [Emil Kowalski](https://emilkowalski.xyz/).
|
|
723
|
+
|
|
724
|
+
When implementing animations and transitions, apply this frequency-based decision framework:
|
|
725
|
+
|
|
726
|
+
### 1. Should this animate at all?
|
|
727
|
+
| Frequency | Decision |
|
|
728
|
+
|---|---|
|
|
729
|
+
| 100+ times/day (keyboard shortcuts, command palette) | No animation. Ever. |
|
|
730
|
+
| Tens of times/day (hover effects, list navigation) | Remove or drastically reduce |
|
|
731
|
+
| Occasional (modals, drawers, toasts) | Standard animation |
|
|
732
|
+
| Rare/first-time (onboarding, celebrations) | Can add delight |
|
|
733
|
+
|
|
734
|
+
### 2. Timing Guardrails
|
|
735
|
+
Keep UI animations under 300ms. Perceived performance matters as much as actual speed.
|
|
736
|
+
|
|
737
|
+
| Element | Duration |
|
|
738
|
+
|---|---|
|
|
739
|
+
| Button press feedback | 100–160ms |
|
|
740
|
+
| Tooltips, small popovers | 125–200ms |
|
|
741
|
+
| Dropdowns, selects | 150–250ms |
|
|
742
|
+
| Modals, drawers | 200–500ms |
|
|
743
|
+
| Marketing / explanatory | Can be longer |
|
|
744
|
+
|
|
745
|
+
### 3. Easing Selection
|
|
746
|
+
Never use `ease-in` for UI animations — it starts slow and feels sluggish. Use custom curves:
|
|
747
|
+
|
|
748
|
+
```css
|
|
749
|
+
/* Strong ease-out for UI interactions */
|
|
750
|
+
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
|
|
751
|
+
|
|
752
|
+
/* Strong ease-in-out for on-screen movement */
|
|
753
|
+
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
|
|
754
|
+
|
|
755
|
+
/* iOS-like drawer curve */
|
|
756
|
+
--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
|
|
757
|
+
```
|
|
758
|
+
|
|
759
|
+
### 4. Implementation Rules
|
|
760
|
+
- Only animate `transform` and `opacity` — GPU-composited, no layout/paint
|
|
761
|
+
- Never animate from `scale(0)` — start from `scale(0.95)` with `opacity: 0`
|
|
762
|
+
- Use CSS transitions (not keyframes) for interruptible UI states
|
|
763
|
+
- Add `transform: scale(0.97)` on `:active` for press feedback
|
|
764
|
+
- Make popovers origin-aware: scale from trigger, not center (modals stay centered)
|
|
765
|
+
- Respect `prefers-reduced-motion`: fewer and gentler animations, not zero
|
|
766
|
+
- Gate hover animations behind `@media (hover: hover) and (pointer: fine)`
|
|
767
|
+
|
|
768
|
+
## Prose Discipline
|
|
769
|
+
> Prose discipline adapted from the **Impeccable** skill (editorial brief: denylist, throat-clearing bans, verbs-lead rule).
|
|
770
|
+
|
|
771
|
+
When writing documentation, CHANGELOG entries, commit messages, or skill output:
|
|
772
|
+
|
|
773
|
+
### Principles
|
|
774
|
+
1. **Concrete over comprehensive.** Coverage is an AI obsession. Trade coverage for momentum. Leave things out.
|
|
775
|
+
2. **Verbs lead. Nouns follow.** Imperative is fine. Active voice.
|
|
776
|
+
3. **Name names. Use numbers.** Real file paths, real version numbers, real benchmarks. Cut "lightweight"; write "54 KB".
|
|
777
|
+
4. **Vary sentence length on purpose.** Long, long, short. Smooth uniform rhythm is the deepest AI tell.
|
|
778
|
+
5. **Read it aloud. Fix anything you stumble over.**
|
|
779
|
+
|
|
780
|
+
### Denylist — Banned AI-Tell Words
|
|
781
|
+
Never use these in user-facing prose:
|
|
782
|
+
|
|
783
|
+
| Banned | Use instead |
|
|
784
|
+
|---|---|
|
|
785
|
+
| `delve`, `delves`, `delving` | "Look at", "explore", or delete the throat-clearing verb |
|
|
786
|
+
| `robust`, `robustness` | Cite the failure mode handled |
|
|
787
|
+
| `seamless`, `seamlessly` | Say what specifically works without friction |
|
|
788
|
+
| `elevate`, `elevates` | Use the specific verb (improve, raise, sharpen) |
|
|
789
|
+
| `empower`, `empowers` | "Let you", "make possible" |
|
|
790
|
+
| `underscore`, `underscores` | "Show", "make clear" |
|
|
791
|
+
| `pivotal` | "Central", "key", or describe the role |
|
|
792
|
+
| `tapestry` | Cut entirely |
|
|
793
|
+
|
|
794
|
+
### Throat-Clearing Bans
|
|
795
|
+
Cut these openers and closers:
|
|
796
|
+
- "In today's ..."
|
|
797
|
+
- "Gone are the days"
|
|
798
|
+
- "Whether you're ..."
|
|
799
|
+
- "Let's dive in"
|
|
800
|
+
- "In summary", "In conclusion"
|
|
801
|
+
- "Moreover", "Furthermore"
|
|
802
|
+
|
|
803
|
+
## Craft & Motion Audit (Pre-Flight Checklist)
|
|
804
|
+
Every output — page, component, or refactor — must honestly pass every checkbox before shipping. This audit covers motion discipline, prose quality, and anti-slop validation. Run it **after** the Functional QA Checklist.
|
|
805
|
+
|
|
806
|
+
### Motion Audit
|
|
807
|
+
- [ ] No animation on keyboard-initiated actions used 100+ times/day
|
|
808
|
+
- [ ] All UI animations ≤ 300ms
|
|
809
|
+
- [ ] No `ease-in` on UI elements
|
|
810
|
+
- [ ] No `transition: all` — exact properties specified
|
|
811
|
+
- [ ] No `scale(0)` entrances
|
|
812
|
+
- [ ] `prefers-reduced-motion` respected
|
|
813
|
+
- [ ] Only `transform` and `opacity` animated
|
|
814
|
+
|
|
815
|
+
### Prose Audit
|
|
816
|
+
- [ ] No denylist words in user-facing text
|
|
817
|
+
- [ ] No throat-clearing openers/closers
|
|
818
|
+
- [ ] Concrete numbers where possible
|
|
819
|
+
- [ ] Verbs lead, active voice
|
|
820
|
+
|
|
821
|
+
### Anti-Slop Validation
|
|
822
|
+
- [ ] No generic AI-tool glow, glassmorphism, or neon gradients unless explicitly requested
|
|
823
|
+
- [ ] No placeholder text, Lorem Ipsum, or "sample data" in shipped output
|
|
824
|
+
- [ ] No half-finished sections — complete or remove
|
|
825
|
+
- [ ] Component primitives used before inventing new classes
|
|
826
|
+
- [ ] Design tokens used instead of hardcoded values
|
|
827
|
+
|
|
828
|
+
### Redesign Protocol (existing projects)
|
|
829
|
+
When refactoring an existing page:
|
|
830
|
+
1. Audit first — identify structural and visual problems before changing code
|
|
831
|
+
2. Preserve working patterns — do not break existing user flows
|
|
832
|
+
3. Modernize with explicit levers — document each change and why
|
|
833
|
+
4. Run the hard pre-flight check before finalizing
|
|
834
|
+
|
|
629
835
|
## Review Output Format
|
|
630
836
|
When reviewing implementation, always output:
|
|
631
837
|
|
|
@@ -56,3 +56,8 @@ id,area,bad_pattern,why_bad,fix
|
|
|
56
56
|
55,Dependencies,Adding new imports without verifying the package is installed,Build fails in CI or for teammates TypeScript errors runtime crashes silent failures,Always check package.json before adding an import If package is missing ask user for confirmation then install with the correct package manager
|
|
57
57
|
57,Dependencies,Adding translation keys in source code without updating all locale files,Users see raw keys or missing text in unsupported languages breaks i18n contract,When adding t(key) always add the key to every messages locale file Run verify-i18n to check
|
|
58
58
|
56,i18n,Adding translation keys in code without updating all locale files,Users see raw keys or missing text in unsupported languages breaks i18n contract,When adding t(key) always add the key to every messages locale file Run verify-i18n to check
|
|
59
|
+
58,Motion,Animating UI elements with duration over 300ms,Feels sluggish and unresponsive degrades perceived performance especially on repeated interactions,Keep UI animations under 300ms use 100-160ms for button feedback 150-250ms for dropdowns
|
|
60
|
+
59,Motion,Using ease-in easing on UI animations,Starts slow making the interface feel sluggish and unresponsive users watch the initial moment most closely,Always use ease-out or custom cubic-bezier for UI animations never ease-in
|
|
61
|
+
60,Motion,Using transition all instead of exact properties,Triggers layout and paint on properties that should not animate hurts performance and causes visual glitches,Specify exact properties transition transform 200ms ease-out opacity 200ms ease-out
|
|
62
|
+
61,Motion,Animating elements from scale 0,Nothing in the real world appears from nothing looks artificial and jarring,Start from scale 0.95 combined with opacity 0 for natural entrances
|
|
63
|
+
62,Motion,Animating padding margin width or height,Triggers layout recalculation and paint severe performance impact especially on scroll or resize,Only animate transform and opacity they are GPU-composited and skip layout
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
id,industry,display_name,pattern,style_priority,color_mood,typography_mood,key_effects,anti_patterns
|
|
2
|
-
1,saas,SaaS / B2B Platform,Feature-Rich Dashboard + Onboarding,bento-grid minimalism soft-ui,Clean blues + white + accent purple,Inter / Public Sans sans-serif,Micro-interactions smooth transitions 200ms subtle shadows,Skeuomorphism bright neon colors cluttered hero slow animations
|
|
3
|
-
2,fintech,Fintech / Banking,Data-Dense Dashboard + Transaction Table,minimalism dark-mode glassmorphism,Deep navy + emerald green + gold accents,Plus Jakarta Sans / DM Sans modern geometric,Real-time data updates subtle pulse animations card hover elevation,Playful colors rounded corners everywhere emoji icons insufficient contrast
|
|
4
|
-
3,healthcare,Healthcare / Medical,Patient List + Appointment Calendar + Charts,minimalism accessible soft-ui,Soft teal + white + warm gray + alert red,Open Sans / Roboto highly readable,Clear visual hierarchy status badges with icons gentle transitions,Small text poor contrast complex medical jargon without tooltips missing loading states
|
|
5
|
-
4,ecommerce,E-commerce Admin,Order Management + Inventory Grid + Sales Charts,bento-grid data-dense,Orange accent + white + dark sidebar + success green,Inter / Source Sans Pro clean functional,Quick actions contextual menus real-time stock indicators,Bright sales-y colors distracting animations missing empty states for out-of-stock
|
|
6
|
-
5,logistics,Logistics / Supply Chain,Map + Shipment Tracker + Fleet Table,real-time glassmorphism,Deep blue + bright cyan + warning amber + map green,Roboto Mono / Inter monospace for tracking IDs,Map integrations timeline views live status indicators,Cluttered maps poor mobile experience missing offline indicators
|
|
7
|
-
6,hr,HR / People Management,Employee Directory + Org Chart + Payroll Table,minimalism soft-ui bento-grid,Warm purple + soft gray + white + status colors,Work Sans / Lato friendly professional,Profile cards org tree visualizations approval workflows,Overly casual fonts missing privacy indicators complex navigation too many clicks
|
|
8
|
-
7,crm,CRM / Sales,Pipeline Board + Contact List + Activity Feed,bento-grid soft-ui,Electric blue + white + warm gray + deal stage colors,Inter / SF Pro clean crisp,Drag-drop pipeline activity timelines win/loss indicators,Missing empty pipeline states poor mobile card layout overwhelming notifications
|
|
9
|
-
8,erp,ERP / Manufacturing,Production Dashboard + Inventory + BOM Table,data-dense executive,Industrial gray + safety orange + machine blue + alert red,IBM Plex Sans / Roboto technical precise,Machine status gauges production line visuals alert banners,Overly decorative fonts cluttered tables missing real-time indicators slow refresh
|
|
10
|
-
9,education,Education / LMS,Course List + Student Progress + Gradebook,minimalism accessible soft-ui,Academic blue + warm white + success green + caution amber,Lora / Open Sans readable elegant,Progress bars achievement badges calendar views,Childish fonts excessive gamification poor accessibility missing progress persistence
|
|
11
|
-
10,government,Government / Public Sector,Case Management + Document List + Reporting,minimalism accessible,Official blue + white + gray + priority red,Merriweather / Open Sans formal trustworthy,Clear status workflows document version tracking audit trails,Political colors overly modern flashy design missing WCAG compliance complex language
|
|
12
|
-
11,cybersecurity,Cybersecurity / SOC,Alert Feed + Threat Map + Incident Table,dark-mode ai-native,Deep black + alert red + cyber cyan + warning amber,Fira Code / Inter monospace for logs technical,Dark theme real-time alerts threat level indicators SOC timeline,Light theme by default poor alert visibility cluttered dashboards missing severity colors
|
|
13
|
-
12,real-estate,Real Estate / Property,Property Grid + Map + Lead Pipeline,bento-grid soft-ui,Premium navy + gold accent + white + status green,Playfair Display / Inter luxury clean,Property cards map pins lead scoring visual comparison tools,Excessive imagery poor table performance missing price formatting cluttered filters
|
|
14
|
-
13,energy,Energy / Utilities,Grid Monitor + Meter Readings + Outage Map,real-time data-dense,Power blue + grid yellow + outage red + eco green,Roboto / Source Sans Pro technical functional,Real-time gauges geographic outage maps consumption charts,Missing time-series data poor mobile map experience slow data refresh
|
|
15
|
-
14,media,Media / Content Management,Asset Library + Editorial Calendar + Analytics,minimalism bento-grid,Dark charcoal + vibrant accent + white + video red,Montserrat / Inter modern dynamic,Media previews drag-drop upload editorial timeline engagement charts,Cluttered asset grids missing metadata poor search missing preview thumbnails
|
|
16
|
-
15,nonprofit,Nonprofit / NGO,Donor CRM + Campaign Tracker + Impact Dashboard,soft-ui accessible minimalism,Hope blue + growth green + warm white + heart red,Merriweather / Lora trustworthy warm,Donor profiles campaign progress impact visualization volunteer management,Overly corporate design missing donation CTAs poor mobile donation flow complex reporting
|
|
1
|
+
id,industry,display_name,pattern,style_priority,color_mood,typography_mood,key_effects,anti_patterns,motion_depth,brief_inference
|
|
2
|
+
1,saas,SaaS / B2B Platform,Feature-Rich Dashboard + Onboarding,bento-grid minimalism soft-ui,Clean blues + white + accent purple,Inter / Public Sans sans-serif,Micro-interactions smooth transitions 200ms subtle shadows,Skeuomorphism bright neon colors cluttered hero slow animations,subtle,SaaS buyers expect calm professional interfaces with clear value proposition and self-serve onboarding
|
|
3
|
+
2,fintech,Fintech / Banking,Data-Dense Dashboard + Transaction Table,minimalism dark-mode glassmorphism,Deep navy + emerald green + gold accents,Plus Jakarta Sans / DM Sans modern geometric,Real-time data updates subtle pulse animations card hover elevation,Playful colors rounded corners everywhere emoji icons insufficient contrast,subtle,Users manage money trust and precision matter every pixel signals security and compliance
|
|
4
|
+
3,healthcare,Healthcare / Medical,Patient List + Appointment Calendar + Charts,minimalism accessible soft-ui,Soft teal + white + warm gray + alert red,Open Sans / Roboto highly readable,Clear visual hierarchy status badges with icons gentle transitions,Small text poor contrast complex medical jargon without tooltips missing loading states,static,Clinical environments demand readability accessibility and calm confidence errors have real consequences
|
|
5
|
+
4,ecommerce,E-commerce Admin,Order Management + Inventory Grid + Sales Charts,bento-grid data-dense,Orange accent + white + dark sidebar + success green,Inter / Source Sans Pro clean functional,Quick actions contextual menus real-time stock indicators,Bright sales-y colors distracting animations missing empty states for out-of-stock,subtle,Operators need speed and density they process hundreds of orders daily every click must feel instant
|
|
6
|
+
5,logistics,Logistics / Supply Chain,Map + Shipment Tracker + Fleet Table,real-time glassmorphism,Deep blue + bright cyan + warning amber + map green,Roboto Mono / Inter monospace for tracking IDs,Map integrations timeline views live status indicators,Cluttered maps poor mobile experience missing offline indicators,moderate,Dispatchers work under time pressure live data is mission-critical mobile field access is essential
|
|
7
|
+
6,hr,HR / People Management,Employee Directory + Org Chart + Payroll Table,minimalism soft-ui bento-grid,Warm purple + soft gray + white + status colors,Work Sans / Lato friendly professional,Profile cards org tree visualizations approval workflows,Overly casual fonts missing privacy indicators complex navigation too many clicks,subtle,HR users handle sensitive personal data privacy cues and trust signals must be immediate and obvious
|
|
8
|
+
7,crm,CRM / Sales,Pipeline Board + Contact List + Activity Feed,bento-grid soft-ui,Electric blue + white + warm gray + deal stage colors,Inter / SF Pro clean crisp,Drag-drop pipeline activity timelines win/loss indicators,Missing empty pipeline states poor mobile card layout overwhelming notifications,subtle,Salespeople live in this tool all day speed of data entry and visual pipeline clarity directly affect revenue
|
|
9
|
+
8,erp,ERP / Manufacturing,Production Dashboard + Inventory + BOM Table,data-dense executive,Industrial gray + safety orange + machine blue + alert red,IBM Plex Sans / Roboto technical precise,Machine status gauges production line visuals alert banners,Overly decorative fonts cluttered tables missing real-time indicators slow refresh,static,Factory floor and warehouse managers need dense data at a glance downtime costs money
|
|
10
|
+
9,education,Education / LMS,Course List + Student Progress + Gradebook,minimalism accessible soft-ui,Academic blue + warm white + success green + caution amber,Lora / Open Sans readable elegant,Progress bars achievement badges calendar views,Childish fonts excessive gamification poor accessibility missing progress persistence,subtle,Educators and students span all ages and abilities inclusivity and clarity outweigh visual flair
|
|
11
|
+
10,government,Government / Public Sector,Case Management + Document List + Reporting,minimalism accessible,Official blue + white + gray + priority red,Merriweather / Open Sans formal trustworthy,Clear status workflows document version tracking audit trails,Political colors overly modern flashy design missing WCAG compliance complex language,static,Citizens and civil servants need transparent trustworthy interfaces compliance and accessibility are non-negotiable
|
|
12
|
+
11,cybersecurity,Cybersecurity / SOC,Alert Feed + Threat Map + Incident Table,dark-mode ai-native,Deep black + alert red + cyber cyan + warning amber,Fira Code / Inter monospace for logs technical,Dark theme real-time alerts threat level indicators SOC timeline,Light theme by default poor alert visibility cluttered dashboards missing severity colors,moderate,SOC analysts monitor threats 24/7 alert fatigue is real every second of delay matters
|
|
13
|
+
12,real-estate,Real Estate / Property,Property Grid + Map + Lead Pipeline,bento-grid soft-ui,Premium navy + gold accent + white + status green,Playfair Display / Inter luxury clean,Property cards map pins lead scoring visual comparison tools,Excessive imagery poor table performance missing price formatting cluttered filters,subtle,Agents and brokers show properties to high-value clients the interface must feel premium and trustworthy
|
|
14
|
+
13,energy,Energy / Utilities,Grid Monitor + Meter Readings + Outage Map,real-time data-dense,Power blue + grid yellow + outage red + eco green,Roboto / Source Sans Pro technical functional,Real-time gauges geographic outage maps consumption charts,Missing time-series data poor mobile map experience slow data refresh,moderate,Grid operators need millisecond-level awareness public outage maps must be instantly understandable
|
|
15
|
+
14,media,Media / Content Management,Asset Library + Editorial Calendar + Analytics,minimalism bento-grid,Dark charcoal + vibrant accent + white + video red,Montserrat / Inter modern dynamic,Media previews drag-drop upload editorial timeline engagement charts,Cluttered asset grids missing metadata poor search missing preview thumbnails,subtle,Editors and producers work creatively the tool must get out of the way and handle large assets smoothly
|
|
16
|
+
15,nonprofit,Nonprofit / NGO,Donor CRM + Campaign Tracker + Impact Dashboard,soft-ui accessible minimalism,Hope blue + growth green + warm white + heart red,Merriweather / Lora trustworthy warm,Donor profiles campaign progress impact visualization volunteer management,Overly corporate design missing donation CTAs poor mobile donation flow complex reporting,subtle,Donors and volunteers respond to heart and clarity the interface must inspire trust and action
|
|
@@ -38,5 +38,13 @@ id,page_type,check,severity,why_it_matters
|
|
|
38
38
|
37,dependencies,No unused imports or dead dependencies,Medium,Bloats bundle and confuses developers
|
|
39
39
|
38,dependencies,Package manager lockfile is in sync with package.json,High,Prevents inconsistent installs across environments
|
|
40
40
|
39,i18n,All translation keys exist in every locale file,High,Missing keys show raw text to users
|
|
41
|
+
40,motion,No UI animation exceeds 300ms duration,High,Long animations feel sluggish and unprofessional
|
|
42
|
+
41,motion,No ease-in easing used on interactive elements,High, ease-in feels sluggish and unresponsive
|
|
43
|
+
42,motion,Only transform and opacity are animated,High,Other properties trigger layout and paint hurting performance
|
|
44
|
+
43,motion,prefers-reduced-motion is respected for all motion,High,Accessibility for users with vestibular disorders
|
|
45
|
+
44,prose,No denylist words in user-facing text or docs,Medium,AI-tell words degrade perceived quality and trust
|
|
46
|
+
45,prose,No throat-clearing openers or closers in docs,Medium,Wastes reader time signals low-quality generated content
|
|
47
|
+
46,anti-slop,No placeholder text or Lorem Ipsum in shipped output,Critical,Shipped code must be complete and production-ready
|
|
48
|
+
47,anti-slop,Design tokens used instead of hardcoded colors everywhere,Critical,Hardcoded values break theming and consistency
|
|
41
49
|
40,i18n,No hardcoded user-facing strings outside t() calls,High,Breaks multi-language support
|
|
42
50
|
41,i18n,New translation keys added to all messages files before commit,High,Prevents incomplete translations
|
package/assets/data/styles.csv
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
id,style_name,display_name,description,best_for,keywords,performance,accessibility,admin_suitability
|
|
2
|
-
1,minimalism,Minimalism & Swiss Style,Clean whitespace crisp typography clear hierarchy no decorative elements,Enterprise dashboards data-heavy apps documentation,Whitespace grid system sans-serif clean lines neutral colors,Excellent,Excellent,10
|
|
3
|
-
2,bento-grid,Bento Box Grid,Card-based modular layout grid with varied cell sizes dashboard widgets,Admin dashboards analytics product features status overview,Modular cards widgets grid layout information density snapping,Excellent,Excellent,10
|
|
4
|
-
3,dark-mode,Dark Mode (OLED),Deep blacks with high contrast elements reduced eye strain night-friendly,DevOps monitoring cybersecurity night-shift operations coding platforms,OLED pure black high contrast neon accents reduced glare,Good,Good,9
|
|
5
|
-
4,soft-ui,Soft UI Evolution,Rounded corners subtle shadows gentle gradients calming visual weight modern SaaS,HR healthcare wellness customer support non-technical users,Soft shadows rounded corners gentle gradients pastel tones calming,Excellent,Excellent,9
|
|
6
|
-
5,glassmorphism,Glassmorphism,Translucent frosted glass effect with backdrop blur layered depth modern feel,Financial dashboards premium SaaS creative admin modern startups,Translucency blur backdrop-filter layered depth refraction light,Medium,Medium,7
|
|
7
|
-
6,data-dense,Data-Dense Dashboard,Maximum information density compact tables inline charts minimal padding power user,Trading ERP manufacturing supply chain operations power users,Compact tables inline charts minimal whitespace high density monochrome,Good,Medium,10
|
|
8
|
-
7,executive,Executive Dashboard,High-level KPIs summary cards trend sparklines minimal detail C-suite focused,C-suite executives board meetings quarterly reviews high-level overview,Large numbers trend arrows sparklines minimal text snapshot view,Excellent,Excellent,8
|
|
9
|
-
8,real-time,Real-Time Monitoring,Live data streams pulse indicators auto-refreshing counters operational focus,DevOps IoT logistics network monitoring call centers operations,Live counters pulsing dots auto-refresh timelines real-time badges,Good,Good,9
|
|
10
|
-
9,accessible,Accessible & Inclusive,High contrast large touch targets screen-reader optimized reduced motion,Government healthcare education public sector compliance-required,High contrast large fonts focus visible reduced motion screen-reader,Excellent,Excellent,10
|
|
11
|
-
10,claymorphism,Claymorphism,3D-like soft extruded shapes inner shadows playful depth educational friendly,Educational admin nonprofit HR training platforms children's apps,Inner shadows soft 3D extrusion playful depth pastel colors rounded,Medium,Good,6
|
|
12
|
-
11,ai-native,AI-Native UI,Chat-first interfaces prompt boxes streaming text avatar indicators agent focus,AI platforms chatbots copilot admin AI-powered analytics,Streaming text typing indicators avatar bubbles prompt interfaces,Medium,Medium,7
|
|
13
|
-
12,neumorphism,Neumorphism,Soft extruded shapes that look like they push out from background subtle depth,Health wellness meditation minimalist admin soft aesthetic,Soft shadows extruded shapes monochrome subtle depth tactile feel,Medium,Medium,5
|
|
14
|
-
13,brutalism,Brutalism,Raw unpolished high contrast bold typography unapologetic design artistic,Creative agencies design portfolios artistic admin experimental,High contrast bold borders raw typography unpolished expressive,Medium,Medium,3
|
|
15
|
-
14,liquid-glass,Liquid Glass,Premium translucent surfaces with light refraction high-end aesthetic 2025+,Premium SaaS high-end e-commerce luxury admin high-visibility products,Refraction light caustics premium translucent depth high-end,Medium,Medium,6
|
|
16
|
-
15,motion-driven,Motion-Driven,Animations guide attention transitions explain state changes storytelling,Portfolio admin storytelling dashboards onboarding flows walkthroughs,Smooth transitions scroll animations state change animations guides,Medium,Medium,6
|
|
1
|
+
id,style_name,display_name,description,best_for,keywords,performance,accessibility,admin_suitability,motion_depth
|
|
2
|
+
1,minimalism,Minimalism & Swiss Style,Clean whitespace crisp typography clear hierarchy no decorative elements,Enterprise dashboards data-heavy apps documentation,Whitespace grid system sans-serif clean lines neutral colors,Excellent,Excellent,10,static
|
|
3
|
+
2,bento-grid,Bento Box Grid,Card-based modular layout grid with varied cell sizes dashboard widgets,Admin dashboards analytics product features status overview,Modular cards widgets grid layout information density snapping,Excellent,Excellent,10,subtle
|
|
4
|
+
3,dark-mode,Dark Mode (OLED),Deep blacks with high contrast elements reduced eye strain night-friendly,DevOps monitoring cybersecurity night-shift operations coding platforms,OLED pure black high contrast neon accents reduced glare,Good,Good,9,subtle
|
|
5
|
+
4,soft-ui,Soft UI Evolution,Rounded corners subtle shadows gentle gradients calming visual weight modern SaaS,HR healthcare wellness customer support non-technical users,Soft shadows rounded corners gentle gradients pastel tones calming,Excellent,Excellent,9,subtle
|
|
6
|
+
5,glassmorphism,Glassmorphism,Translucent frosted glass effect with backdrop blur layered depth modern feel,Financial dashboards premium SaaS creative admin modern startups,Translucency blur backdrop-filter layered depth refraction light,Medium,Medium,7,moderate
|
|
7
|
+
6,data-dense,Data-Dense Dashboard,Maximum information density compact tables inline charts minimal padding power user,Trading ERP manufacturing supply chain operations power users,Compact tables inline charts minimal whitespace high density monochrome,Good,Medium,10,static
|
|
8
|
+
7,executive,Executive Dashboard,High-level KPIs summary cards trend sparklines minimal detail C-suite focused,C-suite executives board meetings quarterly reviews high-level overview,Large numbers trend arrows sparklines minimal text snapshot view,Excellent,Excellent,8,subtle
|
|
9
|
+
8,real-time,Real-Time Monitoring,Live data streams pulse indicators auto-refreshing counters operational focus,DevOps IoT logistics network monitoring call centers operations,Live counters pulsing dots auto-refresh timelines real-time badges,Good,Good,9,moderate
|
|
10
|
+
9,accessible,Accessible & Inclusive,High contrast large touch targets screen-reader optimized reduced motion,Government healthcare education public sector compliance-required,High contrast large fonts focus visible reduced motion screen-reader,Excellent,Excellent,10,static
|
|
11
|
+
10,claymorphism,Claymorphism,3D-like soft extruded shapes inner shadows playful depth educational friendly,Educational admin nonprofit HR training platforms children's apps,Inner shadows soft 3D extrusion playful depth pastel colors rounded,Medium,Good,6,moderate
|
|
12
|
+
11,ai-native,AI-Native UI,Chat-first interfaces prompt boxes streaming text avatar indicators agent focus,AI platforms chatbots copilot admin AI-powered analytics,Streaming text typing indicators avatar bubbles prompt interfaces,Medium,Medium,7,expressive
|
|
13
|
+
12,neumorphism,Neumorphism,Soft extruded shapes that look like they push out from background subtle depth,Health wellness meditation minimalist admin soft aesthetic,Soft shadows extruded shapes monochrome subtle depth tactile feel,Medium,Medium,5,subtle
|
|
14
|
+
13,brutalism,Brutalism,Raw unpolished high contrast bold typography unapologetic design artistic,Creative agencies design portfolios artistic admin experimental,High contrast bold borders raw typography unpolished expressive,Medium,Medium,3,expressive
|
|
15
|
+
14,liquid-glass,Liquid Glass,Premium translucent surfaces with light refraction high-end aesthetic 2025+,Premium SaaS high-end e-commerce luxury admin high-visibility products,Refraction light caustics premium translucent depth high-end,Medium,Medium,6,moderate
|
|
16
|
+
15,motion-driven,Motion-Driven,Animations guide attention transitions explain state changes storytelling,Portfolio admin storytelling dashboards onboarding flows walkthroughs,Smooth transitions scroll animations state change animations guides,Medium,Medium,6,expressive
|
|
@@ -6,7 +6,7 @@ Guides AI coding assistants to build premium admin dashboards that use MUI v7 co
|
|
|
6
6
|
## Visual Direction (Enterprise Admin)
|
|
7
7
|
- Card-based layouts with consistent padding and elevation
|
|
8
8
|
- Sidebar + navbar composition (header 54px, sidebar 260px/71px collapsed)
|
|
9
|
-
- Status chips with semantic colors and tonal variant
|
|
9
|
+
- Status chips with semantic colors and tonal variant (custom — requires theme override)
|
|
10
10
|
- Dashboard widget rhythm with 24px gaps
|
|
11
11
|
- Polished tables with action menus (header 56px, body 50px, horizontal borders only)
|
|
12
12
|
- Clean form sections with footer actions
|
|
@@ -16,7 +16,7 @@ Guides AI coding assistants to build premium admin dashboards that use MUI v7 co
|
|
|
16
16
|
## Implementation Engine (MUI v7)
|
|
17
17
|
- MUI Card, CardHeader, CardContent, CardActions, Divider
|
|
18
18
|
- MUI Dialog, Drawer, Button, Chip, TextField, Pagination
|
|
19
|
-
- MUI
|
|
19
|
+
- MUI Grid2 for responsive layouts (legacy `Grid` `item` prop avoided)
|
|
20
20
|
- MUI Tabs, Descriptions, Badge, Switch
|
|
21
21
|
- Theme tokens via theme.palette, theme.spacing, theme.shape
|
|
22
22
|
|
|
@@ -73,7 +73,7 @@ python scripts/search.py --query "saas" --design-system --persist --product "MyA
|
|
|
73
73
|
- Nonprofit / NGO
|
|
74
74
|
|
|
75
75
|
## UI Styles for Admin Dashboards
|
|
76
|
-
|
|
76
|
+
10 styles rated for admin suitability:
|
|
77
77
|
- Minimalism & Swiss Style (10/10)
|
|
78
78
|
- Bento Box Grid (10/10)
|
|
79
79
|
- Dark Mode OLED (9/10)
|
|
@@ -167,7 +167,7 @@ Before building charts tables or forms detect the data source:
|
|
|
167
167
|
- Using MUI TablePagination for logic instead of TanStack state
|
|
168
168
|
- Using native MUI Table without TanStack react-table
|
|
169
169
|
- Missing CardHeader/CardContent/CardActions structure
|
|
170
|
-
- Using `item` prop
|
|
170
|
+
- Using legacy `Grid` `item` prop; prefer `Grid2` with `size` props
|
|
171
171
|
- Forgetting `declare module` for `tonal` variant
|
|
172
172
|
- Using MUI v7 without AppRouterCacheProvider in Next.js
|
|
173
173
|
- Using rules inline alongside schema resolver
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
"Table Standard",
|
|
13
13
|
"Form Standard",
|
|
14
14
|
"Theme and Styling Standard",
|
|
15
|
-
"Review Output Format"
|
|
15
|
+
"Review Output Format",
|
|
16
|
+
"Motion Design Principles",
|
|
17
|
+
"Prose Discipline",
|
|
18
|
+
"Craft & Motion Audit (Pre-Flight Checklist)"
|
|
16
19
|
],
|
|
17
20
|
"promptSuffix": "Before writing or editing UI code, inspect the existing codebase for PageLayout, Card, Table, Form, Drawer, Dialog, and StatusChip abstractions. Reuse existing conventions. Do not introduce unnecessary abstractions."
|
|
18
21
|
}
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
"Table Standard",
|
|
17
17
|
"Form Standard",
|
|
18
18
|
"Theme and Styling Standard",
|
|
19
|
-
"Review Output Format"
|
|
19
|
+
"Review Output Format",
|
|
20
|
+
"Motion Design Principles",
|
|
21
|
+
"Prose Discipline",
|
|
22
|
+
"Craft & Motion Audit (Pre-Flight Checklist)"
|
|
20
23
|
],
|
|
21
24
|
"rules": [
|
|
22
25
|
"Always inspect existing PageLayout, Card, Table, Form abstractions before creating new ones.",
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
"Table Standard",
|
|
12
12
|
"Form Standard",
|
|
13
13
|
"Theme and Styling Standard",
|
|
14
|
-
"Review Output Format"
|
|
14
|
+
"Review Output Format",
|
|
15
|
+
"Motion Design Principles",
|
|
16
|
+
"Prose Discipline",
|
|
17
|
+
"Craft & Motion Audit (Pre-Flight Checklist)"
|
|
15
18
|
],
|
|
16
19
|
"rules": [
|
|
17
20
|
"Inspect existing abstractions before adding new UI primitives.",
|
|
@@ -6,7 +6,9 @@ export interface AuditOptions {
|
|
|
6
6
|
width: number;
|
|
7
7
|
height: number;
|
|
8
8
|
};
|
|
9
|
+
timeout: number;
|
|
10
|
+
waitUntil: "load" | "domcontentloaded" | "networkidle";
|
|
9
11
|
}
|
|
10
12
|
export declare function parseAuditArgs(args: string[]): AuditOptions;
|
|
11
|
-
export declare function auditUiCommand(options: AuditOptions): Promise<
|
|
13
|
+
export declare function auditUiCommand(options: AuditOptions): Promise<number>;
|
|
12
14
|
//# sourceMappingURL=audit-ui.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-ui.d.ts","sourceRoot":"","sources":["../../src/commands/audit-ui.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"audit-ui.d.ts","sourceRoot":"","sources":["../../src/commands/audit-ui.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,kBAAkB,GAAG,aAAa,CAAC;CACxD;AAwCD,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,YAAY,CAqC3D;AA2FD,wBAAsB,cAAc,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAiK3E"}
|