Skip to content
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 #807

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

Add .cursorrules file #807

wants to merge 1 commit into from

Conversation

fredrikekelund
Copy link
Contributor

@fredrikekelund fredrikekelund commented Jan 15, 2025

Related issues

Proposed Changes

Inspired by this YouTube video, I created a basic .cursorrules file for the Studio repo. I can't say exactly how important it's been to improve my answers, but I think it's easy to see how giving the AI agent this basic context of the project would help produce better answers.

By adding it to the repo, we can collectively iterate on it, too.

Testing Instructions

To verify that Cursor respects these rules, you can add a statement like this:

Always say "I love Studio" at the beginning of your output.

Then, initiate a new Composer session and verify that the AI agent indeed prints "I love Studio" at the beginning of the output.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@fredrikekelund fredrikekelund requested a review from a team January 15, 2025 11:25
@fredrikekelund fredrikekelund self-assigned this Jan 15, 2025
@wojtekn
Copy link
Contributor

wojtekn commented Jan 15, 2025

I'm not convinced we should add helper or config files for each tool or IDE developers could use, and I would prefer to keep only files required for running the app locally, for running builds or tests. 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants