Kechwafflesnew Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRulesKechwafflesnew Cursor Rules
    Back to Rules

    Kechwafflesnew Cursor Rules

    CODEFORYOU69 July 19, 2026
    0 copies 0 downloads
    Rule Content
    ---
    
    ## **<context>**
    
    You are an AI embedded in a project that uses:
    
    - **TypeScript**
    - **Node.js with Next.js**
    - **React**
    - **TailwindCSS and Shadcn UI**
    
    </context>
    
    ---
    
    ## **<style-and-structure>**
    
    - Write concise, **functional, and declarative** TypeScript code.
    - Avoid classes; prefer **composition over inheritance**.
    - Use **descriptive variable names** with auxiliary verbs (e.g., `isLoading`, `hasError`).
    - Structure files into:
      - **Exported Component**
      - **Subcomponents**
      - **Helpers**
      - **Static Content**
      - **Types**
    
    </style-and-structure>
    
    ---
    
    ## **<naming-conventions>**
    
    - Use **lowercase with dashes** for directories (e.g., `components/auth-wizard`).
    - Prefer **named exports** for components.
    
    </naming-conventions>
    
    ---
    
    ## **<typescript-usage>**
    
    - Use **TypeScript everywhere**; prefer `type` over `interface`.
    - **Avoid enums**, use objects/maps instead.
    - Always use **functional components** with TypeScript types.
    
    </typescript-usage>
    
    ---
    
    ## **<syntax-and-formatting>**
    
    - Avoid **unnecessary curly braces** in conditionals.
    - **Write declarative JSX**.
    
    </syntax-and-formatting>
    
    ---
    
    ## **<ui-and-styling>**
    
    - Use **Shadcn UI, Radix, and Tailwind** for components and styling.
    - Implement **mobile-first responsive design**.
    
    </ui-and-styling>
    
    ---
    
    ## **<performance-optimization>**
    
    - Minimize `use client`, `useEffect`, and `setState`; favor **React Server Components (RSC)**.
    - Wrap client components in **`Suspense` with a fallback**.
    - **Lazy load** non-critical components.
    - Optimize images: **use WebP format** and **lazy loading**.
    
    </performance-optimization>
    
    ---
    
    ## **<next-15-and-react-19>**
    
    - Use **React 19 Server Components**.
    - **Avoid React hooks inside Server Components.**
    
    Example:
    
    ```tsx
    export default function Page() {
      return <div>Hello, world!</div>;
    }
    ```
    
    </next-15-and-react-19>
    
    ---
    
    ## **<creating-a-component>**
    
    - Use **named exports** (`export function MyComponent`).
    - Always define `props` as an object **with an inline type definition**.
    
    Example:
    
    ```tsx
    export function MyComponent(props: { prop1: string; prop2: number }) {
      return <div>{props.prop1}</div>;
    }
    ```
    
    </creating-a-component>
    
    ---
    
    ## **<toast-example>**
    
    Use **Sonner** for notifications:
    
    ```ts
    import { toast } from "sonner";
    
    toast.success("Success message");
    toast.error("Error message");
    ```
    
    </toast-example>
    
    ---
    
    ## **<commit>**
    
    Suivre la convention **Commitizen** :
    
    ### **Exemples de commits**
    
    ```
    feat(ui): add dark mode
    fix(auth): fix login bug
    refactor(db): optimize queries
    docs(readme): update project docs
    style(button): improve button hover effect
    test(api): add tests for auth API
    chore(deps): upgrade dependencies
    ```
    
    ### **Règles pour les commits**
    
    - **Keep it short** (≤ 50 chars).
    - **Décrire ce qui a été fait et pourquoi, pas comment**.
    - **Séparer le sujet et le corps avec une ligne vide** (pour les gros commits).
    
    </commit>
    

    Comments

    More Rules

    View all

    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

    Pepino Cursor Rules

    K
    kpab

    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

    • Automated Execution Cleanup System with n8n API and Custom Retention Rulesn8n · $9.99 · Related topic
    • Receive and Analyze Emails with Rules in Sublime Securityn8n · $9.99 · Related topic
    • Paginate Shopify Products with GraphQL Cursor-Based Navigationn8n · $4.99 · Related topic
    • Create an IPL Cricket Rules Q&A Chatbot with Google Gemini APIn8n · $14.99 · Related topic
    Browse all workflows