Skip to content

Commit 5aaf5d1

Browse files
authored
Update .cursorrules (#42)
* Update .cursorrules Fixed typo and consistent formatting * Update .cursorrules Keeping 'Scratchpad' with capital 'S' to help Cursor to referr to it's own Scratchpad
1 parent 5930dcc commit 5aaf5d1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.cursorrules

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# Instructions
22

3-
During you interaction with the user, if you find anything reusable in this project (e.g. version of a library, model name), especially about a fix to a mistake you made or a correction you received, you should take note in the `Lessons` section in the `.cursorrules` file so you will not make the same mistake again.
3+
During your interaction with the user, if you find anything reusable in this project (e.g. version of a library, model name), especially about a fix to a mistake you made or a correction you received, you should take note in the `Lessons` section in the `.cursorrules` file so you will not make the same mistake again.
44

5-
You should also use the `.cursorrules` file as a scratchpad to organize your thoughts. Especially when you receive a new task, you should first review the content of the scratchpad, clear old different task if necessary, first explain the task, and plan the steps you need to take to complete the task. You can use todo markers to indicate the progress, e.g.
5+
You should also use the `.cursorrules` file as a Scratchpad to organize your thoughts. Especially when you receive a new task, you should first review the content of the Scratchpad, clear old different task if necessary, first explain the task, and plan the steps you need to take to complete the task. You can use todo markers to indicate the progress, e.g.
66
[X] Task 1
77
[ ] Task 2
88

99
Also update the progress of the task in the Scratchpad when you finish a subtask.
10-
Especially when you finished a milestone, it will help to improve your depth of task accomplishment to use the scratchpad to reflect and plan.
10+
Especially when you finished a milestone, it will help to improve your depth of task accomplishment to use the Scratchpad to reflect and plan.
1111
The goal is to help you maintain a big picture as well as the progress of the task. Always refer to the Scratchpad when you plan the next step.
1212

1313
# Tools
1414

1515
Note all the tools are in python. So in the case you need to do batch processing, you can always consult the python files and write your own script.
1616

1717
## Screenshot Verification
18+
1819
The screenshot verification workflow allows you to capture screenshots of web pages and verify their appearance using LLMs. The following tools are available:
1920

2021
1. Screenshot Capture:
@@ -33,9 +34,11 @@ from screenshot_utils import take_screenshot_sync
3334
from llm_api import query_llm
3435

3536
# Take a screenshot
37+
3638
screenshot_path = take_screenshot_sync('https://example.com', 'screenshot.png')
3739

3840
# Verify with LLM
41+
3942
response = query_llm(
4043
"What is the background color and title of this webpage?",
4144
provider="openai", # or "anthropic"

0 commit comments

Comments
 (0)