@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.
- package/LICENSE +0 -0
- package/NOTICE.md +0 -0
- package/README.md +62 -0
- package/cli/bin/commands/ignores.mjs +0 -0
- package/cli/engine/browser/injected/index.mjs +0 -0
- package/cli/engine/cli/main.mjs +0 -0
- package/cli/engine/design-system.mjs +0 -0
- package/cli/engine/detect-antipatterns-browser.js +0 -0
- package/cli/engine/detect-antipatterns.mjs +0 -0
- package/cli/engine/engines/browser/detect-url.mjs +0 -0
- package/cli/engine/engines/browser/drivers.mjs +0 -0
- package/cli/engine/engines/regex/detect-text.mjs +0 -0
- package/cli/engine/engines/static-html/css-cascade.mjs +0 -0
- package/cli/engine/engines/static-html/detect-html.mjs +0 -0
- package/cli/engine/engines/visual/screenshot-contrast.mjs +0 -0
- package/cli/engine/findings.mjs +0 -0
- package/cli/engine/fix/css-regions.mjs +0 -0
- package/cli/engine/fix/fixers.mjs +0 -0
- package/cli/engine/fix/index.mjs +0 -0
- package/cli/engine/node/file-system.mjs +0 -0
- package/cli/engine/profile/profiler.mjs +0 -0
- package/cli/engine/registry/antipatterns.mjs +0 -0
- package/cli/engine/rules/checks.mjs +0 -0
- package/cli/engine/shared/color.mjs +0 -0
- package/cli/engine/shared/constants.mjs +0 -0
- package/cli/engine/shared/fonts.mjs +0 -0
- package/cli/engine/shared/inline-ignores.mjs +0 -0
- package/cli/engine/shared/page.mjs +0 -0
- package/cli/lib/monodesign-config.mjs +0 -0
- package/package.json +2 -2
- package/skill/SKILL.src.md +0 -0
- package/skill/agents/monodesign-asset-producer.md +0 -0
- package/skill/agents/monodesign-manual-edit-applier.md +0 -0
- package/skill/commands/adapt.md +0 -0
- package/skill/commands/animate.md +0 -0
- package/skill/commands/audit.md +0 -0
- package/skill/commands/bolder.md +0 -0
- package/skill/commands/clarify.md +0 -0
- package/skill/commands/colorize.md +0 -0
- package/skill/commands/craft.md +0 -0
- package/skill/commands/critique.md +0 -0
- package/skill/commands/delight.md +0 -0
- package/skill/commands/distill.md +0 -0
- package/skill/commands/document.md +0 -0
- package/skill/commands/extract.md +0 -0
- package/skill/commands/harden.md +0 -0
- package/skill/commands/init.md +0 -0
- package/skill/commands/layout.md +0 -0
- package/skill/commands/live.md +0 -0
- package/skill/commands/onboard.md +0 -0
- package/skill/commands/optimize.md +0 -0
- package/skill/commands/overdrive.md +0 -0
- package/skill/commands/polish.md +0 -0
- package/skill/commands/quieter.md +0 -0
- package/skill/commands/shape.md +0 -0
- package/skill/commands/teach.md +0 -0
- package/skill/commands/typeset.md +0 -0
- package/skill/reference/adapt.md +0 -0
- package/skill/reference/adapt.native.md +0 -0
- package/skill/reference/android.md +0 -0
- package/skill/reference/animate.md +0 -0
- package/skill/reference/antipatterns-catalog.md +0 -0
- package/skill/reference/audit.md +0 -0
- package/skill/reference/audit.native.md +0 -0
- package/skill/reference/bolder.md +0 -0
- package/skill/reference/brand-workflow.md +0 -0
- package/skill/reference/brand.md +0 -0
- package/skill/reference/clarify.md +0 -0
- package/skill/reference/codex.md +0 -0
- package/skill/reference/cognitive-load.md +0 -0
- package/skill/reference/color-and-contrast.md +0 -0
- package/skill/reference/colorize.md +0 -0
- package/skill/reference/component-specs.md +0 -0
- package/skill/reference/component-states.md +0 -0
- package/skill/reference/component-system.md +0 -0
- package/skill/reference/copy-formulas.md +0 -0
- package/skill/reference/craft.md +0 -0
- package/skill/reference/critique.md +0 -0
- package/skill/reference/delight.md +0 -0
- package/skill/reference/design-principles.md +0 -0
- package/skill/reference/distill.md +0 -0
- package/skill/reference/document.md +0 -0
- package/skill/reference/extract.md +0 -0
- package/skill/reference/harden.md +0 -0
- package/skill/reference/heuristics-scoring.md +0 -0
- package/skill/reference/hooks.md +0 -0
- package/skill/reference/image-prompts.md +0 -0
- package/skill/reference/init.md +0 -0
- package/skill/reference/interaction-design.md +0 -0
- package/skill/reference/ios.md +0 -0
- package/skill/reference/layout.md +0 -0
- package/skill/reference/live.md +0 -0
- package/skill/reference/motion-design.md +0 -0
- package/skill/reference/onboard.md +0 -0
- package/skill/reference/optimize.md +0 -0
- package/skill/reference/overdrive.md +0 -0
- package/skill/reference/personas.md +0 -0
- package/skill/reference/polish.md +0 -0
- package/skill/reference/pre-delivery-checklist.md +0 -0
- package/skill/reference/product.md +0 -0
- package/skill/reference/quieter.md +0 -0
- package/skill/reference/responsive-design.md +0 -0
- package/skill/reference/shape.md +0 -0
- package/skill/reference/spatial-design.md +0 -0
- package/skill/reference/teach.md +0 -0
- package/skill/reference/token-architecture.md +0 -0
- package/skill/reference/typeset.md +0 -0
- package/skill/reference/typography.md +0 -0
- package/skill/reference/ux-research.md +0 -0
- package/skill/reference/ux-rules.md +0 -0
- package/skill/reference/ux-writing.md +0 -0
- package/skill/scripts/command-metadata.json +0 -0
- package/skill/scripts/context-signals.mjs +0 -0
- package/skill/scripts/context.mjs +0 -0
- package/skill/scripts/critique-storage.mjs +0 -0
- package/skill/scripts/detect-csp.mjs +0 -0
- package/skill/scripts/detect.mjs +0 -0
- package/skill/scripts/hook-admin.mjs +0 -0
- package/skill/scripts/hook-before-edit.mjs +0 -0
- package/skill/scripts/hook-lib.mjs +0 -0
- package/skill/scripts/hook.mjs +0 -0
- package/skill/scripts/lib/design-parser.mjs +0 -0
- package/skill/scripts/lib/is-generated.mjs +0 -0
- package/skill/scripts/lib/monodesign-paths.mjs +0 -0
- package/skill/scripts/lib/provider.mjs +0 -0
- package/skill/scripts/lib/target-args.mjs +0 -0
- package/skill/scripts/live/browser-script-parts.mjs +0 -0
- package/skill/scripts/live/completion.mjs +0 -0
- package/skill/scripts/live/event-validation.mjs +0 -0
- package/skill/scripts/live/insert-ui.mjs +0 -0
- package/skill/scripts/live/manual-apply.mjs +0 -0
- package/skill/scripts/live/manual-edit-routes.mjs +0 -0
- package/skill/scripts/live/manual-edits-buffer.mjs +0 -0
- package/skill/scripts/live/session-store.mjs +0 -0
- package/skill/scripts/live/svelte-component.mjs +0 -0
- package/skill/scripts/live/sveltekit-adapter.mjs +0 -0
- package/skill/scripts/live/ui-core.mjs +0 -0
- package/skill/scripts/live/vocabulary.mjs +0 -0
- package/skill/scripts/live-accept.mjs +0 -0
- package/skill/scripts/live-browser-dom.js +0 -0
- package/skill/scripts/live-browser-session.js +0 -0
- package/skill/scripts/live-browser.js +0 -0
- package/skill/scripts/live-commit-manual-edits.mjs +0 -0
- package/skill/scripts/live-complete.mjs +0 -0
- package/skill/scripts/live-copy-edit-agent.mjs +0 -0
- package/skill/scripts/live-discard-manual-edits.mjs +0 -0
- package/skill/scripts/live-inject.mjs +0 -0
- package/skill/scripts/live-insert.mjs +0 -0
- package/skill/scripts/live-manual-edit-evidence.mjs +0 -0
- package/skill/scripts/live-poll.mjs +0 -0
- package/skill/scripts/live-resume.mjs +0 -0
- package/skill/scripts/live-server.mjs +0 -0
- package/skill/scripts/live-status.mjs +0 -0
- package/skill/scripts/live-target.mjs +0 -0
- package/skill/scripts/live-wrap.mjs +0 -0
- package/skill/scripts/live.mjs +0 -0
- package/skill/scripts/modern-screenshot.umd.js +0 -0
- package/skill/scripts/palette.mjs +0 -0
- package/skill/scripts/pin.mjs +0 -0
- package/src/antipatterns.ts +0 -0
- package/src/index.ts +0 -0
- package/src/rules.ts +0 -0
- package/src/tokens.css +0 -0
- 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
|
+
[](https://www.npmjs.com/package/@monoes/monodesign)
|
|
8
|
+
[](https://github.com/monoes/monomind/blob/main/LICENSE)
|
|
9
|
+
[](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
|
package/cli/engine/cli/main.mjs
CHANGED
|
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/cli/engine/findings.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cli/engine/fix/index.mjs
CHANGED
|
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.
|
|
4
|
-
"description": "Frontend design intelligence for AI agents
|
|
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": {
|
package/skill/SKILL.src.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/commands/adapt.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/commands/audit.md
CHANGED
|
File without changes
|
package/skill/commands/bolder.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/commands/craft.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/commands/harden.md
CHANGED
|
File without changes
|
package/skill/commands/init.md
CHANGED
|
File without changes
|
package/skill/commands/layout.md
CHANGED
|
File without changes
|
package/skill/commands/live.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/commands/polish.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/commands/shape.md
CHANGED
|
File without changes
|
package/skill/commands/teach.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/reference/adapt.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/reference/audit.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/reference/brand.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/reference/codex.md
CHANGED
|
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/skill/reference/craft.md
CHANGED
|
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/skill/reference/hooks.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/reference/init.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/reference/ios.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/reference/live.md
CHANGED
|
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/skill/reference/shape.md
CHANGED
|
File without changes
|
|
File without changes
|
package/skill/reference/teach.md
CHANGED
|
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/skill/scripts/detect.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/scripts/hook.mjs
CHANGED
|
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/skill/scripts/live.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/skill/scripts/pin.mjs
CHANGED
|
File without changes
|
package/src/antipatterns.ts
CHANGED
|
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
|