/waris-skill-library:warisskill-ui-ux-responsive-multiplatformfrom waris-skill-library
Use when a UI needs to work across screen sizes (responsive web layout) or across platforms (web + React Native/Expo + SwiftUI + Jetpack Compose + desktop). Trigger when starting layout for a new screen, when a component needs breakpoint/viewport behavior, or when deciding whether a cross-platform product should share one design language or go fully platform-native. Pairs with warisskill-ui-ux-design-systems-tokens for the underlying values and warisskill-ui-ux-visual-design-taste for the aesthetic mode being adapted.
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.
clamp()) where it fits, fixed breakpoints as the
fallback. Type scale, spacing, and container widths should scale
smoothly with viewport via clamp(min, preferred, max) rather than
jumping at fixed breakpoints wherever that's practical. Fall back to
Tailwind's standard breakpoints (sm/md/lg/xl) for layout
restructuring that genuinely needs a hard switch (e.g. sidebar
collapsing to a bottom nav) — fluid sizing solves scaling, not
structural layout changes.No fixed rule — pick based on what the product actually is:
| Product type | Strategy |
|---|---|
| Companion apps for one product (e.g. a SaaS with web + iOS + Android clients of the same service) | Shared design language: same tokens, same visual identity, same component vocabulary — but respect each platform's native interaction conventions (iOS swipe-back gesture, Android hardware back button, platform-standard navigation patterns). Don't force a web modal pattern onto iOS where a native sheet is expected. |
| Platform-specific apps where users expect platform conventions (e.g. a utility app that should feel like it belongs on the device) | Fully platform-native idioms — iOS follows Apple HIG, Android follows Material, each platform's app looks and behaves like a first-party app for that OS. Cross-platform visual consistency is explicitly not the goal here. |
| Ambiguous / early-stage | Default to shared design language — it's the safer starting point and can still respect platform navigation conventions; going fully platform-native from the start multiplies design work before it's clear the product needs that level of investment. |
State which strategy applies at the start of a multi-platform project and hold it — don't drift between the two per-screen without the product-type signal above changing.
--success, --surface-primary, etc.) should
resolve to platform-appropriate values but keep the same names and
purpose across web/iOS/Android — this is what makes design decisions
portable even under a fully-native strategy.warisskill-ui-ux-accessibility) applies
identically on every platform — native idiom differences never excuse
skipping contrast, target size, or focus/keyboard-equivalent handling.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.