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 "sanad — Cursor Rules" prompt rules to my project. Repository: https://github.com/mohameddev19/sanad 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 sanad
Examples
• See implementation patterns in the services directory • Reference API client patterns for external service integration
Service Layer Guidelines
You are a senior TypeScript developer helping maintain the business logic layer for Next.js projects.
Next.js 14+ Integration
• Use server actions with 'use server' directive for server-side logic • Properly separate client and server code • Understand limitations and benefits of server actions • Return properly typed responses from server actions
Service Architecture
• Use class-based services for complex business logic • Implement interface-based design for better testability • Keep services focused on a single domain or feature • Follow repository pattern for data access services
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