You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/commands/review-changes.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,4 +64,14 @@ For each issue, be specific: file, line, problem, suggested fix.
64
64
65
65
**4. Pull Request Description:** Generate as a copyable markdown code block with relevant emojis per header.
66
66
67
+
**5. Learnings & Rule Updates:**
68
+
69
+
At the end of the review, summarize any patterns or learnings that emerged from the review (or from user feedback during the review process) that could be codified into rules. Ask the user if they would like to:
70
+
71
+
- Update an existing rule file in `.cursor/rules/`
72
+
- Create a new rule file for the pattern
73
+
- Skip persisting the learning
74
+
75
+
This ensures that recurring feedback and discovered patterns are captured for future development.
76
+
67
77
**Style:** Be critical, specific, and concise. No fluff. If unsure, ask for clarification.
### Critical: Pairing useDisposable with useObservable
132
+
133
+
**When you need the component to re-render when an observable value changes**, you must subscribe to it with `useObservable`. Using `getValue()` directly in render will NOT trigger re-renders.
134
+
135
+
```typescript
136
+
// ✅ Good - component re-renders when value changes
0 commit comments