-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .cursorrules file #966
base: main
Are you sure you want to change the base?
Conversation
@portdeveloper this looks good, I will try it. Is there a way to add the documentation link on the cursorrules file, so the user do not need to add this manually? |
@damianmarti Thanks! I put it as a link there, but that way, the AI does not always read it. But since it is looong, the AI again does not read it well. The only way here is to index it using Cursor's Docs feature. |
ok, thanks!! |
I have been playing around with this A file is still a file, and people might not want this weird file in their se-2 folders if they are not using cursor. Also whatever I do, cursor sometimes do not care about the .cursorrules file. I am thinking of putting the entire documentation locally inside se-2 in a llm-friendly format so that it can go and quote pieces of info from there. The current problem we have is that the |
I was using it while working on some SE-2 projects and like you said, it seems better with this file but not perfect. I don't know if launching this as an extension is the best option, because then you can't use another extension if you want to add the cursor rules file. I think we should keep iterating it, and when we are happy with it, add the file to SE-2 codebase or link the file from the README and/or documentation. |
Thanks for the feedback @damianmarti ! Could you please give it another go? I have made some changes to it and I would love to get feedback on them. |
This PR introduces a
.cursorrules
file to enhance the development experience with Scaffold-ETH 2. The file contains:I have read the documentation for prompt engineering on Claude.
And these were the steps:
To be honest, prompt engineering does not overlap with what a .cursorrules file is 100%. But I believe that using a .cursorrrules file such as this one makes sense as it improves how a newbie might interact with SE-2.
Also, the user might want to index se-2 docs, to better benefit from Cursor and also from the .cursorrules file, as we tell the LLM to check the docs as well.:
![image](https://private-user-images.githubusercontent.com/108868128/377814900-40fa8c7c-60b0-4e96-9f58-ee1e40f9fe02.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzgyMjcsIm5iZiI6MTczOTY3NzkyNywicGF0aCI6Ii8xMDg4NjgxMjgvMzc3ODE0OTAwLTQwZmE4YzdjLTYwYjAtNGU5Ni05ZjU4LWVlMWU0MGY5ZmUwMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwMzUyMDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNTkwNzc4ZDc2ZDQ2MzZiMTJiZTYzZGY3YmEyNjJlZDViYzUyNjc3MTMxZTEzOGMzMjJiNGU1NDAwOWNhZWFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Yhm6ynb4JFG85iodPZcShjX-ebLiOPsSAVHY56gPrzU)
I believe the .cursorrules file can be improved on, and I would love to hear your feedback on this.
How to test