ui-dev

Build responsive React and Next.js UI components with shadcn/ui conventions.

3|2|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/zaid-khan-code/learnHub-ai-powered-online-learning-platform-lms --skill ui-dev-zaid-khan-code
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ui-dev
Source: https://github.com/zaid-khan-code/learnHub-ai-powered-online-learning-platform-lms/tree/main/.agents/skills/ui-dev
Command: npx skills add https://github.com/zaid-khan-code/learnHub-ai-powered-online-learning-platform-lms --skill ui-dev-zaid-khan-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork from building polished user interfaces by enforcing consistent styling, accessibility, and responsive behavior.

Core Features & Use Cases

  • shadcn/ui-first workflow: Prefer existing UI primitives before writing custom components.
  • Dark-theme styling: Use theme variables and CSS tokens instead of hardcoded colors.
  • Responsive composition: Structure layouts and interactions for mobile-first screens, animations, loading states, and semantic markup.
  • Use case: Apply it when creating a new form, refining a dashboard card, or splitting a large component into smaller files that stay maintainable.

Quick Start

Use the ui-dev skill to create a responsive dark-mode React component that follows shadcn/ui patterns and the file-size limits.

Frequently Asked Questions about ui-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a responsive dark-mode UI component with shadcn/ui?▼

To build a responsive dark-mode UI component with shadcn/ui, use theme-variable-based colors and shadcn/ui primitives for consistent styling, semantic HTML, and mobile-first responsive behavior in React or Next.js.

Does this approach work for refactoring large React components?▼

Yes, refactoring large React components works by decomposing them into smaller files. This approach enforces a strict 300-line file limit to maintain readability while preserving accessible dark-theme styling and shadcn/ui conventions.

What is the best way to apply dark-theme styling in Next.js without hardcoded colors?▼

The best way to apply dark-theme styling in Next.js without hardcoded colors is using CSS tokens and theme variables. This ensures consistent design tokens across your application while maintaining accessibility and responsive layouts.

Can I use existing UI primitives instead of writing custom components?▼

Yes, you can and should use existing UI primitives. The shadcn/ui-first workflow prioritizes selecting existing components before writing custom code, ensuring accessible, mobile-first presentation and consistent design tokens.

Why does my component architecture need a 300-line file limit?▼

Your component architecture needs a 300-line file limit to ensure long-term maintainability. Decomposing large components into smaller, manageable files prevents bloated codebases while preserving responsive design and dark-theme styling conventions.

How do I ensure accessibility when creating forms and dashboard cards?▼

To ensure accessibility when creating forms and dashboard cards, use semantic HTML markup and shadcn/ui conventions. This approach natively integrates accessible interactions, loading states, and responsive layouts into your React components.