tailwind-css-nextjs-guide-cursorrules-prompt-file-cursorrules
Apply for tailwind-css-nextjs-guide-cursorrules-prompt-file. Prompt Generation Rules: - Analyze the component requirements thoroughly - Include specific DaisyUI component suggestions
Best use case
tailwind-css-nextjs-guide-cursorrules-prompt-file-cursorrules is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Apply for tailwind-css-nextjs-guide-cursorrules-prompt-file. Prompt Generation Rules: - Analyze the component requirements thoroughly - Include specific DaisyUI component suggestions
Teams using tailwind-css-nextjs-guide-cursorrules-prompt-file-cursorrules should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/tailwind-css-nextjs-guide-cursorrules-prompt-file-cursorrules/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How tailwind-css-nextjs-guide-cursorrules-prompt-file-cursorrules Compares
| Feature / Agent | tailwind-css-nextjs-guide-cursorrules-prompt-file-cursorrules | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Apply for tailwind-css-nextjs-guide-cursorrules-prompt-file. Prompt Generation Rules: - Analyze the component requirements thoroughly - Include specific DaisyUI component suggestions
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# tailwind-css-nextjs-guide-cursorrules-prompt-file Prompt Generation Rules: - Analyze the component requirements thoroughly - Include specific DaisyUI component suggestions - Specify desired Tailwind CSS classes for styling - Mention any required TypeScript types or interfaces - Include instructions for responsive design - Suggest appropriate Next.js features if applicable - Specify any necessary state management or hooks - Include accessibility considerations - Mention any required icons or assets - Suggest error handling and loading states - Include instructions for animations or transitions if needed - Specify any required API integrations or data fetching - Mention performance optimization techniques if applicable - Include instructions for testing the component - Suggest documentation requirements for the component General Component Creation Guidelines: - Prioritize reusability and modularity - Ensure consistent naming conventions - Follow React best practices and patterns - Implement proper prop validation - Consider internationalization requirements - Optimize for SEO when applicable - Ensure compatibility with different browsers and devices General Rules: - Enable strict TypeScript (strict: true in tsconfig.json) - Avoid 'any', prefer 'unknown' with runtime checks - Explicitly type function inputs and outputs - Use advanced TypeScript features (type guards, mapped types, conditional types) - Organize project structure: components, pages, hooks, utils, styles, contracts, services - Separate concerns: presentational components, business logic, side effects - Use Biome for code formatting and linting - Configure Biome as a pre-commit hook Next.js Rules: - Use dynamic routes with bracket notation ([id].tsx) - Validate and sanitize route parameters - Prefer flat, descriptive routes - Use getServerSideProps for dynamic data, getStaticProps/getStaticPaths for static - Implement Incremental Static Regeneration (ISR) where appropriate - Use next/image for optimized images - Configure image layout, priority, sizes, and srcSet attributes TypeScript Rules: - Enable all strict mode options in tsconfig.json - Explicitly type all variables, parameters, and return values - Use utility types, mapped types, and conditional types - Prefer 'interface' for extendable object shapes - Use 'type' for unions, intersections, and primitive compositions - Document complex types with JSDoc - Avoid ambiguous union types, use discriminated unions when necessary TailwindCSS and DaisyUI Rules: - Use TailwindCSS utility classes for styling - Avoid custom CSS unless absolutely necessary - Maintain consistent order of utility classes - Use Tailwind's responsive variants for adaptive designs - Leverage DaisyUI components for rapid development - Customize DaisyUI components only when necessary - Define and use design tokens in tailwind.config.js Starknet React Rules: - Centralize blockchain connection management - Implement automatic reconnection and error handling - Use React hooks for transaction status management - Provide clear UI feedback for blockchain interactions - Implement comprehensive error handling for blockchain operations Cairo Rules: - Design modular and maintainable contract structures - Optimize for gas efficiency - Minimize state changes and storage access - Document all contracts and functions thoroughly - Explain complex logic and implementation choices Development Process: - Conduct thorough code reviews via Pull Requests - Include clear PR descriptions with context and screenshots - Implement comprehensive automated testing (unit, integration, e2e) - Prioritize meaningful tests over high coverage numbers - Use Conventional Commits for commit messages (feat:, fix:, docs:, chore:) - Make small, incremental commits for easier review and debugging Biome Rules: - Use Biome for code formatting and linting - Configure Biome as a pre-commit hook - Follow Biome's recommended rules - Customize Biome configuration in biome.json as needed - Ensure consistent code style across the project - Run Biome checks before committing changes - Address all Biome warnings and errors promptly - Use Biome's organize imports feature to maintain clean import statements - Leverage Biome's advanced linting capabilities for TypeScript - Integrate Biome into the CI/CD pipeline for automated checks - Keep Biome updated to the latest stable version - Use Biome's ignore patterns to exclude specific files or directories when necessary
Related Skills
vue-3-nuxt-3-development-cursorrules-prompt-file-cursorrules
Apply for vue-3-nuxt-3-development-cursorrules-prompt-file. --- description: Applies to Vue 3 and Nuxt 3 projects, enforcing best practices for frontend development including TypeScript, TailwindCSS, and Composition API. globs: **/*.{vue,ts,js,jsx,tsx}
shadcn-tailwind
React component library skill for shadcn/ui + Tailwind CSS. Use for React/Next.js/Vite projects needing accessible UI components (dialogs, forms, tables, navigation), Radix UI primitives, Tailwind utility styling, theming, and dark mode. NOT for Angular projects - see frontend-angular-* skills. Triggers on "shadcn", "radix ui", "react components", "tailwind components". For design decisions (styles, palettes, fonts), use ui-ux-pro-max instead.
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/**/*
nextjs
Next.js framework best practices including App Router, data fetching, and performance optimization.
nextjs-supabase-auth
Expert integration of Supabase Auth with Next.js App Router Use when: supabase auth next, authentication next.js, login supabase, auth middleware, protected route.
html-tailwind-css-and-javascript-expert-rule
Sets the AI to act as an expert in HTML, Tailwind CSS, and vanilla JavaScript, focusing on clarity and readability for all HTML, JS, and CSS files.
assessment-guide
Comprehensive guide for skill assessment, career evaluation, learning paths, knowledge testing, and professional development. Use when assessing technical skills, planning learning journeys, or evaluating career progress.
angular-typescript-cursorrules-prompt-file-cursorrules
Apply for angular-typescript-cursorrules-prompt-file. --- description: General rules for Angular components, focusing on code quality, performance, and maintainability. globs: **/*.component.ts
write-coding-standards-from-file
Write a coding standards document for a project using the coding styles from the file(s) and/or folder(s) passed as arguments in the prompt.
Onboarding Guide Generator
Generate onboarding guides for new team members based on project structure
file-placement
Activate when creating any summary, report, or output file. Ensures files go to correct directories (summaries/, memory/, stories/, bugs/). Mirrors what summary-file-enforcement hook enforces.
documentation-guidelines
Write or update backend feature documentation that follows a repo's DOCUMENTATION_GUIDELINES.md (or equivalent) across any project. Use when asked to create/update module docs, API contracts, or backend documentation that must include architecture, endpoints, payloads, Mermaid diagrams, and seeding instructions.