@monoes/monodesign 1.2.2 → 1.2.3

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 (164) hide show
  1. package/LICENSE +0 -0
  2. package/NOTICE.md +0 -0
  3. package/README.md +62 -0
  4. package/cli/bin/commands/ignores.mjs +0 -0
  5. package/cli/engine/browser/injected/index.mjs +0 -0
  6. package/cli/engine/cli/main.mjs +0 -0
  7. package/cli/engine/design-system.mjs +0 -0
  8. package/cli/engine/detect-antipatterns-browser.js +0 -0
  9. package/cli/engine/detect-antipatterns.mjs +0 -0
  10. package/cli/engine/engines/browser/detect-url.mjs +0 -0
  11. package/cli/engine/engines/browser/drivers.mjs +0 -0
  12. package/cli/engine/engines/regex/detect-text.mjs +0 -0
  13. package/cli/engine/engines/static-html/css-cascade.mjs +0 -0
  14. package/cli/engine/engines/static-html/detect-html.mjs +0 -0
  15. package/cli/engine/engines/visual/screenshot-contrast.mjs +0 -0
  16. package/cli/engine/findings.mjs +0 -0
  17. package/cli/engine/fix/css-regions.mjs +0 -0
  18. package/cli/engine/fix/fixers.mjs +0 -0
  19. package/cli/engine/fix/index.mjs +0 -0
  20. package/cli/engine/node/file-system.mjs +0 -0
  21. package/cli/engine/profile/profiler.mjs +0 -0
  22. package/cli/engine/registry/antipatterns.mjs +0 -0
  23. package/cli/engine/rules/checks.mjs +0 -0
  24. package/cli/engine/shared/color.mjs +0 -0
  25. package/cli/engine/shared/constants.mjs +0 -0
  26. package/cli/engine/shared/fonts.mjs +0 -0
  27. package/cli/engine/shared/inline-ignores.mjs +0 -0
  28. package/cli/engine/shared/page.mjs +0 -0
  29. package/cli/lib/monodesign-config.mjs +0 -0
  30. package/package.json +2 -2
  31. package/skill/SKILL.src.md +0 -0
  32. package/skill/agents/monodesign-asset-producer.md +0 -0
  33. package/skill/agents/monodesign-manual-edit-applier.md +0 -0
  34. package/skill/commands/adapt.md +0 -0
  35. package/skill/commands/animate.md +0 -0
  36. package/skill/commands/audit.md +0 -0
  37. package/skill/commands/bolder.md +0 -0
  38. package/skill/commands/clarify.md +0 -0
  39. package/skill/commands/colorize.md +0 -0
  40. package/skill/commands/craft.md +0 -0
  41. package/skill/commands/critique.md +0 -0
  42. package/skill/commands/delight.md +0 -0
  43. package/skill/commands/distill.md +0 -0
  44. package/skill/commands/document.md +0 -0
  45. package/skill/commands/extract.md +0 -0
  46. package/skill/commands/harden.md +0 -0
  47. package/skill/commands/init.md +0 -0
  48. package/skill/commands/layout.md +0 -0
  49. package/skill/commands/live.md +0 -0
  50. package/skill/commands/onboard.md +0 -0
  51. package/skill/commands/optimize.md +0 -0
  52. package/skill/commands/overdrive.md +0 -0
  53. package/skill/commands/polish.md +0 -0
  54. package/skill/commands/quieter.md +0 -0
  55. package/skill/commands/shape.md +0 -0
  56. package/skill/commands/teach.md +0 -0
  57. package/skill/commands/typeset.md +0 -0
  58. package/skill/reference/adapt.md +0 -0
  59. package/skill/reference/adapt.native.md +0 -0
  60. package/skill/reference/android.md +0 -0
  61. package/skill/reference/animate.md +0 -0
  62. package/skill/reference/antipatterns-catalog.md +0 -0
  63. package/skill/reference/audit.md +0 -0
  64. package/skill/reference/audit.native.md +0 -0
  65. package/skill/reference/bolder.md +0 -0
  66. package/skill/reference/brand-workflow.md +0 -0
  67. package/skill/reference/brand.md +0 -0
  68. package/skill/reference/clarify.md +0 -0
  69. package/skill/reference/codex.md +0 -0
  70. package/skill/reference/cognitive-load.md +0 -0
  71. package/skill/reference/color-and-contrast.md +0 -0
  72. package/skill/reference/colorize.md +0 -0
  73. package/skill/reference/component-specs.md +0 -0
  74. package/skill/reference/component-states.md +0 -0
  75. package/skill/reference/component-system.md +0 -0
  76. package/skill/reference/copy-formulas.md +0 -0
  77. package/skill/reference/craft.md +0 -0
  78. package/skill/reference/critique.md +0 -0
  79. package/skill/reference/delight.md +0 -0
  80. package/skill/reference/design-principles.md +0 -0
  81. package/skill/reference/distill.md +0 -0
  82. package/skill/reference/document.md +0 -0
  83. package/skill/reference/extract.md +0 -0
  84. package/skill/reference/harden.md +0 -0
  85. package/skill/reference/heuristics-scoring.md +0 -0
  86. package/skill/reference/hooks.md +0 -0
  87. package/skill/reference/image-prompts.md +0 -0
  88. package/skill/reference/init.md +0 -0
  89. package/skill/reference/interaction-design.md +0 -0
  90. package/skill/reference/ios.md +0 -0
  91. package/skill/reference/layout.md +0 -0
  92. package/skill/reference/live.md +0 -0
  93. package/skill/reference/motion-design.md +0 -0
  94. package/skill/reference/onboard.md +0 -0
  95. package/skill/reference/optimize.md +0 -0
  96. package/skill/reference/overdrive.md +0 -0
  97. package/skill/reference/personas.md +0 -0
  98. package/skill/reference/polish.md +0 -0
  99. package/skill/reference/pre-delivery-checklist.md +0 -0
  100. package/skill/reference/product.md +0 -0
  101. package/skill/reference/quieter.md +0 -0
  102. package/skill/reference/responsive-design.md +0 -0
  103. package/skill/reference/shape.md +0 -0
  104. package/skill/reference/spatial-design.md +0 -0
  105. package/skill/reference/teach.md +0 -0
  106. package/skill/reference/token-architecture.md +0 -0
  107. package/skill/reference/typeset.md +0 -0
  108. package/skill/reference/typography.md +0 -0
  109. package/skill/reference/ux-research.md +0 -0
  110. package/skill/reference/ux-rules.md +0 -0
  111. package/skill/reference/ux-writing.md +0 -0
  112. package/skill/scripts/command-metadata.json +0 -0
  113. package/skill/scripts/context-signals.mjs +0 -0
  114. package/skill/scripts/context.mjs +0 -0
  115. package/skill/scripts/critique-storage.mjs +0 -0
  116. package/skill/scripts/detect-csp.mjs +0 -0
  117. package/skill/scripts/detect.mjs +0 -0
  118. package/skill/scripts/hook-admin.mjs +0 -0
  119. package/skill/scripts/hook-before-edit.mjs +0 -0
  120. package/skill/scripts/hook-lib.mjs +0 -0
  121. package/skill/scripts/hook.mjs +0 -0
  122. package/skill/scripts/lib/design-parser.mjs +0 -0
  123. package/skill/scripts/lib/is-generated.mjs +0 -0
  124. package/skill/scripts/lib/monodesign-paths.mjs +0 -0
  125. package/skill/scripts/lib/provider.mjs +0 -0
  126. package/skill/scripts/lib/target-args.mjs +0 -0
  127. package/skill/scripts/live/browser-script-parts.mjs +0 -0
  128. package/skill/scripts/live/completion.mjs +0 -0
  129. package/skill/scripts/live/event-validation.mjs +0 -0
  130. package/skill/scripts/live/insert-ui.mjs +0 -0
  131. package/skill/scripts/live/manual-apply.mjs +0 -0
  132. package/skill/scripts/live/manual-edit-routes.mjs +0 -0
  133. package/skill/scripts/live/manual-edits-buffer.mjs +0 -0
  134. package/skill/scripts/live/session-store.mjs +0 -0
  135. package/skill/scripts/live/svelte-component.mjs +0 -0
  136. package/skill/scripts/live/sveltekit-adapter.mjs +0 -0
  137. package/skill/scripts/live/ui-core.mjs +0 -0
  138. package/skill/scripts/live/vocabulary.mjs +0 -0
  139. package/skill/scripts/live-accept.mjs +0 -0
  140. package/skill/scripts/live-browser-dom.js +0 -0
  141. package/skill/scripts/live-browser-session.js +0 -0
  142. package/skill/scripts/live-browser.js +0 -0
  143. package/skill/scripts/live-commit-manual-edits.mjs +0 -0
  144. package/skill/scripts/live-complete.mjs +0 -0
  145. package/skill/scripts/live-copy-edit-agent.mjs +0 -0
  146. package/skill/scripts/live-discard-manual-edits.mjs +0 -0
  147. package/skill/scripts/live-inject.mjs +0 -0
  148. package/skill/scripts/live-insert.mjs +0 -0
  149. package/skill/scripts/live-manual-edit-evidence.mjs +0 -0
  150. package/skill/scripts/live-poll.mjs +0 -0
  151. package/skill/scripts/live-resume.mjs +0 -0
  152. package/skill/scripts/live-server.mjs +0 -0
  153. package/skill/scripts/live-status.mjs +0 -0
  154. package/skill/scripts/live-target.mjs +0 -0
  155. package/skill/scripts/live-wrap.mjs +0 -0
  156. package/skill/scripts/live.mjs +0 -0
  157. package/skill/scripts/modern-screenshot.umd.js +0 -0
  158. package/skill/scripts/palette.mjs +0 -0
  159. package/skill/scripts/pin.mjs +0 -0
  160. package/src/antipatterns.ts +0 -0
  161. package/src/index.ts +0 -0
  162. package/src/rules.ts +0 -0
  163. package/src/tokens.css +0 -0
  164. package/src/tokens.ts +0 -0
package/LICENSE CHANGED
File without changes
package/NOTICE.md CHANGED
File without changes
package/README.md ADDED
@@ -0,0 +1,62 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/monoes/monomind/main/assets/packages/monodesign.png" alt="@monoes/monodesign" width="600" />
3
+ </p>
4
+
5
+ # @monoes/monodesign
6
+
7
+ [![npm version](https://img.shields.io/npm/v/@monoes/monodesign?style=flat-square)](https://www.npmjs.com/package/@monoes/monodesign)
8
+ [![license](https://img.shields.io/npm/l/@monoes/monodesign?style=flat-square)](https://github.com/monoes/monomind/blob/main/LICENSE)
9
+ [![node](https://img.shields.io/badge/node-%3E%3D20-339933?style=flat-square&logo=node.js&logoColor=white)](https://nodejs.org)
10
+
11
+ **Frontend design intelligence for AI agents** — design tokens, CSS antipattern detection, and the monodesign skill. The unified design agent for the Monomind ecosystem.
12
+
13
+ > Part of the [Monomind](https://github.com/monoes/monomind) ecosystem.
14
+
15
+ ## Install
16
+
17
+ ```bash
18
+ npm install @monoes/monodesign
19
+ ```
20
+
21
+ ## What's inside
22
+
23
+ | Export | Purpose |
24
+ |---|---|
25
+ | `tokens` | Design token definitions (colors, spacing, typography, breakpoints) |
26
+ | `rules` | Antipattern detection rules for CSS and component structure |
27
+ | `antipatterns` | Detect and report common frontend antipatterns |
28
+
29
+ ## Design tokens
30
+
31
+ ```typescript
32
+ import { tokens } from '@monoes/monodesign';
33
+
34
+ // Access design system values
35
+ tokens.colors.primary // brand colors
36
+ tokens.spacing.md // spacing scale
37
+ tokens.typography.body // font stacks and sizes
38
+ tokens.breakpoints.tablet // responsive breakpoints
39
+ ```
40
+
41
+ ## Antipattern detection
42
+
43
+ ```typescript
44
+ import { detectAntipatterns } from '@monoes/monodesign';
45
+
46
+ const issues = detectAntipatterns(cssSource);
47
+ // [{ rule: 'no-magic-numbers', line: 42, message: '...' }, ...]
48
+ ```
49
+
50
+ ## The monodesign skill
51
+
52
+ In Claude Code, monodesign is available as `/monodesign` — the single design agent handling UI/component systems, brand strategy, UX research, visual storytelling, CSS architecture, design critique, and more. This package provides the runtime intelligence that skill draws from.
53
+
54
+ ## Links
55
+
56
+ - [GitHub](https://github.com/monoes/monomind)
57
+ - [Documentation](https://monoes.github.io/monomind/)
58
+ - [Issues](https://github.com/monoes/monomind/issues)
59
+
60
+ ## License
61
+
62
+ MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@monoes/monodesign",
3
- "version": "1.2.2",
4
- "description": "Frontend design intelligence for AI agents \u2014 design tokens, antipattern detection, and the monodesign skill",
3
+ "version": "1.2.3",
4
+ "description": "Frontend design intelligence for AI agents — design tokens, antipattern detection, and the monodesign skill",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
7
7
  "exports": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/index.ts CHANGED
File without changes
package/src/rules.ts CHANGED
File without changes
package/src/tokens.css CHANGED
File without changes
package/src/tokens.ts CHANGED
File without changes