Using the "project-rules" in 0.45.2

I have a question, for example, regarding the usage rules for global aspects like database operations and Redis operations. .cursorrules can handle this well, but it cannot reference content from other MDCs. I tried using the project project, and it is indeed simple and easy to use, but there are many contents that I wish it could automatically include. For instance, if I mention Redis, it should automatically reference the Redis rules as context. If it’s *.py or *.rs, it actually wastes a lot of tokens.

Guys! I have created a new rule for context management that will help you and AI to share in one brain and knowledge, here in this links the other descriptions:

1 Like

Oh! It took me a few days to realize that if Claude mentions words or meanings in the description, it will automatically load if the glob matches or is empty. This automatic process is so cool, greatly reducing the burden of adding context. Before project-rules, there was an API, and Claude always wrote the wrong syntax, which was very frustrating and completely unmanageable. Now with project-rules, you just need to describe this API well in the rules’ description. As long as this API is mentioned, Claude will automatically load it as context in agent mode. Thanks, Cursor.

2 Likes