modern-web-design-expert — modern-web-design-expert install modern-web-design-expert, ai-matrx-admin, community, modern-web-design-expert install, ide skills, Tailwind design-system, component contracts, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing advanced Next.js and Tailwind CSS styling architecture expertise. modern-web-design-expert is a skill that provides guidance on Next.js best practices, including styling architecture and component contracts, for efficient web design.

Features

Extends official Next.js best practices guide
Covers project-specific migration state and priorities
Implements Tailwind design-system mandate
References §13 of Next.js guide for styling architecture
Supports dedicated guide for component contracts and accessibility

# Core Topics

armanisadeghi armanisadeghi
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The modern-web-design-expert skill by armanisadeghi is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for modern-web-design-expert install, Tailwind design-system, component contracts.

Ideal Agent Persona

Perfect for Frontend Agents needing advanced Next.js and Tailwind CSS styling architecture expertise.

Core Value

Empowers agents to extend Next.js best practices, covering project-specific migration and styling architecture using Tailwind CSS, enabling seamless integration with modern web design principles and efficient management of component contracts and accessibility.

Capabilities Granted for modern-web-design-expert

Migrating legacy projects to Next.js with optimized styling
Implementing Tailwind CSS design-system mandates for consistent UI
Debugging accessibility issues in Next.js applications

! Prerequisites & Limits

  • Requires knowledge of Next.js and Tailwind CSS
  • Limited to projects using Next.js and Tailwind CSS
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

modern-web-design-expert

Install modern-web-design-expert, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly

Modern Web Design Expert — AI Matrx Admin

Official guide: ~/.arman/rules/nextjs-best-practices/nextjs-guide.md — §13 (Styling Architecture) covers the Tailwind design-system mandate. The old §15 (Component Contracts & Accessibility) was removed and will get a dedicated guide. This skill covers project-specific migration state and priorities.

This skill extends the official Next.js best practices guide. Read that first for best practices. This document covers:

  1. What AI Matrx Admin already does correctly
  2. What needs migration to best practices
  3. Project-specific conventions

📱 For mobile-specific guidelines: See .cursor/skills/ios-mobile-first/SKILL.md

The ios-mobile-first skill covers viewport units, safe areas, touch targets, responsive patterns, and iOS-native UX. Use that skill for all mobile layout and interaction work.


Project Context

Type: Admin dashboard / B2B tool
Responsive Strategy: Desktop-first, mobile-responsive
Stack: Next.js 16 + React 19 + Tailwind CSS 4.1 + shadcn/ui + Framer Motion


✅ Already Aligned with Best Practices

PatternStatusLocation
Tailwind v4 with @theme inline✅ Correctapp/globals.css
Design tokens (--primary, --secondary)✅ Correctapp/globals.css
Dark mode via .dark class✅ Correct@custom-variant dark
h-dvh, min-h-dvh, max-h-dvh✅ CorrectCustom utilities in globals
Safe area insets (pb-safe, env())✅ CorrectCustom utilities in globals
Lucide React icons exclusively✅ CorrectProject rule enforced
16px+ input font size✅ Correct1.0625rem in base styles
next-themes for dark mode✅ CorrectInstalled and configured

🔄 Migration Required — New Code Must Use Best Practices

1. Typography: Fixed Tokens → Fluid clamp()

Current (Legacy):

css
1/* Fixed font size tokens in globals.css */ 2--font-size-2xs: 0.6rem; 3--font-size-xs: 0.8rem; 4--font-size-sm: 0.85rem; 5/* ... etc */

Best Practice:

css
1/* Fluid typography with clamp() */ 2h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem); } 3h2 { font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem); } 4body { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }

Action:

  • New code: Use clamp() for all typography via Tailwind arbitrary values
  • Migration priority: Medium — can migrate incrementally per component
  • Example: text-[clamp(1rem,0.9rem+0.5vw,1.25rem)]

2. Animations: Framer Motion Heavy → CSS-First

Current (Legacy):

  • Heavy use of Framer Motion (motion package) for all animations
  • Animation presets in componentConfig.ts files
  • AnimatePresence for entrance/exit animations

Best Practice:

  • CSS @starting-style for entrance animations
  • CSS transition for hover/focus effects
  • Framer Motion only for gesture-based or complex orchestration

Action:

  • New code: Use CSS @starting-style for entrance animations
  • Migration priority: Low — existing Framer Motion works fine, optimize new code
  • When to use Framer Motion: Drag gestures, physics-based springs, staggered lists with complex timing

3. Container Queries: Minimal → Expand Usage

Current:

  • Only 2 files use @container:
    • app/entities/forms/EntityFormStandard.tsx
    • app/(authenticated)/demo/component-demo/container-queries/page.tsx

Best Practice:

  • All reusable components should use container queries
  • Cards, profile components, widgets should respond to container, not viewport

Action:

  • New code: Use @container for all reusable components
  • Migration priority: Medium — improves component reusability
  • Pattern: <div className="@container"><div className="@md:flex-row">...</div></div>

4. Component Wrappers: Raw shadcn/ui → Custom Wrappers

Current:

  • Mix of raw shadcn/ui components and some custom wrappers
  • Custom wrappers exist (e.g., FloatingSheet) but not systematic

Best Practice:

  • Every shadcn/ui primitive should have a project wrapper
  • Wrappers enforce consistency and include common logic

Action:

  • New code: Create custom wrappers before using any new shadcn/ui component
  • Migration priority: High — improves consistency across app
  • Location: components/ui/app-*.tsx (e.g., app-dialog.tsx, app-sheet.tsx)

Audit needed: Check components/ui/ for which primitives need wrappers.


5. Entrance Animations: JS-Triggered → @starting-style

Current:

  • Many components use JS/Framer Motion to trigger entrance animations
  • Class toggling or AnimatePresence for fade-ins

Best Practice:

tsx
1<div className=" 2 opacity-100 translate-y-0 3 transition-all duration-300 4 [@starting-style]:opacity-0 5 [@starting-style]:translate-y-4 6">

Action:

  • New code: Use @starting-style for all entrance animations
  • Migration priority: Low — existing animations work, optimize new code

📍 Project-Specific Conventions

Header Height

css
1--header-height: 2.5rem; /* 40px - unified for mobile and desktop */

Full-height pattern:

tsx
1<div className="h-[calc(100dvh-var(--header-height))] flex flex-col overflow-hidden">

Textured Backgrounds

This project uses subtle texture overlays:

tsx
1<div className="bg-textured"> {/* Main page backgrounds */} 2<div className="bg-card"> {/* Card backgrounds with card-texture */}

Scrollbar Styling

Custom thin scrollbars are defined globally:

css
1--scrollbar-track: /* defined per theme */ 2--scrollbar-thumb: /* defined per theme */

Use .scrollbar-hide or .scrollbar-thin utilities.

Animation Presets (Framer Motion)

When Framer Motion is appropriate, use existing presets:

  • Location: components/matrx/Entity/prewired-components/quick-reference/componentConfig.ts
  • Presets: none, subtle, smooth, energetic, playful

Layout Components

  • ResponsiveLayout: Switches between desktop/mobile layouts at 1024px
  • AdaptiveLayout: Multi-panel layout with canvas support
  • FloatingSheet: Multi-position sheet component (right, left, top, bottom, center)

📁 Key Files Reference

PurposeLocation
Design tokens & utilitiesapp/globals.css
Base card componentcomponents/ui/card.tsx
Sheet componentcomponents/official/FloatingSheet.tsx
Responsive layoutcomponents/layout/new-layout/ResponsiveLayout.tsx
Mobile detection hookhooks/use-mobile.tsx
Animation presetscomponents/matrx/Entity/prewired-components/quick-reference/componentConfig.ts

🚨 Migration Priorities Summary

ItemPriorityApproach
Custom component wrappersHighCreate wrappers before using new shadcn/ui components
Fluid typographyMediumUse clamp() in new code, migrate existing incrementally
Container queriesMediumUse @container in new reusable components
CSS entrance animationsLowUse @starting-style in new code
Framer Motion reductionLowKeep existing, use CSS for new simple animations

Quick Reference: New Code Standards

When writing new UI code in this project:

tsx
1// ✅ DO: Fluid typography 2<h1 className="text-[clamp(2rem,1.5rem+2vw,3.5rem)]"> 3 4// ✅ DO: Container queries for reusable components 5<div className="@container"> 6 <div className="flex flex-col @md:flex-row"> 7 8// ✅ DO: CSS entrance animations 9<div className="[@starting-style]:opacity-0 [@starting-style]:translate-y-4 transition-all"> 10 11// ✅ DO: Custom wrapper components 12import { AppDialog } from "@/components/ui/app-dialog"; 13 14// ❌ DON'T: Fixed font sizes with breakpoints 15<h1 className="text-2xl md:text-3xl lg:text-4xl"> 16 17// ❌ DON'T: Raw shadcn/ui without wrapper 18import { Dialog } from "@/components/ui/dialog"; // Use AppDialog instead 19 20// ❌ DON'T: Framer Motion for simple entrance animations 21<motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }}> // Use @starting-style

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is modern-web-design-expert?

Perfect for Frontend Agents needing advanced Next.js and Tailwind CSS styling architecture expertise. modern-web-design-expert is a skill that provides guidance on Next.js best practices, including styling architecture and component contracts, for efficient web design.

How do I install modern-web-design-expert?

Run the command: npx killer-skills add armanisadeghi/ai-matrx-admin/modern-web-design-expert. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for modern-web-design-expert?

Key use cases include: Migrating legacy projects to Next.js with optimized styling, Implementing Tailwind CSS design-system mandates for consistent UI, Debugging accessibility issues in Next.js applications.

Which IDEs are compatible with modern-web-design-expert?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for modern-web-design-expert?

Requires knowledge of Next.js and Tailwind CSS. Limited to projects using Next.js and Tailwind CSS.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add armanisadeghi/ai-matrx-admin/modern-web-design-expert. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use modern-web-design-expert immediately in the current project.

Related Skills

Looking for an alternative to modern-web-design-expert or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI