-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Add Cursor rules to /.cursor/rules/ Here is the list of UI repos:
- https://github.com/communitybridge/easycla-contributor-console
- https://github.com/communitybridge/easycla-landing-page
- https://github.com/LF-Engineering/lfx-corp-cla-console
These rules define how Cursor should generate and inspect the code in Cursor IDE. You can read more here: https://cursor101.com/cursor/rules
Some of our LF repos already have it: membership-ui and lf-dbt.
I also attached AI generated sample rules for Angular project. It is just an example and has more files and different structure than in membership-ui and lf-dbt, but it should also work. Use any structure you want, but start with simple rules. Later you can adjust them based on your need and best practices.
UPDATE:
Here is latest request from David: https://linuxfoundation.slack.com/archives/C0697E1QHNG/p1755624915721359
We’re starting to roll out some AI attribution conventions when generating our git commits. Please take a look at this short document on the topic: https://github.com/linuxfoundation/lfx-engineering/blob/main/ai/git-commits.md
I know some AI tools do this automatically - some may require a git hook or perhaps a “context file” note/entry (such as Claude.md for Claude Code - or Cursor Rules file for Cursor).
I’d love for your team to adopt this construct. Let me know if you have any feedback. Thanks!