Announcement and Guidelines for Using Cursor
Declaration
The following content represents purely subjective personal opinions without any objective basis. Please carefully evaluate the authenticity of the content and avoid blind acceptance.
Important Note
Current artificial intelligence technology has not yet reached the level of AGI (Artificial General Intelligence). AI is essentially still an advanced pattern matching tool, therefore do not expect to achieve complex functionality with just one sentence. You need to patiently guide AI step by step to complete tasks.
Latest Updates
Cursor has released version 0.47.7 client, which adds Claude 3.7 Sonnet Max (with a nice UI design), but the 0.05 consumption per use of Claude 3.7 Sonnet Max is quite expensive. Additionally, version 0.47.6 seems to have faster differential application.
Side note: Unfortunately, Claude 3.7 Sonnet Max is only available for paid requests. I won’t be using it as I won’t pay extra! I’m proud to be frugal!
Previous Updates (0.47.5)
Cursor released version 0.47.5 client, with model mode in Agent mode. Give me some time to test this mode and I’ll update the post later.
After using it for a morning, I didn’t notice much difference. I personally still choose to stick with claude-3.7-sonnet. Perhaps I was using it too casually? Not sure, will keep observing.
Commonly Used Model Roles
claude-3.7-sonnet
: Currently using only this model since deepseek-r1 has started charging.
GitHub Projects Using Cursor
Here are some actual project examples developed using Cursor with different models:
-
YamlTranslater
- Model:
claude-3.7-sonnet
- Request count: About 40 slow requests
- Description: A YAML file conversion tool with detailed project planning and progress tracking
- Link: BingZi-233/YamlTranslater
- Model:
-
Appwrite SDK for Java
- Model:
claude-3.5-sonnet
- Request count: About 450 fast requests
- Description: A Java SDK for interacting with Appwrite backend services
- Link: BingZi-233/sdk-for-java
- Model:
-
LuckPerms Bridge Spring Boot Starter
- Model:
claude-3.5-sonnet
- Request count: About 350 fast requests
- Description: Spring Boot Starter for simplifying LuckPerms API integration
- Link: BingZi-233/luckperms-bridge-spring-boot-starter
- Model:
Essential Knowledge
-
.cursorrules File
A document for setting project rules, typically written in Markdown syntax. However, since AI only reads content (tokens), the file format isn’t crucial - use any format as long as the content is clear. -
.cursor/rules File
An upgraded version of .cursorrules allowing more detailed rule configuration. For example, you can set different AI rules for different file types (like .java and .vue files). -
Normal Mode vs. Agent Mode
In Cursor’s Composer feature, you can choose between two modes:
- Normal Mode: Suitable for quick, single code edits without deep analysis
- Agent Mode: AI performs more intelligent analysis using reasoning and tools for complex tasks
Important Note
Many people confuse these modes’ purposes. Remember: If you need high-quality results, make sure to switch to Agent mode!
- Use
claude-3.7-sonnet
model for requirement planning (typically stored in Markdown format in the docs folder) - Use
claude-3.7-sonnet
to list step-by-step tasks - Have
claude-3.7-sonnet
read and execute the task list one step at a time - Switch to IDEA to resolve warnings and compilation errors
- Direct
claude-3.7-sonnet
for version control commits - Start new conversation and return to step 3
Writing .cursorrules
Resources
Recommended:
Reference:
.cursorrules Writing Improvement Process
- Select a relevant .cursorrules file from resources
- Locate package management file (e.g., build.gradle.kts)
- Choose
claude-3.7-sonnet
model and add context - Request modifications based on package usage
- Iterate on improvements
- Complete
Note: Customizing rules requires iteration based on usage experience
About TAB Functionality
The TAB completion feature in Cursor significantly compensates for any tool functionality gaps compared to IDEs like IDEA.
About Saving Fast Requests
Fast Request Definition
Based on maximum token usage (200K tokens for claude-3.7-sonnet costs $0.02)
Speculations:
- Starting new conversation before token depletion costs 1 fast request
- Exceeding maximum tokens (200K) costs 1 additional fast request
- Over 25 tool calls in single response costs 1 additional fast request
Solutions:
- Let claude-3.7-sonnet find context (Agent mode only)
- Reduce new conversation frequency
- Use markers in .cursorrules to identify token depletion
About Automatic Testing and Problem Fixing
- Tool must support unit testing
- YOLO mode must be enabled
Steps
- Have claude-3.7-sonnet write unit tests
- Configure environment variables
- Let AI complete testing objectives efficiently
Example Prompt
Please write unit tests for [feature], run them, and fix any issues until tests pass.
Changing Terminal
Use Ctrl + Shift + P
and enter:
>Terminal: Select Default Profile
Select Git Bash
and restart Cursor client.
The content has been processed through a translation program. If you have any doubts, please refer to the original post.
Cursor使用经验分享 - 搞七捻三 - LINUX DO