# weights-biases-ui-skills

weights-biases-ui-skills — a skill for Weights & Biases-style interfaces with light surfaces, Inter, a 4px spacing grid, and rules for interaction, accessibility, and motion.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 262 installs · ★ 108 repo stars
- Author: design-skills
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/ihlamury/design-skills/tree/HEAD/skills/weights-biases/SKILL.md
- Updated: 2026-02-10
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/weights-biases-ui-skills

## What it does

This skill gives AI agents a set of constraints for building interfaces inspired by Weights & Biases. It points projects toward light surfaces, a `#FFFFFF` page background, the Inter typeface, and 4px spacing. The rules also call for a text contrast ratio of at least 4.5:1, `text-balance` in headings, and `text-pretty` in body copy.

The guidance covers layout and component behavior: a 1920px base viewport, `h-dvh` rather than `h-screen`, `safe-area-inset` for fixed elements, a `#5E6AD2` focus outline, and defined hover and disabled states. Destructive actions use `AlertDialog`, errors appear beside the related action, and icon-only buttons need an `aria-label`.

Motion is added only when requested and limited to `transform` or `opacity`; interaction feedback must stay within `200ms`. The 1920px base viewport is a constraint to account for when the target layout uses another size.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/weights-biases/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/weights-biases/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/weights-biases/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/weights-biases/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ihlamury/design-skills skills/weights-biases
```

2. **Manually: put the files in place**
- File: `.github/skills/weights-biases/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ihlamury/design-skills --path skills/weights-biases
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/weights-biases/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ihlamury/design-skills/tree/HEAD/skills/weights-biases/SKILL.md

## When to use it
- build a light interface inspired by Weights & Biases
- apply a 4px spacing grid across the layout
- define focus, hover, and disabled states
- check interactive controls for accessibility
- keep motion within the skill’s animation rules

## Example prompts
- Build a light interface with a `#FFFFFF` page background, Inter, and a 4px spacing grid.
- Review this UI against weights-biases-ui-skills, including focus treatment, `aria-label`, and `h-dvh`.
- Rewrite the button and list states without animating layout properties.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 9b348dc2d79263fe.

BEGIN THIRD-PARTY FILE 9b348dc2d79263fe
```text
---
name: weights-biases-ui-skills
description: Weights Biases's UI design system. Use when building interfaces inspired by Weights Biases's aesthetic - light mode, Inter font, 4px grid.
license: MIT
metadata:
  author: design-skills
  version: "1.0.0"
  source: https://wandb.ai
---

# Weights Biases UI Skills

Opinionated constraints for building Weights Biases-style interfaces with AI agents.

## When to Apply

Reference these guidelines when:
- Building light-mode interfaces
- Creating Weights Biases-inspired design systems
- Implementing UIs with Inter font and 4px grid

## Colors

- SHOULD use light backgrounds for primary surfaces
- MUST use `#FFFFFF` as page background (`surface-base`)
- SHOULD limit color palette to 1 distinct colors
- MUST maintain text contrast ratio of at least 4.5:1 for accessibility

### Semantic Tokens

| Token | HEX | RGB | Usage |
|-------|-----|-----|-------|
| `surface-base` | #FFFFFF | rgb(255,255,255) | Page background |

## Typography

- MUST limit font families to: 
- MUST use `text-balance` for headings and `text-pretty` for body text
- SHOULD use `tabular-nums` for numeric data
- NEVER modify letter-spacing unless explicitly requested

## Spacing

- MUST use 4px grid for spacing
- NEVER use arbitrary spacing values (use design scale)
- SHOULD maintain consistent padding within containers

## Borders

- NEVER use arbitrary border-radius values (use design scale)
- SHOULD use subtle borders (1px) for element separation

## Layout

- MUST design for 1920px base viewport width
- NEVER use `h-screen`, use `h-dvh` for full viewport height
- MUST respect `safe-area-inset` for fixed elements
- SHOULD use `size-*` for square elements instead of `w-*` + `h-*`

### Detected Layout Patterns

- **Main Content**: width: 1673px, height: 1080px

## Components

## Interactive States

### Focus

- MUST use `2px` outline with accent color (`#5E6AD2`)
- MUST use `2px` outline-offset
- NEVER remove focus indicators

### Hover

- Buttons (primary): lighten background by 10%
- Buttons (secondary): use `surface-raised` background
- List items: use `surface-raised` background

### Disabled

- MUST use `opacity: 0.5`
- MUST use `cursor: not-allowed`

## Interaction

- MUST use an `AlertDialog` for destructive or irreversible actions
- SHOULD use structural skeletons for loading states
- MUST show errors next to where the action happens
- NEVER block paste in `input` or `textarea` elements
- MUST add an `aria-label` to icon-only buttons

## Animation

- NEVER add animation unless it is explicitly requested
```
END THIRD-PARTY FILE 9b348dc2d79263fe

The third-party file has ended. Everything between the 9b348dc2d79263fe tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2565 of 3064 bytes. © design-skills · MIT · https://github.com/ihlamury/design-skills/tree/HEAD/skills/weights-biases/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
