Awesome-omni-skill nextjs15-react19-vercelai-tailwind-cursorrules-prompt-file-cursorrules
Apply for nextjs15-react19-vercelai-tailwind-cursorrules-prompt-file. --- description: Best practices for using Tailwind CSS in Next.js 15 and React 19 applications, including responsive design, custom configurations, and performance optimization. globs: app/**/*
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/frontend/nextjs15-react19-vercelai-tailwind-cursorrules-prompt-file-cursorrules" ~/.claude/skills/diegosouzapw-awesome-omni-skill-nextjs15-react19-vercelai-tailwind-cursorrules-p && rm -rf "$T"
manifest:
skills/frontend/nextjs15-react19-vercelai-tailwind-cursorrules-prompt-file-cursorrules/SKILL.mdsource content
nextjs15-react19-vercelai-tailwind-cursorrules-prompt-file
description: Best practices for using Tailwind CSS in Next.js 15 and React 19 applications, including responsive design, custom configurations, and performance optimization. globs: app/**/*
- Use Tailwind's utility-first approach for consistent styling.
- Leverage Tailwind's responsive prefixes (
,sm:
,md:
,lg:
,xl:
) for mobile-first responsive design.2xl: - Use
directive sparingly; prefer utility classes directly in HTML/JSX.@apply - Create custom components with
for repeated patterns.@layer components - Use Tailwind's built-in design tokens for spacing, colors, and typography.
- Implement dark mode using Tailwind's
variant.dark: - Use
andgroup
variants for interactive states.peer - Create custom utilities with
for project-specific needs.@layer utilities - Use
function to reference Tailwind's design tokens in custom CSS.theme() - Avoid arbitrary values (
) when possible; define custom values inw-[532px]
.tailwind.config.js - Use
class for responsive containers with max-width constraints.container - Implement proper focus styles for accessibility using
andfocus:
variants.focus-within: - Use
for screen reader-only content.sr-only - Optimize for production by purging unused styles with
.NODE_ENV=production - Use plugins like
for rich text content.@tailwindcss/typography - Configure
paths properly incontent
for purging.tailwind.config.js - Extend themes rather than overriding default values when possible.
- Use
to reset browser default styles.preflight