AI SummaryHeuristic scoring (no AI key configured).
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "10x-skilldesk — Cursor Rules" prompt rules to my project. Repository: https://github.com/ArekMiszcz/10x-skilldesk Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Cursor Rules for 10x-skilldesk
Guidelines for React
React Coding Standards • Use functional components with hooks instead of class components • Implement React.memo() for expensive components that render often with the same props • Utilize React.lazy() and Suspense for code-splitting and performance optimization • Use the useCallback hook for event handlers passed to child components to prevent unnecessary re-renders • Prefer useMemo for expensive calculations to avoid recomputation on every render • Implement useId() for generating unique IDs for accessibility attributes • Consider using the new useOptimistic hook for optimistic UI updates in forms • Use useTransition for non-urgent state updates to keep the UI responsive Key Principles • Use functional, declarative programming. Avoid classes. • Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError). • Favor named exports for components. • Use TypeScript for all code. Prefer interfaces over types. • File structure: imports, types, main component, subcomponents, helpers, static content. • Use Zod for form validation. • Use Zustand for state managament. • Use Shadcn UI, Radix, and Tailwind CSS for components and styling.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts