wri-design-systems: Skill for Claude Code

.claude/skills/ds-ui-creator/SKILL.md

ds-ui-creator is a skill for Claude Code from wri/wri-design-systems. It costs 52 tokens per session (2,146 once invoked), scanned A, original, MIT.

UI-building guidance for applications that use the World Resources Institute design system. It sets a priority order: WRI components first, Chakra UI second, and custom HTML or CSS last.

In plain words
What is it for?
Creating interfaces, checking whether a component already exists, and deciding when a custom implementation is justified.
Why use it?
It helps developers reuse approved components and avoid visual inconsistencies or unnecessary custom implementations.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is wri/wri-design-systems's own configuration. It tells Claude Code how to work on wri-design-systems itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wri-design-systems configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wri/wri-design-systems. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wri/wri-design-systems/main/.claude/skills/ds-ui-creator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/wri/wri-design-systems

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ds-ui-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/wri/wri-design-systems/ds-ui-creator/github.svg)](https://agentmods.dev/skills/wri/wri-design-systems/ds-ui-creator)
Your own site
<a href="https://agentmods.dev/skills/wri/wri-design-systems/ds-ui-creator"><img src="https://agentmods.dev/badge/skills/wri/wri-design-systems/ds-ui-creator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ds-ui-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/wri/wri-design-systems/ds-ui-creator"><img src="https://agentmods.dev/badge/skills/wri/wri-design-systems/ds-ui-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,146 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.02146
Opus 5 $0.00026 $0.01073
Sonnet 5 $0.00010 $0.00429
Haiku 4.5 $0.00005 $0.00215

Measured 10d ago against content hash 3df155b72c7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ds-ui-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ds-ui-creator/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When building components and user interfaces in an application consuming the WRI Design System, developers and AI coding agents must follow these guidelines:

1. Component Hierarchy (Golden Rule)

Always evaluate and build UI elements using the following hierarchy. Never skip a level:

1. @worldresources/wri-design-systems (WRI DS) ← Always check first
2. @chakra-ui/react (Chakra UI v3)             ← Fallback if no WRI DS equivalent
3. Custom HTML + CSS / Styled Primitives       ← Last resort (requires reasoning tag)

Level 1: WRI Design System (@worldresources/wri-design-systems)

  • First Choice: Check Storybook, Zeroheight style guide, or README files to verify if a component exists in the design system.
  • Do Not Rebuild: Never use raw elements (e.g. <button>, <input>, <select>) or raw Chakra equivalents when a WRI DS wrapper exists (e.g. Button, IconButton, Select, TextInput).
  • No Style Overrides: Do NOT use sx, css, style, or className to override design system component styles. Use them exactly as-is to preserve visual consistency.
  • Query MCP: Use the Storybook MCP server to check component listings (mcp_wri-storybook_getComponentList) and verify exact prop signatures (mcp_wri-storybook_getComponentsProps).

Level 2: Chakra UI v3 (@chakra-ui/react)

  • Use as Fallback: If there is no corresponding WRI DS component, use standard Chakra UI v3 primitives (e.g., <Box>, <Flex>, <Grid>).
  • Chakra v3 API Only: Do not use legacy Chakra v2 properties (like colorScheme, isDisabled, or leftIcon). Verify all props using the Chakra MCP server (mcp_chakra-ui_get_component_props).
  • Theme Integration: Apply styling using the themed token functions rather than passing raw non-token values.

Level 3: Custom Code (Last Resort)

  • Required Marker: If custom CSS or custom HTML is absolutely necessary because neither WRI DS nor Chakra v3 has the capabilities needed, comment it clearly with: // [CUSTOM COMPONENT] — <detailed reason explaining why Level 1 & 2 were bypassed>
  • No Hardcoding: Custom components must still use design token functions for sizes, colors, margins, and borders. Never write raw hex colors, px, or rem.

Read the full file on GitHub · 157 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 157 lines · 52 tokens per session scan A 3df155b72c7a

Subscribe to this mod's changes

ds-ui-creator is a skill published in the GitHub repository wri/wri-design-systems (3 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 2,146 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens