# Community tips & tricks

**URL:** <https://forum.cursor.com/t/community-tips-tricks/78165>\
**Category:** Discussions\
**Created:** [April 11, 2025, 9:43pm UTC](https://forum.cursor.com/t/community-tips-tricks/78165 "2025-04-11T21:43:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericzakariasson](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ericzakariasson/32/11130_2.png) [@ericzakariasson](https://forum.cursor.com/u/ericzakariasson)\
**Post date:** [April 11, 2025, 9:43pm UTC](https://forum.cursor.com/t/community-tips-tricks/78165/1 "2025-04-11T21:43:41Z")

</div>

Hey!

I’ve been collecting tips n tricks from the Cursor community and wanted to share the most popular ones I’ve found so far

**Setup & Configuration**

1. Create proper Cursor rules in `.cursor/rules` with domain-specific knowledge
2. Tag all necessary files when providing context to ensure the model has complete information

**Documentation & Context**

1. Create reference documentation ([prd.md](http://prd.md/), [specs.md](http://specs.md/)) to give the model consistent context
2. Use @ references to provide specific context from other files
3. Maintain [todo.md](http://todo.md/) files to track progress and keep the model focused on current priorities
4. Add detailed comments about your project goals to guide the models understanding

**Workflow Optimization**

1. Break down tasks into small incremental steps instead of tackling everything at once
2. Start new chats for each task to avoid context bloat
3. Plan with “ask” mode, then implement with “agent” mode for clearer outcomes
4. Use reasoning models (e.g., 3.7 max mode) for planning, regular models for implementation

**Best Practices**

1. Be specific with prompts. Clear instructions consistently yield better results
2. Adopt TDD when working with AI assistance
3. Understand the limitations of AI coding assistance
4. Avoid over-reliance on the tool for critical tasks

What else should be added here?

---

<div class="post-metadata">

**Author:** ![jes](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jes](https://forum.cursor.com/u/jes)\
**Post date:** [April 12, 2025, 1:04am UTC](https://forum.cursor.com/t/community-tips-tricks/78165/2 "2025-04-12T01:04:34Z")

</div>

Pretty basic but: use a free model such as deepseek-v3.1 for Ctrl + K.

---

<div class="post-metadata">

**Author:** ![nedcodes](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/nedcodes/32/99923_2.png) [@nedcodes](https://forum.cursor.com/u/nedcodes)\
**Post date:** [February 12, 2026, 7:25pm UTC](https://forum.cursor.com/t/community-tips-tricks/78165/3 "2026-02-12T19:25:48Z")

</div>

great list. one thing i’d add under **rules** : make them specific and testable. vague rules like “write clean code” get ignored. rules that describe a concrete pattern work way better.

for example, here are a few React/Next.js rules i’ve been using that actually changed cursor’s output:

**error boundaries:**

```auto
Always create error.tsx alongside every page.tsx.
error.tsx must be a client component ('use client').
Include a retry button that calls reset().

```

**useEffect guard:**

```auto
Before writing a useEffect, check if the value can be
computed during render instead. Prefer useMemo or
derived state over effects for computed values.

```

**loading states:**

```auto
Every async data fetch must have three states:
loading, error, and success. Use loading.tsx for
page-level loading and Suspense boundaries for
component-level.

```

the pattern is: tell cursor _what to do_ in a situation it will actually encounter, not abstract principles. the more concrete the rule, the more reliably it fires.

also worth noting: if you’re using the newer `.cursor/rules/` system, you can scope rules to specific file types with globs. so a React rule only triggers on `.tsx` files instead of cluttering every conversation.

i wrote more about which rules actually work vs which ones don’t [here](https://dev.to/nedcodes/how-to-write-cursorrules-that-actually-work-2imd) if anyone’s interested.

---

<div class="post-metadata">

**Author:** ![Danack](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danack/32/92482_2.png) [@Danack](https://forum.cursor.com/u/Danack)\
**Post date:** [February 16, 2026, 8:09pm UTC](https://forum.cursor.com/t/community-tips-tricks/78165/5 "2026-02-16T20:09:35Z")

</div>

> [@ericzakariasson](#):
>
> Break down tasks into small incremental steps instead of tackling everything at once

There seems to be a size limit at which Cursor just can’t cope with a task. e.g. refactoring many files to meet a different coding standard.

But if you get it to first make a markdown file with the list of files that need to be processed and have a checkbox AT THE START OF EACH LINE, and get it to work through the files, it works better.

The start of each line seems important….another time cursor had defaulted to using utf8 ticks at the end of the line, and it just really didn’t work very well at all.

---

<div class="post-metadata">

**Author:** ![Danack](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danack/32/92482_2.png) [@Danack](https://forum.cursor.com/u/Danack)\
**Post date:** [February 16, 2026, 8:46pm UTC](https://forum.cursor.com/t/community-tips-tricks/78165/7 "2026-02-16T20:46:24Z")

</div>

Whenever you see cursor attempt to invoke tools incorrectly, interrupt it and write how to invoke that tool correctly in a document.

In particular, Cursor seemed to struggle a bit invoking some PHP testing tools correctly. Giving it [a document](https://github.com/Danack/Bristolian/blob/main/docs/developing/testing_guidelines.md) that tells it how to run them correctly will avoid it having to find that out from scratch each time an agent is running.

I’d also strongly recommend creating a command to [review the documents and commands](https://github.com/Danack/Bristolian/blob/main/.cursor/commands/review_documents.md) that exist. They will drift out of sync, or otherwise have errors introduced. Manually reviewing them every so often stop them getting too bad.
