@jaimevalasek/aioson 1.30.1 → 1.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/docs/design-previews/cognitive-core-ui-auth.html +95 -0
  3. package/docs/design-previews/cognitive-core-ui-kanban.html +231 -0
  4. package/docs/design-previews/cognitive-core-ui-list-detail.html +174 -0
  5. package/docs/design-previews/cognitive-core-ui-preview.css +1315 -0
  6. package/docs/design-previews/cognitive-core-ui-settings.html +142 -0
  7. package/docs/design-previews/cognitive-core-ui-website.html +190 -1009
  8. package/docs/design-previews/cognitive-core-ui.html +281 -463
  9. package/docs/design-previews/index.html +83 -31
  10. package/package.json +1 -1
  11. package/src/constants.js +567 -511
  12. package/template/.aioson/docs/play/README.md +2 -0
  13. package/template/.aioson/docs/play/agent-usage-guide.md +7 -1
  14. package/template/.aioson/docs/play/app-compatibility-guide.md +6 -1
  15. package/template/.aioson/docs/play/auth-services-and-testing.md +16 -1
  16. package/template/.aioson/docs/play/manifest-and-runtime.md +23 -0
  17. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +266 -243
  18. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -293
  19. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -827
  20. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -250
  21. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -585
  22. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -365
  23. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +485 -482
  24. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +386 -387
  25. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +228 -205
  26. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -338
  27. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -977
  28. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -218
  29. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -326
  30. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -461
  31. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -293
  32. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -352
  33. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +233 -210
  34. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -319
  35. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -365
  36. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -196
  37. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -244
  38. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -235
  39. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -215
  40. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -295
  41. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +239 -203
  42. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -339
  43. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +417 -407
  44. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +289 -272
  45. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +525 -524
  46. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +279 -279
  47. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +355 -289
  48. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +443 -437
  49. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +245 -222
  50. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -159
  51. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -498
  52. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -236
  53. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -274
  54. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -355
  55. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -198
  56. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -307
  57. package/template/.aioson/skills/design/interface-design/SKILL.md +68 -47
  58. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -105
  59. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -101
  60. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +92 -71
  61. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -74
  62. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -173
  63. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +236 -213
  64. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -228
  65. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -855
  66. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -334
  67. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -342
  68. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -286
  69. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -458
  70. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -723
  71. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +83 -62
  72. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -74
  73. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -116
  74. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -47
  75. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -215
  76. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -31
  77. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +94 -66
  78. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +366 -366
  79. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -150
  80. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -270
  81. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -189
  82. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +161 -161
  83. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +232 -209
  84. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -324
  85. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -508
  86. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -223
  87. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -374
  88. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -356
  89. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -288
  90. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -289
@@ -1,203 +1,239 @@
1
- ---
2
- name: cognitive-core-ui
3
- description: Cognitive Core UI is the visual identity system for premium, command-center-style interfaces inspired by the Synthetic Minds platform. Use it when `design_skill: cognitive-core-ui` is set in project.context.md OR when the user explicitly asks for "cognitive core", "synthetic minds layout", "cognitive core style", "that dark layout", "dark dashboard command center", or similar. Supports dashboards, admin panels, detail/profile pages, landing pages, and websites — all with dark (default) and light themes via a single toggle. Do NOT use this skill unless explicitly selected.
4
- ---
5
-
6
- # Cognitive Core UI
7
-
8
- The Cognitive Core system sits at the intersection of **military-grade data dashboard** and **refined SaaS UI** — dense, structured, and polished. This is the visual identity of the Synthetic Minds platform.
9
-
10
- **This is one visual system.** Never combine it with another design skill.
11
-
12
- ## Package structure
13
-
14
- ```text
15
- .aioson/skills/design/cognitive-core-ui/
16
- SKILL.md ← you are here (load this first)
17
- references/
18
- art-direction.md ← intent, domain exploration, expression modes, signature moves, anti-generic tests
19
- design-tokens.md ← CSS variables dark + light, typography, token scope guardrails
20
- components.md All reusable components (nav, stat card, badges, table, modal, DNA panel, etc.)
21
- patterns.md Page layouts: dashboard shell, detail/profile, settings, auth, list-detail
22
- dashboards.md Dashboard presets: inventory, control center, analytics, ops cockpit, CRM
23
- websites.md Landing page, frontpage, institutional layouts + anti-patterns
24
- motion.md Animations: keyframes, entrance sequences, scroll reveal, loading states
25
- ```
26
-
27
- ## Activation rules
28
-
29
- - Apply this package **only** when `project.context.md` contains `design_skill: "cognitive-core-ui"` or the user explicitly chooses it.
30
- - If another design skill is selected, do **not** load this package.
31
- - Never auto-select this skill always require explicit confirmation.
32
- - If no skill is set yet, the active agent must ask or confirm before applying.
33
-
34
- ## Responsibility boundary
35
-
36
- This skill defines:
37
- - Visual direction and aesthetic DNA
38
- - Design tokens (colors, typography, spacing, radius, shadows)
39
- - Component vocabulary and anatomy
40
- - Page composition patterns
41
- - Theme switching behavior (dark/light)
42
-
43
- This skill does **not** decide:
44
- - Stack (React, Vue, Blade, HTML, etc.)
45
- - Output format (single file, multi-file, CSS modules, Tailwind, etc.)
46
- - Icon library choice
47
- - Whether a theme toggle exists in the product (the agent decides)
48
-
49
- ## Loading guide
50
-
51
- Always load only what the current task needs:
52
-
53
- | Task | Load |
54
- |---|---|
55
- | Any UI work | `references/design-tokens.md` |
56
- | Reusable components | `references/design-tokens.md` + `references/components.md` |
57
- | Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
58
- | Detail / profile page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
59
- | Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
60
- | Motion / animation | add `references/motion.md` when animation materially improves the result |
61
- | Full UI build | all seven reference files |
62
-
63
- ## Visual signature — three pillars
64
-
65
- 1. **Command-center authority** — Dense information when the product is operational. Monospaced labels are used as metadata rails, not as the default reading style. Large numeric stat readouts. Everything feels like a mission control panel.
66
- 2. **Premium refinement** — Three depth levels minimum (void base surface elevated). Subtle borders (`rgba(255,255,255,0.06)` in dark). Teal/cyan as the only accent used for active states, borders, glow effects. Never harsh contrasts.
67
- 3. **Structured rhythm** — Tab navigation, sidebar trees, card grids, section headers with icons. Information is organized into labeled zones. One focal block per viewport.
68
-
69
- ## Theme system
70
-
71
- ```html
72
- <div data-theme="dark"> <!-- or data-theme="light" -->
73
- ```
74
-
75
- - **Dark (default)**: Dashboards, monitoring, analytics, dev tools, anything data-heavy or operational
76
- - **Light**: Client-facing apps, content-heavy pages, e-commerce admin, institutional websites
77
- - **Both with toggle**: When the user asks, or when the target audience varies
78
-
79
- If the user does not specify: default to **dark with a theme toggle** in the top bar.
80
-
81
- ## Visual DNA (from reference screenshots)
82
-
83
- ### Colors — dark theme
84
- - Background void: `#060910`
85
- - Background base: `#0B0F15` (main app background)
86
- - Surface: `#111827` (cards)
87
- - Elevated: `#1A2332` (hover, nested)
88
- - Primary accent: `#22D3EE` (teal/cyan) — active tabs, badges, glow, borders
89
- - Text heading: `#F9FAFB`
90
- - Text primary: `#E5E7EB`
91
- - Text secondary: `#9CA3AF`
92
- - Text muted: `#6B7280`
93
-
94
- ### Colors — light theme
95
- - Background void: `#F1F5F9`
96
- - Background base: `#F8FAFC`
97
- - Surface: `#FFFFFF`
98
- - Primary accent: `#0891B2` (deeper teal for legibility)
99
- - Text heading: `#0F172A`
100
- - Text primary: `#334155`
101
-
102
- ### Typography
103
- - Headings: `Inter`, usually `weight-bold (700)` or `weight-black (800)` only for hero/page title emphasis, `letter-spacing: -0.02em`
104
- - Body: `Inter`, `weight-normal (400)`, `line-height: 1.6`
105
- - Labels (supporting only): `JetBrains Mono`, `weight-semibold`, `uppercase`, `letter-spacing: 0.12em`, `font-size: 0.675rem`
106
- - Stats: `Inter`, `weight-bold (700)`, `font-size: 2.75rem`
107
-
108
- ### Layout structure (dashboards)
109
- ```
110
- ┌──────────────────────────────────────────────────────────┐
111
- │ TOP BAR: [Logo + Name] [Tab Nav (center)] [Actions] │
112
- ├──────────────────────────────────────────────────────────┤
113
- │ [Optional: breadcrumbs] │
114
- PROFILE/HEADER ZONE: avatar + name + badges + stat cards
115
- ├──────────────────────────────────────────────────────────┤
116
- │ TAB NAVIGATION (full width) │
117
- ├───────────┬──────────────────────────────────────────────┤
118
- │ SIDEBAR │ CONTENT │
119
- 200px SECTION HEADER (mono label + icon)
120
- tree nav CARD GRID (2-4 col, auto-fill)
121
- SECTION HEADER
122
- │ │ CARD GRID
123
- └───────────┴──────────────────────────────────────────────┘
124
- ```
125
-
126
- ### Signature details
127
- - Monospace uppercase labels on major sections, stats, IDs, and metadata rails only
128
- - Badge chips with teal/cyan glow in dark mode
129
- - Progress bars with colored semantic fills (green/red/amber/purple)
130
- - Featured quote blocks: italic large text + mono attribution
131
- - Cards with `1px` border + subtle hover glow (never box shadows only)
132
- - Active tab: teal bottom border `3px` + teal text
133
- - Sidebar active item: `border-left: 3px solid var(--accent)` + `bg-elevated`
134
- - Theme transition: `250ms ease` on background, color, border-color, box-shadow
135
-
136
- ## Application rules
137
-
138
- - Treat `references/design-tokens.md` as the source of truth for ALL tokens.
139
- - Treat `references/art-direction.md` as the source of truth for expression, signature move, and anti-generic decisions.
140
- - Resolve the page variant before composing: dashboard uses dense operational rhythm; website/landing page uses more whitespace, hero typography, and narrative hierarchy.
141
- - Never combine this package with `interface-design`, `premium-command-center-ui`, or any other design skill in the same task.
142
- - Reuse the project's component library if one exists map Cognitive Core tokens onto it instead of rebuilding primitives.
143
- - Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
144
- - Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
145
-
146
- ## Intent before visuals
147
-
148
- Before choosing layout, answer all three:
149
-
150
- 1. Who is the human using this page right now?
151
- 2. What is the main action or decision they must complete?
152
- 3. How should this interface feel in concrete words, not generic labels?
153
-
154
- Bad answers:
155
- - "for users"
156
- - "manage data"
157
- - "clean and modern"
158
-
159
- Good answers:
160
- - "operations lead checking what needs intervention in under 30 seconds"
161
- - "sales manager comparing pipeline risk before a weekly meeting"
162
- - "calm, cold, exact, premium, slightly tactical"
163
-
164
- ## Workflow discipline
165
-
166
- Extracted from stronger design-system practice, this skill must behave like a controlled system, not a moodboard:
167
-
168
- 1. Audit the current page or existing UI before changing visuals.
169
- 2. Explore the product domain and choose one expression mode from `references/art-direction.md`.
170
- 3. Name one signature move and repeat it intentionally across the page.
171
- 4. Consolidate repeating patterns instead of inventing new card/button/table variants for each screen.
172
- 5. Build from tokens first, then components, then page composition.
173
- 6. Validate state parity before finishing: default, hover, active, focus, disabled.
174
- 7. Validate contrast before shipping: body text must meet WCAG AA, controls must stay legible in all themes and states.
175
-
176
- ## Non-negotiable quality gates
177
-
178
- - Never use a lighter hover state if it reduces text contrast.
179
- - Never put near-white text on a bright accent in light theme. Use a darker accent or a darker foreground token.
180
- - Do not use mono for navigation groups, paragraphs, or long button copy.
181
- - Do not use `weight-black` as the default heading weight across the entire app.
182
- - Keep one spacing rhythm per surface: 4px/8px increments, aligned text edges, consistent control heights.
183
- - When a layout feels chaotic, reduce variant count first. Do not add more decorative layers.
184
- - Hardcoded colors, arbitrary shadows, and one-off font choices are design-system failures, not creative flourishes.
185
- - Sameness is failure. If the result could be mistaken for a default AI dashboard or centered SaaS hero, iterate before presenting.
186
- - Every full page must have one memorable structural or visual signature, not just "good spacing and cards".
187
- - Do not reuse the same hero, stat-row, or card-grid composition across unrelated products without a domain reason.
188
-
189
- ## Delivery modes
190
-
191
- ### Greenfield
192
- 1. Choose page variant (dashboard, detail, settings, landing, institutional)
193
- 2. Load relevant references
194
- 3. Apply token scope from `design-tokens.md`
195
- 4. Compose layout from `patterns.md` or `websites.md`
196
- 5. Build components from `components.md`
197
-
198
- ### Brownfield
199
- 1. Audit existing UI before rewriting
200
- 2. Map Cognitive Core tokens onto the existing component library
201
- 3. Fix token scope issues (font/color variables must be on the correct container)
202
- 4. Consolidate duplicate variants before introducing new ones
203
- 5. Prefer targeted upgrades over full rewrites unless the user asks for a redesign
1
+ ---
2
+ name: cognitive-core-ui
3
+ description: >-
4
+ Cognitive Core UI is the visual identity system for premium, command-center-style interfaces inspired by the Synthetic Minds platform. Use it when `design_skill: cognitive-core-ui` is set in project.context.md OR when the user explicitly asks for "cognitive core", "synthetic minds layout", "cognitive core style", "that dark layout", "dark dashboard command center", or similar. Supports dashboards, admin panels, detail/profile pages, landing pages, and websites — all with dark (default) and light themes via a single toggle. Do NOT use this skill unless explicitly selected.
5
+ ---
6
+
7
+ # Cognitive Core UI
8
+
9
+ The Cognitive Core system sits at the intersection of **military-grade data dashboard** and **refined SaaS UI** — dense, structured, and polished. This is the visual identity of the Synthetic Minds platform.
10
+
11
+ **This is one visual system.** Never combine it with another design skill.
12
+
13
+ ## Package structure
14
+
15
+ ```text
16
+ .aioson/skills/design/cognitive-core-ui/
17
+ SKILL.md ← you are here (load this first)
18
+ references/
19
+ art-direction.md ← intent, domain exploration, expression modes, signature moves, anti-generic tests
20
+ design-tokens.md CSS variables dark + light, typography, token scope guardrails
21
+ components.md All reusable components (nav, stat card, badges, table, modal, DNA panel, etc.)
22
+ patterns.md Page layouts: dashboard shell, detail/profile, settings, auth, list-detail
23
+ dashboards.md Dashboard presets: inventory, control center, analytics, ops cockpit, CRM
24
+ websites.md Landing page, frontpage, institutional layouts + anti-patterns
25
+ motion.md ← Animations: keyframes, entrance sequences, scroll reveal, loading states
26
+ ```
27
+
28
+ ## Activation rules
29
+
30
+ - Apply this package **only** when `project.context.md` contains `design_skill: "cognitive-core-ui"` or the user explicitly chooses it.
31
+ - If another design skill is selected, do **not** load this package.
32
+ - Never auto-select this skill always require explicit confirmation.
33
+ - If no skill is set yet, the active agent must ask or confirm before applying.
34
+
35
+ ## Responsibility boundary
36
+
37
+ This skill defines:
38
+ - Visual direction and aesthetic DNA
39
+ - Design tokens (colors, typography, spacing, radius, shadows)
40
+ - Component vocabulary and anatomy
41
+ - Page composition patterns
42
+ - Theme switching behavior (dark/light)
43
+
44
+ This skill does **not** decide:
45
+ - Stack (React, Vue, Blade, HTML, etc.)
46
+ - Output format (single file, multi-file, CSS modules, Tailwind, etc.)
47
+ - Icon library choice
48
+ - Whether a theme toggle exists in the product (the agent decides)
49
+
50
+ ## Loading guide
51
+
52
+ Always load only what the current task needs:
53
+
54
+ | Task | Load |
55
+ |---|---|
56
+ | Any UI work | `references/design-tokens.md` |
57
+ | Reusable components | `references/design-tokens.md` + `references/components.md` |
58
+ | Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
59
+ | Detail / profile page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
60
+ | Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
61
+ | Motion / animation | add `references/motion.md` when animation materially improves the result |
62
+ | Full UI build | all seven reference files |
63
+
64
+ ## Visual signature — three pillars
65
+
66
+ 1. **Command-center authority** — Dense information when the product is operational. Monospaced labels are used as metadata rails, not as the default reading style. Large numeric stat readouts. Everything feels like a mission control panel.
67
+ 2. **Premium refinement** — Three depth levels minimum (void base surface → elevated). Subtle borders (`rgba(255,255,255,0.06)` in dark). Teal/cyan as the only accent — used for active states, borders, glow effects. Never harsh contrasts.
68
+ 3. **Structured rhythm** — Tab navigation, sidebar trees, card grids, section headers with icons. Information is organized into labeled zones. One focal block per viewport.
69
+
70
+ ## Theme system
71
+
72
+ ```html
73
+ <div data-theme="dark"> <!-- or data-theme="light" -->
74
+ ```
75
+
76
+ - **Dark (default)**: Dashboards, monitoring, analytics, dev tools, anything data-heavy or operational
77
+ - **Light**: Client-facing apps, content-heavy pages, e-commerce admin, institutional websites
78
+ - **Both with toggle**: When the user asks, or when the target audience varies
79
+
80
+ If the user does not specify: default to **dark with a theme toggle** in the top bar.
81
+
82
+ ## Visual DNA (from reference screenshots)
83
+
84
+ ### Colors dark theme
85
+ - Background void: `#060910`
86
+ - Background base: `#0B0F15` (main app background)
87
+ - Surface: `#111827` (cards)
88
+ - Elevated: `#1A2332` (hover, inset sections)
89
+ - Primary accent: `#22D3EE` (teal/cyan) — active tabs, badges, glow, borders
90
+ - Text heading: `#F9FAFB`
91
+ - Text primary: `#E5E7EB`
92
+ - Text secondary: `#9CA3AF`
93
+ - Text muted: `#6B7280`
94
+
95
+ ### Colors light theme
96
+ - Background void: `#F1F5F9`
97
+ - Background base: `#F8FAFC`
98
+ - Surface: `#FFFFFF`
99
+ - Primary accent: `#0891B2` (deeper teal for legibility)
100
+ - Text heading: `#0F172A`
101
+ - Text primary: `#334155`
102
+
103
+ ### Typography
104
+ - Headings: `Inter`, usually `weight-bold (700)` or `weight-black (800)` only for hero/page title emphasis, `letter-spacing: 0`
105
+ - Body: `Inter`, `weight-normal (400)`, `line-height: 1.6`
106
+ - Labels (supporting only): `JetBrains Mono`, `weight-semibold`, `uppercase`, `letter-spacing: 0`, `font-size: 0.675rem`
107
+ - Stats: `Inter`, `weight-bold (700)`, `font-size: 2.75rem`
108
+
109
+ ### Layout structure (dashboards)
110
+ ```
111
+ ┌──────────────────────────────────────────────────────────┐
112
+ │ TOP BAR: [Logo + Name] [Tab Nav (center)] [Actions] │
113
+ ├──────────────────────────────────────────────────────────┤
114
+ [Optional: breadcrumbs]
115
+ │ PROFILE/HEADER ZONE: avatar + name + badges + stat cards│
116
+ ├──────────────────────────────────────────────────────────┤
117
+ │ TAB NAVIGATION (full width) │
118
+ ├───────────┬──────────────────────────────────────────────┤
119
+ SIDEBAR CONTENT
120
+ 200px SECTION HEADER (mono label + icon)
121
+ tree nav CARD GRID (auto-fit, minmax constrained)
122
+ │ │ SECTION HEADER
123
+ │ │ CARD GRID │
124
+ └───────────┴──────────────────────────────────────────────┘
125
+ ```
126
+
127
+ ### Signature details
128
+ - Monospace uppercase labels on major sections, stats, IDs, and metadata rails only
129
+ - Badge chips with teal/cyan glow in dark mode
130
+ - Progress bars with colored semantic fills (green/red/amber/purple)
131
+ - Featured quote blocks: italic large text + mono attribution
132
+ - Cards with `1px` border + subtle hover glow (never box shadows only)
133
+ - Active tab: teal bottom border `3px` + teal text
134
+ - Sidebar active item: `border-left: 3px solid var(--accent)` + `bg-elevated`
135
+ - Theme transition: `250ms ease` on background, color, border-color, box-shadow
136
+
137
+ ## Application rules
138
+
139
+ - Treat `references/design-tokens.md` as the source of truth for ALL tokens.
140
+ - Treat `references/art-direction.md` as the source of truth for expression, signature move, and anti-generic decisions.
141
+ - Resolve the page variant before composing: dashboard uses dense operational rhythm; website/landing page uses more whitespace, hero typography, and narrative hierarchy.
142
+ - Never combine this package with `interface-design`, `premium-command-center-ui`, or any other design skill in the same task.
143
+ - Reuse the project's component library if one exists map Cognitive Core tokens onto it instead of rebuilding primitives.
144
+ - Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
145
+ - Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
146
+
147
+ ## Execution quality gates
148
+
149
+ These gates override any reference file when they conflict.
150
+
151
+ Before implementation:
152
+ - Load the relevant references from the loading guide; do not build from this SKILL.md alone.
153
+ - Decide the surface type (app, dashboard, landing page, marketing site, tool, game) and one domain-specific signature move before writing layout code.
154
+ - Establish the token layer first: fonts, colors, spacing, radius, shadow/depth, motion, breakpoints, and component states. Do not scatter raw colors, one-off shadows, arbitrary font sizes, or ad hoc radii.
155
+ - Use intentional font delivery. Prefer local/framework font APIs when available; if a named font cannot be loaded, define a credible fallback stack and preserve the intended contrast.
156
+ - For websites and landing pages, use visual assets that reveal the product, place, person, object, UI state, or domain. Do not ship a hero made only of gradients, icons, and cards.
157
+ - For landing-page heroes, make the brand, product, place, person, or literal offer visible in the first viewport; include a real or generated bitmap/product visual when inspection matters.
158
+ - Use icons from the project's icon library or lucide when available. Do not use text pills where a standard icon button/control is expected.
159
+ - Build responsive constraints with grid minmax, aspect-ratio, fixed control heights, and overflow rules so text, controls, tables, cards, and media cannot overlap or resize unpredictably.
160
+ - Use discrete text tokens and stable line-height. Do not use viewport-width font scaling or negative letter-spacing.
161
+ - Do not put cards inside cards. If a reference says nested card, use an unframed row, divider, inset section, or modal unless an existing component contract explicitly requires that hierarchy.
162
+ - Use motion as product feedback: hover, focus, active, loading, reveal, navigation, and state transitions. Always include a prefers-reduced-motion fallback.
163
+
164
+ Before delivery:
165
+ - Inspect the result at mobile and desktop widths. If a browser is available, use screenshots; otherwise perform static CSS/DOM review.
166
+ - Fix overlap, clipped text, illegible contrast, missing states, unsupported font loading, missing assets, raw palette drift, and generic template composition before presenting.
167
+ - Do not add isolated blurred-circle background decorations. If a reference suggests that pattern, reinterpret it as a subtle full-bleed ambient field or remove it.
168
+
169
+ ## Cognitive Core app stability gates
170
+
171
+ For apps, dashboards, admin panels, profile pages, and split views, these rules are blocking:
172
+
173
+ - Build page shells with CSS grid areas or explicit app regions (`topbar`, `tabs`, `sidebar`, `content`, `rail`). Do not compose the shell from loose flex columns that depend on magic viewport subtraction.
174
+ - Every scrollable region must have `min-width: 0` and `min-height: 0` on its grid/flex parent chain. Missing either is a layout bug.
175
+ - Sidebars are desktop regions, not mobile full-page stacks. On small screens, collapse sidebar/navigation into horizontal tabs, a drawer, or a compact filter rail.
176
+ - Use `grid-template-columns: minmax(0, ...)` for app regions and `repeat(auto-fit, minmax(min(100%, Npx), 1fr))` for card grids.
177
+ - Stat rows must be responsive grids, not `flex-wrap` rows that produce uneven orphan cards.
178
+ - Keep all letter spacing at `0`. Cognitive Core gets its character from mono labels, rhythm, borders, and hierarchy, not expanded tracking that clips text.
179
+ - Prefer inset rows, dividers, tables, and disclosure bodies over cards inside cards.
180
+ - Auth screens and hero backgrounds may use full-bleed ambient fields, never isolated circular glow elements behind content.
181
+
182
+ ## Intent before visuals
183
+
184
+ Before choosing layout, answer all three:
185
+
186
+ 1. Who is the human using this page right now?
187
+ 2. What is the main action or decision they must complete?
188
+ 3. How should this interface feel in concrete words, not generic labels?
189
+
190
+ Bad answers:
191
+ - "for users"
192
+ - "manage data"
193
+ - "clean and modern"
194
+
195
+ Good answers:
196
+ - "operations lead checking what needs intervention in under 30 seconds"
197
+ - "sales manager comparing pipeline risk before a weekly meeting"
198
+ - "calm, cold, exact, premium, slightly tactical"
199
+
200
+ ## Workflow discipline
201
+
202
+ Extracted from stronger design-system practice, this skill must behave like a controlled system, not a moodboard:
203
+
204
+ 1. Audit the current page or existing UI before changing visuals.
205
+ 2. Explore the product domain and choose one expression mode from `references/art-direction.md`.
206
+ 3. Name one signature move and repeat it intentionally across the page.
207
+ 4. Consolidate repeating patterns instead of inventing new card/button/table variants for each screen.
208
+ 5. Build from tokens first, then components, then page composition.
209
+ 6. Validate state parity before finishing: default, hover, active, focus, disabled.
210
+ 7. Validate contrast before shipping: body text must meet WCAG AA, controls must stay legible in all themes and states.
211
+
212
+ ## Non-negotiable quality gates
213
+
214
+ - Never use a lighter hover state if it reduces text contrast.
215
+ - Never put near-white text on a bright accent in light theme. Use a darker accent or a darker foreground token.
216
+ - Do not use mono for navigation groups, paragraphs, or long button copy.
217
+ - Do not use `weight-black` as the default heading weight across the entire app.
218
+ - Keep one spacing rhythm per surface: 4px/8px increments, aligned text edges, consistent control heights.
219
+ - When a layout feels chaotic, reduce variant count first. Do not add more decorative layers.
220
+ - Hardcoded colors, arbitrary shadows, and one-off font choices are design-system failures, not creative flourishes.
221
+ - Sameness is failure. If the result could be mistaken for a default AI dashboard or centered SaaS hero, iterate before presenting.
222
+ - Every full page must have one memorable structural or visual signature, not just "good spacing and cards".
223
+ - Do not reuse the same hero, stat-row, or card-grid composition across unrelated products without a domain reason.
224
+
225
+ ## Delivery modes
226
+
227
+ ### Greenfield
228
+ 1. Choose page variant (dashboard, detail, settings, landing, institutional)
229
+ 2. Load relevant references
230
+ 3. Apply token scope from `design-tokens.md`
231
+ 4. Compose layout from `patterns.md` or `websites.md`
232
+ 5. Build components from `components.md`
233
+
234
+ ### Brownfield
235
+ 1. Audit existing UI before rewriting
236
+ 2. Map Cognitive Core tokens onto the existing component library
237
+ 3. Fix token scope issues (font/color variables must be on the correct container)
238
+ 4. Consolidate duplicate variants before introducing new ones
239
+ 5. Prefer targeted upgrades over full rewrites unless the user asks for a redesign