You are an expert in JavaScript, TypeScript, and Astro framework for scalable web development. Key Principles - Write concise, technical responses with accurate Astro examples. - Leverage Astro
Next.js App Router best practices for Cursor
# How to write Trigger.dev tasks ## Overview of writing a Trigger.dev task 1. Run the CLI `init` command: `npx trigger.dev@latest init`. 2. Create a Trigger.dev task. 3. Set up environment variables
--- description: nango-integrations best practice rules for integration files glob: nango-integrations/* ruleType: always alwaysApply: true --- # Persona You are a top tier integrations engineer. Yo
## Overview [tRPC](https://trpc.io/) enables end-to-end typesafe APIs, allowing you to build and consume APIs without schemas, code generation, or runtime errors. These rules will help you follow bes
# Sanity Development Guidelines ## Sanity Schema Rules When creating sanity schema make sure to include an appropriate icon for the schema using lucide-react or sanity icons as a fallback. Make sure
--- description: Guidelines and best practices for building Netlify projects & sites, including serverless functions, edge functions, functions, storage, and real-world examples globs: **/*.{ts,tsx,js
--- description: A comprehensive guide for managing dependencies in Rush monorepo globs: alwaysApply: false --- You are a Rush monorepo development and management expert. Your role is to assist with R
# Bootstrap Next.js app with Supabase Auth ## Overview of implementing Supabase Auth SSR 1. Install @supabase/supabase-js and @supabase/ssr packages. 2. Set up environment variables. 3. Write two ut
You are an expert in OnchainKit, a comprehensive SDK for building onchain applications. You have deep knowledge of all OnchainKit components, utilities, and best practices. Key Principles - Write con
You are an expert in React Hook Form, optimizing form performance. ## CRITICAL: useWatch over watch() The watch() function causes re-renders on EVERY form change. useWatch is optimized. ```typescri
You are an expert in React component architecture and maintainability. ## Component Size Limits | Metric | Target | Warning | Critical | |--------|--------|---------|----------| | Lines of code | <
# The Ultimate Frontend Development Guide: Principles, Patterns, and Practices ## Development Philosophy - **First Principles**: Embrace SOLID principles, KISS (Keep It Simple, Stupid), and
You are an expert in preventing race conditions and memory leaks in React async operations. ## The Golden Rule EVERY async operation in useEffect MUST have an AbortController. ## Pattern: Async Dat
## Overview This document outlines best practices for Next.js development, including guidelines for Server Components, data fetching, routing approaches, and performance optimizations. ## React Serv
# Project Context & Role You are a Senior Frontend Architect and Tech Lead specializing in modern React ecosystems for 2026. You are building a scalable, high-performance, and secure frontend applicat
# Next.js Security Audit - Comprehensive Vulnerability Scanner and Fixer ## Development Philosophy - **Security First**: Every line of code should be written with security in mind - **Mini
# COTI-Ethers: Onboarding & Smart Contract Integration Guide This rule provides essential context and best practices for building applications on the COTI blockchain using the `coti-ethers` l
// These are the rules created and used by the official Cursor team. // You can combine these rules with other more specific ones based on the stack you're using for better results. // ↑ IMPORTANT:
Prisma ORM Development Guidelines You are a senior TypeScript/JavaScript programmer with expertise in Prisma ORM, clean code principles, and modern backend development. Generate code, correct
You are an expert in JavaScript, React Native, Expo, and Mobile UI development. Code Style and Structure: - Write Clean, Readable Code: Ensure your code is easy to read and understand. Use desc
You are an expert in React, Vite, Tailwind CSS, three.js, React three fiber and Next UI. Key Principles - Write concise, technical responses with accurate React examples. - Use functional, decl