RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/novuhq/novu

Cursor rule

.cursor/rules/ws.mdc

Rules for working in the WebSocket service (real-time delivery)

Cursor rules

Quality

51/100

Scores the file, not the repository.

Length

91 words

2 headings · 1 code blocks

Repository

39k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
novuhq/novu/.cursor/rules/ws.mdcRawGitHub
1---
2description: Rules for working in the WebSocket service (real-time delivery)
3globs: apps/ws/**/*
4alwaysApply: false
5---
6 
7## WebSocket Service
8 
9**Stack:** NestJS · Socket.io with Redis adapter (horizontal scaling)
10 
11**Run:** `pnpm start:ws` — only needed for real-time features (live inbox, read/unread sync). Skip for most tasks.
12 
13**Key directories:**
14```
15apps/ws/src/ # Socket gateways, guards, and event handlers
16```
17 
18### WebSocket Conventions
19 
20**Authentication:** Clients authenticate via JWT on the Socket.io handshake.
21 
22**Scaling:** The Redis adapter is required in production — multiple ws instances share socket state through it.
23 
24**Client packages:** Events emitted here are consumed by `@novu/js` and `@novu/react`. New Socket.io event types require matching updates in both packages.
25 

Commands it names

  • pnpm start:ws

Sections

  • WebSocket Service
  • WebSocket Conventions

What it covers

code-style

Stack — with the evidence

typescript

(1.00)

javascript

(1.00)

node

(1.00)

react

(1.00)

langchain

(1.00)

jest

(1.00)

biome

(1.00)

express

(0.70)

nestjs

(0.70)

mongodb

(0.70)

redis

(0.70)

tailwind

(0.70)

vite

(0.70)

playwright

(0.70)

aws

(0.70)

nx

(0.60)

monorepo

(0.60)

pnpm

(0.60)

github-actions

(0.60)

Glob targeting

  • apps/ws/**/*

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
novuhq
Language
—
License
—
Archived
no

All configs in this repo

Also in novuhq/novu

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
novuhq/novu.cursor/rules/api-property-optionality-hygiene.mdc · 39kCursor rulestypescriptjavascript+17gitagent-behaviour68/1003 days ago
novuhq/novu.cursor/rules/api.mdc · 39kCursor rulestypescriptjavascript+17styleapi72/1003 days ago
novuhq/novu.cursor/rules/clickhouse.mdc · 39kCursor rulestypescriptjavascript+17style42/1003 days ago
novuhq/novu.cursor/rules/context-engineering.mdc · 39kCursor rulestypescriptjavascript+17no sections16/1003 days ago
novuhq/novu.cursor/rules/dal-repository.mdc · 39kCursor rulestypescriptjavascript+17do-not46/1003 days ago
novuhq/novu.cursor/rules/dashboard.mdc · 39kCursor rulestypescriptjavascript+17style57/1003 days ago
novuhq/novu.cursor/rules/dependency-graph.mdc · 39kCursor rulestypescriptjavascript+17no sections22/1003 days ago
novuhq/novu.cursor/rules/docs-mintlify-steps.mdc · 39kCursor rulestypescriptjavascript+17do-notagent-behaviour43/1003 days ago
novuhq/novu.cursor/rules/infrastructure.mdc · 39kCursor rulestypescriptjavascript+17no sections50/1003 days ago
novuhq/novu.cursor/rules/novu.mdc · 39kCursor rulestypescriptjavascript+17style20/1003 days ago
novuhq/novu.cursor/rules/packages.mdc · 39kCursor rulestypescriptjavascript+17stylearchdependenciesdocs46/1003 days ago
novuhq/novu.cursor/rules/pnpm-release-age.mdc · 39kCursor rulestypescriptjavascript+17no sections24/1003 days ago
novuhq/novu.cursor/rules/pullrequest.mdc · 39kCursor rulestypescriptjavascript+17gitdo-not37/1003 days ago
novuhq/novu.cursor/rules/safe-api-tests.mdc · 39kCursor rulestypescriptjavascript+17setupteststyletesting-strategy+488/1003 days ago
novuhq/novu.cursor/rules/testing.mdc · 39kCursor rulestypescriptjavascript+17teststyletesting-strategy54/1003 days ago
novuhq/novu.cursor/rules/worker.mdc · 39kCursor rulestypescriptjavascript+17style65/1003 days ago
novuhq/novu.deepsec/AGENTS.md · 39kAGENTS.mdtypescriptjavascript+17setupagent-behaviour33/1003 days ago
novuhq/novuAGENTS.md · 39kAGENTS.mdtypescriptjavascript+17builddo-notagent-behaviour63/1003 days ago
Diff against .cursor/rules/api-property-optionality-hygiene.mdc Diff against .cursor/rules/api.mdc Diff against .cursor/rules/clickhouse.mdc Diff against .cursor/rules/context-engineering.mdc Diff against .cursor/rules/dal-repository.mdc Diff against .cursor/rules/dashboard.mdc Diff against .cursor/rules/dependency-graph.mdc Diff against .cursor/rules/docs-mintlify-steps.mdc Diff against .cursor/rules/infrastructure.mdc Diff against .cursor/rules/novu.mdc Diff against .cursor/rules/packages.mdc Diff against .cursor/rules/pnpm-release-age.mdc Diff against .cursor/rules/pullrequest.mdc Diff against .cursor/rules/safe-api-tests.mdc Diff against .cursor/rules/testing.mdc Diff against .cursor/rules/worker.mdc Diff against .deepsec/AGENTS.md Diff against AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack