You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All pnpm run scripts, annotated with frequency and prerequisites.
Legend:
🟢 daily — part of normal development workflow
🔵 token changes — run when token files change
🟡 CI only — normally run by CI, not manually
⚪ debugging / advanced — run when investigating issues or exploring the API
Daily development
Script
What it does
Freq
Prereqs
verify
ESLint + design-lint. Must pass before every commit.
🟢
kernel:start
lint
ESLint only
🟢
—
lint:fix
ESLint with auto-fix
🟢
—
format
Prettier check (read-only)
🟢
—
format:write
Prettier with auto-fix
🟢
—
DSR kernel lifecycle
The kernel must be running for any design-lint command to work. It reads token files at startup — restart it after any token change.
Script
What it does
Freq
Prereqs
kernel:start
Start the kernel, seed with catalog.tokens.json
🟢
—
kernel:start:http
Start with HTTP fallback on port 7341
⚪
—
kernel:start:no-http
Start with HTTP transport disabled
⚪
—
kernel:stop
Stop the running kernel
🟢
—
kernel:status
Print PID and socket path if running
🟢
—
DSR kernel write commands
These modify the running kernel's token graph. Changes are transient — they reset when the kernel is restarted. Use them for scripting, live debugging, or build integrations.
Edit the relevant script in package.json to target your own tokens before running.
Script
What it does
Freq
kernel:token-add
Register a new color token at #/clr/new
⚪
kernel:token-deprecate
Mark #/clr/accent deprecated → #/clr/brand
⚪
kernel:component-register
Register Button as a design system component
⚪
kernel:rule-configure
Set design-token/colors to error with options
⚪
design-lint — linting
Script
What it does
Freq
Prereqs
design-lint
Lint all source files
🟢
kernel:start
design-lint:validate
Validate config, plugins, and rule names — no lint pass
🟢
kernel:start
design-lint:fix
Auto-fix violations in place
🟢
kernel:start
design-lint:check
Lint with --fail-on-empty --max-warnings 100
🟡
kernel:start
design-lint:quiet
Lint with suppressed output (exit code only)
⚪
kernel:start
design-lint:ignore-path
Lint while honouring extra ignores from .gitignore