Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions .claude/skills/engine-design-system/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
---
name: engine-design-system
description: Rules and component reference for the Engine design system (@engineio/ui). Use when building or reviewing any Engine surface — Svelte components, styles, tokens, colour, type, spacing, the brand marks — or when choosing a Button/Badge/Alert variant, adding a component variant, or picking a colour.
description: Rules and component reference for the Engine design system (engineio/ui). Use when building or reviewing any Engine surface — Svelte components, styles, tokens, themes, colour, type, spacing, the brand marks — or when choosing a Button/Badge/Alert variant, adding a component variant, or picking a colour.
---

Read `node_modules/@engineio/ui/AGENTS.md` before writing UI. It ships with the
package, so it matches the installed version — do not rely on memory of these
rules, and do not copy them into a repo where they will go stale.
Read the Engine design system's `AGENTS.md` before writing UI: `../engine-ui/AGENTS.md`
in the sibling checkout, or https://engineio.github.io/ui/AGENTS.md. Don't rely
on memory of these rules, and don't copy them into a repo where they will go
stale.

If that file is absent the package is not installed here; say so rather than
guessing at the system.
The components are a reference. A product copies them into its own tree with
`bun ../engine-ui/scripts/copy-into.ts <dest>` and owns the copy. `ENGINE-UI.md`
in the copy records the upstream commit it matches.

Non-negotiable, and worth having in mind before you read further:

- Three brand colours: Off Black `#0E0E0E`, Pure White `#FFFFFF`, Magenta
`#FF006A`. One accent per surface.
- Never a hex literal or a Tailwind stock colour. Use a token. CI fails on both.
- Never a hex literal or a Tailwind stock colour. Use a token. Name a role
(`text-foreground`, `bg-card`), never `white` or `black`, so the light theme
works.
- `success` / `warning` / `danger` are FUNCTIONAL. They report state, never
category, and never decoration.
- Ink on any status or accent fill is Off Black. White fails AA on all three.
- No emoji. No gradients. No light theme. No `dark:` variants.
- Add a variant by `tv({ extend: … })` in the product, never by forking a
component or upstreaming a product-only variant.
- Ink on a status or accent fill is its `-foreground` token.
- Nothing people read is under 16px: `text-body` for sub text, `text-nav` for
navigation. Make sub text grey, not smaller.
- No emoji. No gradients. No `dark:` variants: light is a theme.
- Add a variant by `tv({ extend: … })` beside the copy, rather than editing
the copied component, so the copy stays diffable against upstream.

For anything the file does not cover, choose the quieter and more mechanical
option, and flag the gap rather than inventing a rule.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ jobs:
- name: Types and Svelte check
run: bun run check

# `svelte-package` + publint. publint is the guard that matters: it
# validates the exports map against what consumers actually resolve, so
# a broken subpath or a missing `svelte` condition fails here rather
# than in engine or rgs after a release.
- name: Themes complete and readable
run: bun run check:themes

# `svelte-package` + publint. Nothing installs the package any more
# (products copy src/lib), but packaging is still the quickest proof
# that src/lib compiles on its own, with no help from the gallery.
- name: Build package
run: bun run build

Expand Down
186 changes: 0 additions & 186 deletions .github/workflows/release.yml

This file was deleted.

136 changes: 0 additions & 136 deletions .releaserc.json

This file was deleted.

Loading