Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

master-ui-engine

/master-ui-engine

Pomaga budować interfejsy z biblioteką MASTER-UI-ENGINE, tokenami projektowymi, motywami jasnym i ciemnym oraz zestawami komponentów CSS.

Licencja
MIT
Ostatnia zmiana repozytorium
05.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
13
Skrypty
0
Komentarze HTML
2
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Pomaga budować interfejsy z biblioteką MASTER-UI-ENGINE, tokenami projektowymi, motywami jasnym i ciemnym oraz zestawami komponentów CSS.

Argumenty

/master-ui-engine [component or page to build]
Oryginalny opis (EN)

Use when building or restyling any UI — components, pages, dashboards, landing pages, forms, charts — so the agent reuses the MASTER-UI-ENGINE library instead of generating generic interfaces. Also use for design tokens, light/dark theming, CSS component kits, and installing a designed component into another project.

Jak działa

  1. Order of operations (non-negotiable)
  2. The commands (real output)
  3. The framework commands (real output)
  4. Install into another project
  5. Token rules agents get wrong
  6. Quality gate before "done"
Sekcje z nagłówków SKILL.md, w oryginale · 130 linii, 1 156 słów
Podgląd SKILL.md
---
name: master-ui-engine
description: Use when building or restyling any UI — components, pages, dashboards, landing pages, forms, charts — so the agent reuses the MASTER-UI-ENGINE library instead of generating generic interfaces. Also use for design tokens, light/dark theming, CSS component kits, and installing a designed component into another project.
argument-hint: "[component or page to build]"
license: MIT
metadata:
  author: MASTER-UI-ENGINE contributors
  version: "1.0.0"
---

# MASTER-UI-ENGINE

One design system in vanilla HTML/CSS/JS: `design-tokens/` (tokens), `styles/components.css` (31 `#region` copy units), `styles/mue.js` (theme toggle, tabs, dialogs, toasts, accordions), 46 self-contained previews, and `tools/mue.js` — a zero-dependency CLI that is the library's API. Run it from the repo root; never read the 3000-line sheet or a whole preview into context to answer one question.

## Order of operations (non-negotiable)

1. **Search** the library. A blank file is a failure, not a start.
2. **Read the contract** of the winner: `show <id>` gives its `SHEET:` regions, the tags to link, and the exact markup to copy.
3. **Lift the region CSS** — link `styles/components.css`, or take `region <name>` verbatim.
4. **Build** with the preview's classes and tokens. Re-theme by overriding a custom property; re-time by overriding `--duration-*` / `--ease-*`. Never rewrite a component rule for one page.
5. **Gate** with `check <file>`, then `doctor` if you touched the library.

## The commands (real output)

```bash
node tools/mue.js search "pricing card"
  ui-cards               Cards                  components/cards/cards.html
    regions: cards
    matched: name

node tools/mue.js show ui-cards          # HEADER · TO LINK · CSS YOU NEED · MARKUP
node tools/mue.js regions                # 23 copy units: tokens chrome buttons fields choice cards ...
node tools/mue.js region cards           # /* #region cards */ .card { display: flex; ... #endregion
node tools/mue.js usage .btn-primary
  .btn-primary         defined in: buttons
    used by 21 preview(s): btn-buttons, ui-cards, ui-dialogs, ...
node tools/mue.js tokens --filter tint
  --tint-primary               hsla(var(--color-primary-500) / 0.12)  design-tokens/colors/semantic.css
node tools/mue.js head <file|id>         # MUE:META fields, links, scripts, head-comment count
node tools/mue.js scaffold page.html --use ui-cards btn-buttons
node tools/mue.js check all              # 54 files checked · 0 with issues
node tools/mue.js doctor                 # 54 previews · 41 use the shared sheet · 13 still self-contained
```

`--json` on any of them. `help` lists every command.

## The framework commands (real output)

```bash
node tools/mue.js stack
  vanilla:           54/54 entries live
  react:             14/54 entries live
  vue:               14/54 entries live
  web-components:    14/54 entries live
  svelte:            0/54 entries live, 14 documented as planned
  angular:           0/54 entries live, 14 documented as planned

node tools/mue.js search "dialog" --framework react
  ui-dialogs             Dialogs                components/dialogs/dialogs.html
    regions: overlays
    stacks: vanilla, react, vue, web-components
    matched: name

node tools/mue.js show ui-cards --framework vue
  Cards — vue (stable)
    package    mue-vue
    install    copy frameworks/vue into your project — no npm package is published
    import     import { Mue* } from "./frameworks/vue/index.js"
    file       frameworks/vue/components/MueCard.vue
    verified   node frameworks/vue/build.mjs (vite + @vitejs/plugin-vue), then
               frameworks/vue/preview/gallery.html driven in headless Chrome and Edge
               2026-11-01: 46/46 probes at 1280px and 390px, light and dark, 0 console
               errors; axe-core 0 serious/critical in 8 runs. Not run: Safari, Firefox,
               a screen reader, a touch device, SSR, npm publish.
  CONTRACT (harvested from the MUE:META block of the file below)
    variants     variant prop = space-separated list of elevated|outlined|featured|interactive …
    a11y         <article> landmark per the preview; …
    keyboard     none of its own — interactive cards get the sheet :focus-visible ring …
    license      MIT
  SOURCE
    <the whole file>

node tools/mue.js show ui-cards --framework svelte
  Cards — svelte: planned
  This repository has no svelte component for ui-cards. Nothing here is a placeholder for one.
  Documented plan: frameworks/svelte/ARCHITECTURE.md
  The vanilla file is real and copy-ready: node tools/mue.js show ui-cards
```

Ask for the stack first (`stack`), then the component in that stack
(`show <id> --framework <name>`). A binding never carries a stylesheet: it writes the
classes in `styles/components.css`, so the token rules below apply to React, Vue and Web
Components exactly as they apply to HTML. `stable` means the source builds or serves,
renders in its own gallery and was driven there in headless Chrome and Edge — behaviour
probes at two widths in both themes, plus axe-core. It does not mean published to npm, and
no binding has been checked on Safari, Firefox, a screen reader, a touch device or under
server-side rendering; the `verified` note names whichever of those is missing.
`node tools/audit/framework-parity.mjs` fails when a binding invents a class, drops its
`MUE:META` contract, or claims a status without naming the check that produced it.

## Install into another project

```bash
node tools/mue.js add ui-cards --into ../my-app
  mue/ui-cards.html  [written]  snippet
    regions: tokens, buttons, cards, badges, feedback, utilities
    <link rel="stylesheet" href="../design-tokens/engine.css">
    <link rel="stylesheet" href="../styles/components.css">
    <script src="../styles/mue.js" defer></script>

node tools/mue.js add ui-cards,frm-input-fields --into ../app --force
node tools/mue.js add --all-marketing --into ./site --create   # every preview in that group/category
node tools/mue.js registry                                      # the whole library as one JSON document
```

`add` copies `design-tokens/**` + `styles/components.css` + `styles/mue.js` into the target once, writes a runnable `mue/<id>.html` per item, and prints the tags at the correct depth. Identical files are skipped, differing files are kept unless `--force`, nothing is deleted, nothing is written outside `--into`. Default ships the sheet whole; `--minimal` ships `styles/components.trimmed.css` — `tokens`, the regions the header names, the regions the markup's classes live in, and one transitive level after that. A class you add by hand later can live in a region that pass never saw, so **linking `styles/components.css` wholesale is the safer default**.

## Token rules agents get wrong

- **Primitives are raw HSL triplets**: `hsl(var(--color-primary-500))`. Semantics already resolve to a color: `var(--text-secondary)`, no `hsl()`. A bare triplet is invalid CSS and gets dropped silently — and never assign a triplet to `--color-primary` / `--text-primary`.
- **Prefer semantics**; they flip with `html.dark`. Solid light tints like `hsl(var(--color-primary-50))` do not — use `--tint-primary` / `--tint-primary-strong`.
- **`.invert`** on a container re-declares the semantics for its subtree: that is how a dark panel inside a light page is done. No per-component dark rules. Text on a hand-painted gray-900/950 surface uses the opposite end of the ramp (`--color-gray-50`, `--color-gray-300`).
- **Motion is composite**: `var(--motion-colors)`, `--motion-lift`, `--motion-press`, `--motion-reveal`, from `design-tokens/motion/scale.css`. Nothing hardcodes `0.2s ease`; `prefers-reduced-motion` is already handled by the engine.
- **One** `<!-- BEGIN MUE:META … END MUE:META -->` comment in `<head>`, never a paired `<!-- /MUE:META -->`: extra comments make the parser relocate the field lines and the document into `<body>`.
- **The page `<style>` is scaffolding only** (the grid that places variants, a widget with no region). A component rule the sheet lacks belongs in the sheet's right `#region`, not in the page.
- No build step, no CDN, no web fonts: the only loads are `engine.css`, `components.css`, `mue.js`, by relative path.

## Quality gate before "done"

- [ ] `node tools/mue.js check <file>` clean, `doctor` shows no new problems
- [ ] Opens directly in a browser and renders styled (verify the relative depth)
- [ ] Every class resolves — sheet, tokens, or genuine scaffolding; `SHEET:` names the regions used
- [ ] No hardcoded brand color or duration; overriding a token was the only restyle
- [ ] Both themes legible, AA contrast, no horizontal overflow at 320/375/768/1200
- [ ] Keyboard reachable with a visible `:focus-visible` ring; interactions actually work
- [ ] New component: added to a `#region`, has a `.code-wrap` panel with `data-section="region[,region]"`, catalog entry + `build-catalog.ps1` re-run, license and attribution recorded

`AGENTS.md` is this repo's law; this file is the portable behaviour pack. When they disagree, `AGENTS.md` wins.
Pliki w paczce (13)
  • .editorconfig 1 KB
  • .env.example 1 KB
  • .gitignore 1 KB
  • .nvmrc 1 KB
  • AGENTS.md 16 KB
  • CONTRIBUTING.md 6 KB
  • DEPLOYMENT.md 22 KB
  • LICENSE 2 KB
  • README.md 17 KB
  • RESOURCES.md 8 KB
  • SKILL.md 9 KB
  • favicon.ico 1 KB
  • index.html 1 KB

Wersje

W bazie nie ma innych skilli o nazwie master-ui-engine.

Migawka bazy z 13.11.2026 · wersja paczki 1a8de9db4adf (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100design-tokens
    Pracuje z tokenami projektowymi i własnościami CSS: systemy motywów, tryb ciemny i biblioteki komponentów.
  • 100core-components
    Opisuje wzorce biblioteki komponentów i systemu projektowego, przy budowaniu interfejsu z tokenami projektowymi.
  • 100core-components
    Opisuje wzorce biblioteki komponentów i systemu projektowego, przy budowaniu interfejsu z tokenami projektowymi.
  • 100core-components
    Opisuje wzorce biblioteki komponentów i systemu projektowego, przy budowaniu interfejsu z tokenami projektowymi.
  • 100core-components
    Opisuje wzorce biblioteki komponentów i systemu projektowego, przy budowaniu interfejsu z tokenami projektowymi.
  • 90design-system
    Tworzy system projektowy z tokenami w trzech warstwach, motywami jasnym i ciemnym, skalami typografii i odstępów oraz DESIGN.md.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.