weights-biases-ui-skills — Claude Code skill: UI and install
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.
MIT 262 installs ★ 108 updated 2026-02-10
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a claude-codeWhat weights-biases-ui-skills 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.
What it helps with
- 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 for the agent
- Build a light interface with a
#FFFFFFpage background, Inter, and a 4px spacing grid. - Review this UI against weights-biases-ui-skills, including focus treatment,
aria-label, andh-dvh. - Rewrite the button and list states without animating layout properties.
How to install weights-biases-ui-skills
1Skills CLI (Vercel)
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a claude-code2Manually: put the files in place
~/.claude/skills/weights-biases/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/weights-biases/
1Skills CLI (Vercel)
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a codex2Manually: put the files in place
.agents/skills/weights-biases/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a cursor2Manually: put the files in place
.cursor/skills/weights-biases/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ihlamury/design-skills skills/weights-biases2Manually: put the files in place
.github/skills/weights-biases/SKILL.md1Skills CLI (Vercel)
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a gemini-cli2Platform CLI
gemini skills install https://github.com/ihlamury/design-skills --path skills/weights-biasesManually: put the files in place
.devin/skills/weights-biases/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about weights-biases-ui-skills
How do I install weights-biases-ui-skills in Claude Code?
Run npx skills add ihlamury/design-skills --skill weights-biases-ui-skills -a claude-code, then run npx skills add ihlamury/design-skills --skill weights-biases -a claude-code. The installed file is at ~/.claude/skills/weights-biases/SKILL.md.
What does weights-biases-ui-skills do?
It gives an AI agent UI rules inspired by Weights & Biases, covering light colors, Inter, 4px spacing, focus treatment, component states, accessibility, and animation.
What animation limits does the skill set?
Motion is allowed only when explicitly requested and should use transform or opacity. Interaction feedback cannot exceed 200ms, and the interface should respect prefers-reduced-motion.
Source text
SKILL.md · MIT
--- 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 - MUST animate only compositor props (`transform`, `opacity`) - NEVER animate layout properties (`width`, `height`, `top`, `left`, `margin`, `padding`) - SHOULD use `ease-out` on entrance animations - NEVER exceed `200ms` for interaction feedback - SHOULD respect `prefers-reduced-motion` ## Performance - NEVER animate large `blur()` or `backdrop-filter` surfaces - NEVER apply `will-change` outside an active animation - NEVER use `useEffect` for anything that can be expressed as render logic
© design-skills · MIT · ihlamury/design-skills