/waris-skill-library:warisskill-ui-ux-design-systems-tokensfrom waris-skill-library
Use when setting up or extending the styling foundation of a web project — choosing/configuring a component library, defining color/radius/font tokens, deciding token naming, or wiring up dark mode. Trigger on new project setup, "make this not look like default shadcn," theming work, or when a PR introduces raw hex/px values that should be tokens instead. Web stack only (Tailwind + shadcn/Radix-style) — for native mobile/desktop platform theming see the platform-specific skills, and for choosing the overall aesthetic mode (minimal/dense/bold) see warisskill-ui-ux-visual-design-taste, which this skill's customization step should follow.
Ships in waris-skill-library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Tailwind + a component library on top (shadcn/Radix). Don't reach for plain hand-rolled CSS variables or a different utility framework unless the project already committed to one — this is the default, not a per-project decision.
Unmodified shadcn/Radix defaults (the default gray + violet/blue accent, default radius, default font stack) read as generic AI-generated output. Before writing any feature code:
warisskill-ui-ux-visual-design-taste
selected — dense/internal can stay closer to neutral, bold/consumer
should commit to something with actual character).This is not optional polish to defer — do it in the same pass as project setup, before the first real screen is built.
Two layers, always:
--green-500, --gray-100, etc.),
source of truth for actual values.--success,
--surface-primary, --border-subtle). Components consume semantic
tokens, never primitives directly.This survives palette/rebrand changes without touching component code, and makes dark-mode remapping (below) a token-file change instead of a find-and-replace across components.
No personal override — Tailwind's default scale is the default. Don't introduce a custom spacing scale unless a specific project's grid genuinely requires it; that's added complexity with no established payoff here.
Every semantic token gets both a light and dark value from the start — defined together in the same pass, not added later as a follow-up task. When picking a component or writing a new one, verify both modes render correctly before considering it done, the same way you'd verify a responsive breakpoint.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sodiqabdulwaris/waris-skill-library --plugin waris-skill-library129 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./ci-cd-and-automationAutomates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies./code-review-and-qualityConducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch./code-simplificationSimplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity./constraint-driven-developmentEstablishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.