Yuanyuan-Wu1 Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    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

    Kechwafflesnew Cursor Rules

    C
    CODEFORYOU69

    AI DRAMA FACTORY Cursor Rules

    R
    Robert0157

    Site Cursor Rules

    R
    RaphaelVitoi

    KindnessBot Cursor Rules

    F
    foodyogi

    Neptunik Cursor Rules

    F
    fjpedrosa

    Cvcraft Cursor Rules

    C
    CedricCT

    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.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Automate SEO-Optimized Blog Creation with GPT-4, Perplexity AI & Multi-Language Supportn8n · $24.99 · Related topic
    • AI-Powered Auto-translate Google Slides Presentation to Any Language with Geminin8n · $14.99 · Related topic
    • Manage Jira Issues with Natural Language via Telegram and GPT-4n8n · $14.99 · Related topic
    • Deploy Code to GitHub with Natural Language via Slack & Claude 3.5n8n · $14.99 · Related topic
    Browse all workflows