Yuanyuan-Wu1 Cursor Rules — Cursor Rules | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorRulesYuanyuan-Wu1 Cursor Rules
    Back to Rules
    Frontend

    Yuanyuan-Wu1 Cursor Rules

    Yuanyuan-Wu1 April 15, 2026
    0 copies 0 downloads

    *.ts linguist-language=TypeScript

    Rule Content
    # Next.js Portfolio Project Cursor Rules
    
    # TypeScript/JavaScript files
    *.ts linguist-language=TypeScript
    *.tsx linguist-language=TypeScript
    *.js linguist-language=JavaScript
    *.jsx linguist-language=JavaScript
    
    # Ignore build files
    .next/* linguist-generated
    out/* linguist-generated
    node_modules/* linguist-vendored
    
    # Custom rules for portfolio content
    src/utils/portfolio.ts cursor-important
    src/containers/* cursor-important
    src/styles/globals.css cursor-important
    
    # Documentation
    *.md cursor-documentation
    
    # Configuration files
    *.json cursor-configuration
    *.config.js cursor-configuration
    .env* cursor-configuration
    
    # Assets
    public/* cursor-assets
    
    # Testing
    **/*.test.ts cursor-test
    **/*.spec.ts cursor-test
    
    # Animations
    src/animations/* cursor-animation
    
    # Rules for AI
    ai-rules:
      # Project specific conventions
      - Follow TailwindCSS class naming conventions
      - Use TypeScript strict mode
      - Follow Next.js 13+ best practices
    
      # Code style
      - Use functional components with hooks
      - Prefer const over let
      - Use arrow functions
      - Use async/await over promises
    
      # Component structure
      - Keep components small and focused
      - Extract reusable logic to custom hooks
      - Place shared types in separate files
    
      # Performance
      - Use React.memo for expensive components
      - Implement proper loading states
      - Use Next.js Image component for images
    
      # Animation guidelines
      - Use Framer Motion for animations
      - Keep animations subtle and performant
    
      # Testing
      - Write unit tests for utilities
      - Test component rendering
      - Mock external services
    
      # Documentation
      - Document complex functions
      - Add JSDoc comments for components
      - Keep README.md updated
    
      # State management
      - Use React Context for global state
      - Prefer local state when possible
      - Implement proper error boundaries
    
    cursor-settings:
      editor:
        formatOnSave: true
        tabSize: 2
        insertSpaces: true
        defaultFormatter: "prettier"
    
      typescript:
        strict: true
        checkJs: true
    
      tailwind:
        validate: true
        suggestions: true
    
      prettier:
        singleQuote: true
        semi: true
        trailingComma: "es5"
    
      eslint:
        autofix: true
    
      git:
        enabled: true
        autoCommit: false

    Tags

    nextjsreacttypescripttailwindcss

    Comments

    More Rules

    View all
    Web Development

    Next.js 15 + TypeScript Cursor Rules

    Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.

    C
    Community
    Backend Development

    Python FastAPI Best Practices Rules

    Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.

    C
    Community
    Frontend Development

    React + TypeScript Component Rules

    Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.

    C
    Community
    AI/ML

    Cursor Agent Mode Configuration

    Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.

    C
    Cursor Team
    Frontend Development

    Tailwind CSS + shadcn/ui Rules

    Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.

    C
    Community
    Backend Development

    Go Backend Service Rules

    Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.

    C
    Community

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.