@jaimevalasek/aioson 1.30.0 → 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 (93) hide show
  1. package/CHANGELOG.md +18 -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 +578 -514
  12. package/template/.aioson/docs/integrations/dashboard-app-form-publish-mapping.md +183 -0
  13. package/template/.aioson/docs/play/README.md +74 -0
  14. package/template/.aioson/docs/play/agent-usage-guide.md +112 -0
  15. package/template/.aioson/docs/play/app-compatibility-guide.md +117 -0
  16. package/template/.aioson/docs/play/auth-services-and-testing.md +235 -0
  17. package/template/.aioson/docs/play/llm-data-and-bindings.md +238 -0
  18. package/template/.aioson/docs/play/manifest-and-runtime.md +267 -0
  19. package/template/.aioson/docs/play/source-map.md +104 -0
  20. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +266 -243
  21. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -293
  22. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -827
  23. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -250
  24. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -585
  25. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -365
  26. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +485 -482
  27. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +386 -387
  28. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +228 -205
  29. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -338
  30. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -977
  31. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -218
  32. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -326
  33. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -461
  34. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -293
  35. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -352
  36. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +233 -210
  37. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -319
  38. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -365
  39. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -196
  40. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -244
  41. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -235
  42. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -215
  43. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -295
  44. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +239 -203
  45. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -339
  46. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +417 -407
  47. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +289 -272
  48. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +525 -524
  49. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +279 -279
  50. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +355 -289
  51. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +443 -437
  52. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +245 -222
  53. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -159
  54. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -498
  55. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -236
  56. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -274
  57. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -355
  58. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -198
  59. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -307
  60. package/template/.aioson/skills/design/interface-design/SKILL.md +68 -47
  61. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -105
  62. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -101
  63. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +92 -71
  64. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -74
  65. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -173
  66. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +236 -213
  67. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -228
  68. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -855
  69. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -334
  70. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -342
  71. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -286
  72. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -458
  73. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -723
  74. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +83 -62
  75. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -74
  76. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -116
  77. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -47
  78. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -215
  79. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -31
  80. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +94 -66
  81. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +366 -366
  82. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -150
  83. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -270
  84. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -189
  85. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +161 -161
  86. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +232 -209
  87. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -324
  88. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -508
  89. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -223
  90. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -374
  91. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -356
  92. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -288
  93. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -289
@@ -1,71 +1,92 @@
1
- # Handoff and Quality — Interface Design
2
-
3
- ---
4
-
5
- ## Quality checks (run before delivering)
6
-
7
- ### Swap test
8
- Would swapping the typeface or layout make the design look like a different product?
9
- If yes — good. If no — the design has no identity.
10
-
11
- ### Squint test
12
- Blur your eyes (or the screenshot). Does the visual hierarchy still read clearly?
13
- If not — the hierarchy is too weak.
14
-
15
- ### Signature test
16
- Can you point to five specific decisions where your craft appears?
17
- If you cannot name five — you defaulted somewhere.
18
-
19
- ### Token test
20
- Do your CSS variable names sound like they belong to THIS product?
21
- Generic: `--color-primary`. Specific: `--slot-available`, `--urgency-amber`.
22
-
23
- ---
24
-
25
- ## Self-critique before delivery
26
-
27
- Walk through each section before handing off:
28
-
29
- 1. **Composition** Does the layout have rhythm? Are proportions intentional? Is there one clear focal point?
30
- 2. **Craft** — Is every spacing value on-grid? Does typography use weight + tracking + size (not size alone)? Do surfaces whisper hierarchy without thick borders or dramatic shadows?
31
- 3. **Content** Does the spec tell one coherent story? Could a real person at a real company act on this?
32
- 4. **Structure** Are there any hacks? Negative-margin workarounds? Arbitrary pixel values? Fix them.
33
-
34
- **Ask yourself: "If a design lead reviewed this, what would they call out?" Fix that thing. Then ask again.**
35
-
36
- ---
37
-
38
- ## Handoff to @dev
39
-
40
- A strong handoff includes:
41
- - Explicit visual direction and anti-goals
42
- - Design token block (fonts, colors, spacing, radius, depth strategy, motion posture)
43
- - Per-screen layout notes with component names mapped to real library components
44
- - Full state matrix (default / hover / focus / active / disabled / loading / empty / error / success)
45
- - Responsive rules (mobile breakpoints, collapse behavior)
46
- - Accessibility checklist items
47
- - Any signature visual moves with implementation notes
48
- - Anti-patterns to avoid
49
-
50
- The `ui-spec.md` must be concise enough to code from directly. Not a design document a build contract.
51
-
52
- ---
53
-
54
- ## Update design memory
55
-
56
- When the work introduces or changes reusable design decisions, update `.interface-design/system.md` with:
57
- - Final direction and anti-goals
58
- - Token block
59
- - Component pattern notes
60
- - New exceptions or constraints
61
-
62
- This file is the continuity layer between screens, agents, and future sessions.
63
-
64
- ---
65
-
66
- ## Quality bar
67
-
68
- 1. The result must not look generic.
69
- 2. Repeated elements must share spacing, radius, and depth logic.
70
- 3. Typography hierarchy must be legible without decorative tricks.
71
- 4. The screen must communicate purpose before style.
1
+ # Handoff and Quality — Interface Design
2
+
3
+ ---
4
+
5
+ ## Quality checks (run before delivering)
6
+
7
+ ### Swap test
8
+ Would swapping the typeface or layout make the design look like a different product?
9
+ If yes — good. If no — the design has no identity.
10
+
11
+ ### Squint test
12
+ Blur your eyes (or the screenshot). Does the visual hierarchy still read clearly?
13
+ If not — the hierarchy is too weak.
14
+
15
+ ### Signature test
16
+ Can you point to five specific decisions where your craft appears?
17
+ If you cannot name five — you defaulted somewhere.
18
+
19
+ ### Token test
20
+ Do your CSS variable names sound like they belong to THIS product?
21
+ Generic: `--color-primary`. Specific: `--slot-available`, `--urgency-amber`.
22
+
23
+ ### Asset test
24
+ Does the first viewport show a real product, place, person, object, UI state, generated bitmap, photo, or video when the surface is a website or landing page?
25
+ If not, the page is probably decoration plus copy, not a visual experience.
26
+
27
+ ### Responsive fit test
28
+ Do all labels, buttons, counters, cards, tables, media, and headings fit at mobile and desktop widths without overlap, clipping, or layout shift?
29
+ If not, add explicit constraints: grid `minmax()`, `aspect-ratio`, fixed control heights, line wrapping, overflow rules, and stable media dimensions.
30
+
31
+ ### Font delivery test
32
+ Are the named fonts actually loaded through the stack's supported mechanism?
33
+ If not, declare a credible fallback stack and preserve the intended contrast with weight, scale, and line-height instead of pretending the unavailable font exists.
34
+
35
+ ### Motion test
36
+ Does motion communicate feedback, state, navigation, or reveal?
37
+ If not, remove it. If yes, include a `prefers-reduced-motion` fallback.
38
+
39
+ ### Browser inspection test
40
+ If a runnable UI exists, inspect it in a browser at one mobile and one desktop viewport before delivery.
41
+ Screenshots beat imagination: fix blank renders, overflow, text collision, illegible contrast, missing assets, and awkward crop/framing before handoff.
42
+
43
+ ---
44
+
45
+ ## Self-critique before delivery
46
+
47
+ Walk through each section before handing off:
48
+
49
+ 1. **Composition** — Does the layout have rhythm? Are proportions intentional? Is there one clear focal point?
50
+ 2. **Craft** — Is every spacing value on-grid? Does typography use weight + line-height + size (not size alone)? Do surfaces carry hierarchy without thick borders or dramatic shadows?
51
+ 3. **Content** — Does the spec tell one coherent story? Could a real person at a real company act on this?
52
+ 4. **Structure** — Are there any hacks? Negative-margin workarounds? Arbitrary pixel values? Fix them.
53
+
54
+ **Ask yourself: "If a design lead reviewed this, what would they call out?" Fix that thing. Then ask again.**
55
+
56
+ ---
57
+
58
+ ## Handoff to @dev
59
+
60
+ A strong handoff includes:
61
+ - Explicit visual direction and anti-goals
62
+ - Design token block (fonts, colors, spacing, radius, depth strategy, motion posture)
63
+ - Per-screen layout notes with component names mapped to real library components
64
+ - Full state matrix (default / hover / focus / active / disabled / loading / empty / error / success)
65
+ - Responsive rules (mobile breakpoints, collapse behavior)
66
+ - Accessibility checklist items
67
+ - Any signature visual moves with implementation notes
68
+ - Anti-patterns to avoid
69
+
70
+ The `ui-spec.md` must be concise enough to code from directly. Not a design document — a build contract.
71
+
72
+ ---
73
+
74
+ ## Update design memory
75
+
76
+ When the work introduces or changes reusable design decisions, update `.interface-design/system.md` with:
77
+ - Final direction and anti-goals
78
+ - Token block
79
+ - Component pattern notes
80
+ - New exceptions or constraints
81
+
82
+ This file is the continuity layer between screens, agents, and future sessions.
83
+
84
+ ---
85
+
86
+ ## Quality bar
87
+
88
+ 1. The result must not look generic.
89
+ 2. Repeated elements must share spacing, radius, and depth logic.
90
+ 3. Typography hierarchy must be legible without decorative tricks.
91
+ 4. The screen must communicate purpose before style.
92
+ 5. The delivered UI must survive real viewport inspection: no overlap, clipped text, missing states, broken font loading, unsupported assets, or default-template composition.
@@ -1,74 +1,74 @@
1
- # Intent and Domain — Interface Design
2
-
3
- > Read this before touching layout, tokens, or components.
4
- > Generic is the enemy. Every spacing value, typeface choice, and depth strategy is a decision. Own every one of them.
5
-
6
- ---
7
-
8
- ## The mandate
9
-
10
- If another AI, given the same prompt, would produce substantially the same output — you have failed.
11
- Defaults disguise themselves as infrastructure. Craft means owning every decision.
12
-
13
- ---
14
-
15
- ## Design memory and continuity
16
-
17
- If `.interface-design/system.md` exists, treat it as the visual source of truth:
18
- - Load it before changing direction, tokens, or component patterns.
19
- - Respect it unless the user explicitly wants a redesign.
20
- - Update it when you introduce a reusable pattern, token rule, or layout decision.
21
-
22
- If the file does not exist and the task covers more than one screen or component family, create it with:
23
- - Product context and UI intent
24
- - Chosen design direction and anti-goals
25
- - Token decisions (color, type, spacing, radius, depth, motion)
26
- - Core component patterns (navigation, card, table, form, modal, empty state)
27
- - Open constraints or decisions still pending
28
-
29
- One product should not look like it was designed from scratch on every screen.
30
-
31
- ---
32
-
33
- ## If the UI already exists
34
-
35
- When refining an existing product:
36
- - Identify the current visual direction before proposing a new one.
37
- - Diagnose token drift first: off-grid spacing, repeated hardcoded colors, mixed radii, mixed depth strategies, missing interactive states.
38
- - Improve consistency before re-theming.
39
- - Replace the direction only when the current system blocks the product intent or the user explicitly asked for a redesign.
40
-
41
- ---
42
-
43
- ## Phase 0 — Intent first (mandatory, cannot skip)
44
-
45
- Before touching layout or tokens, answer three questions with specificity:
46
-
47
- 1. **Who is this human?** — Actual person, actual context.
48
- Bad: "a user." Good: "a finance manager reviewing budget reports at 8am before a board meeting."
49
- 2. **What must they accomplish?** — A specific verb, not a vague goal.
50
- Bad: "manage their projects." Good: "approve or reject 15 expense requests before end of day."
51
- 3. **What should this feel like?** — Concrete texture, not an adjective.
52
- Bad: "clean and modern." Good: "a Bloomberg terminal that doesn't exhaust you."
53
-
54
- **If you cannot answer all three with specifics — stop. Ask. Do not guess. Do not default.**
55
-
56
- ---
57
-
58
- ## Phase 1 — Domain exploration (4 required outputs)
59
-
60
- Before proposing any visual direction, produce:
61
-
62
- 1. **Domain concepts** — 5+ metaphors, patterns, or ideas from the product's world.
63
- Example (clinic scheduling): appointment slots, patient flow, triage priority, clinical notes, white coat.
64
-
65
- 2. **Color world** — 5+ colors that exist naturally in that domain.
66
- Example (clinic): antiseptic white, calm blue (trust, clinical), soft green (go/available), amber (warning/urgent), warm gray (neutral).
67
-
68
- 3. **Signature element** — One thing that could only belong to THIS product.
69
- Example: a subtle "pulse" animation on available time slots, echoing a heartbeat.
70
-
71
- 4. **Defaults to avoid** — 3 obvious, generic choices that must be replaced.
72
- Example: blue primary button → calm teal; card shadows → border-only depth; Inter font → IBM Plex Sans (clinical precision).
73
-
74
- **The identity test:** Remove the product name. Could someone identify what this is for?
1
+ # Intent and Domain — Interface Design
2
+
3
+ > Read this before touching layout, tokens, or components.
4
+ > Generic is the enemy. Every spacing value, typeface choice, and depth strategy is a decision. Own every one of them.
5
+
6
+ ---
7
+
8
+ ## The mandate
9
+
10
+ If another AI, given the same prompt, would produce substantially the same output — you have failed.
11
+ Defaults disguise themselves as infrastructure. Craft means owning every decision.
12
+
13
+ ---
14
+
15
+ ## Design memory and continuity
16
+
17
+ If `.interface-design/system.md` exists, treat it as the visual source of truth:
18
+ - Load it before changing direction, tokens, or component patterns.
19
+ - Respect it unless the user explicitly wants a redesign.
20
+ - Update it when you introduce a reusable pattern, token rule, or layout decision.
21
+
22
+ If the file does not exist and the task covers more than one screen or component family, create it with:
23
+ - Product context and UI intent
24
+ - Chosen design direction and anti-goals
25
+ - Token decisions (color, type, spacing, radius, depth, motion)
26
+ - Core component patterns (navigation, card, table, form, modal, empty state)
27
+ - Open constraints or decisions still pending
28
+
29
+ One product should not look like it was designed from scratch on every screen.
30
+
31
+ ---
32
+
33
+ ## If the UI already exists
34
+
35
+ When refining an existing product:
36
+ - Identify the current visual direction before proposing a new one.
37
+ - Diagnose token drift first: off-grid spacing, repeated hardcoded colors, mixed radii, mixed depth strategies, missing interactive states.
38
+ - Improve consistency before re-theming.
39
+ - Replace the direction only when the current system blocks the product intent or the user explicitly asked for a redesign.
40
+
41
+ ---
42
+
43
+ ## Phase 0 — Intent first (mandatory, cannot skip)
44
+
45
+ Before touching layout or tokens, answer three questions with specificity:
46
+
47
+ 1. **Who is this human?** — Actual person, actual context.
48
+ Bad: "a user." Good: "a finance manager reviewing budget reports at 8am before a board meeting."
49
+ 2. **What must they accomplish?** — A specific verb, not a vague goal.
50
+ Bad: "manage their projects." Good: "approve or reject 15 expense requests before end of day."
51
+ 3. **What should this feel like?** — Concrete texture, not an adjective.
52
+ Bad: "clean and modern." Good: "a Bloomberg terminal that doesn't exhaust you."
53
+
54
+ **If you cannot answer all three with specifics — stop. Ask. Do not guess. Do not default.**
55
+
56
+ ---
57
+
58
+ ## Phase 1 — Domain exploration (4 required outputs)
59
+
60
+ Before proposing any visual direction, produce:
61
+
62
+ 1. **Domain concepts** — 5+ metaphors, patterns, or ideas from the product's world.
63
+ Example (clinic scheduling): appointment slots, patient flow, triage priority, clinical notes, white coat.
64
+
65
+ 2. **Color world** — 5+ colors that exist naturally in that domain.
66
+ Example (clinic): antiseptic white, calm blue (trust, clinical), soft green (go/available), amber (warning/urgent), warm gray (neutral).
67
+
68
+ 3. **Signature element** — One thing that could only belong to THIS product.
69
+ Example: a subtle "pulse" animation on available time slots, echoing a heartbeat.
70
+
71
+ 4. **Defaults to avoid** — 3 obvious, generic choices that must be replaced.
72
+ Example: blue primary button → calm teal; card shadows → border-only depth; Inter font → IBM Plex Sans (clinical precision).
73
+
74
+ **The identity test:** Remove the product name. Could someone identify what this is for?