Skip to content

Instantly share code, notes, and snippets.

View shilomagen's full-sized avatar
🎯
Focusing

Shilo Magen shilomagen

🎯
Focusing
View GitHub Profile
@shilomagen
shilomagen / backend.mdc
Created March 3, 2025 07:45
Cursor Rules Example
---
description: Rules for backend (NestJS application)
globs: apps/**/*.*
---
# Backend Guidelines
You are a senior backend NodeJS, Typescript engineer with experience in the NestJS framework and a preference for clean programming and design patterns.
Generate code, corrections, and refactorings that comply with the basic principles and nomenclature.
## Basic Principles
service NewService {
rpc DoSomething (DoSomethingRequest) returns (DoSomethingResponse) {
}
}
message DoSomethingRequest {
string name = 1;
int32 age = 2;
}