# \`.cursorrulles\` adding to chat or composer context. Is it necessary?

**URL:** <https://forum.cursor.com/t/cursorrulles-adding-to-chat-or-composer-context-is-it-necessary/39082>\
**Category:** Help\
**Created:** [January 4, 2025, 9:46am UTC](https://forum.cursor.com/t/cursorrulles-adding-to-chat-or-composer-context-is-it-necessary/39082 "2025-01-04T09:46:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![flp](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@flp](https://forum.cursor.com/u/flp)\
**Post date:** [January 4, 2025, 9:46am UTC](https://forum.cursor.com/t/cursorrulles-adding-to-chat-or-composer-context-is-it-necessary/39082/1 "2025-01-04T09:46:40Z")

</div>

Do must the ’.cursorrulles’ be added to chat or composer context always when required cursor to use them, or does ’.cursorrulles’ work as the context in the background and adding it to chat or composer context doesn’t provide additional benefits?

I would assume that tagging in chat or composer context doesn’t provide additional benefits. Since the same job can do any other file when added to chat or composer context?

But I see other users adding it to the chat or composer context.

This is not clear from the documentation.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 4, 2025, 10:06am UTC](https://forum.cursor.com/t/cursorrulles-adding-to-chat-or-composer-context-is-it-necessary/39082/2 "2025-01-04T10:06:38Z")

</div>

Hey, you don’t need to add the rules file to the context. However, if Composer or Chat stops following your rules, you can include the file in the context.

---

<div class="post-metadata">

**Author:** ![flp](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@flp](https://forum.cursor.com/u/flp)\
**Post date:** [January 4, 2025, 1:53pm UTC](https://forum.cursor.com/t/cursorrulles-adding-to-chat-or-composer-context-is-it-necessary/39082/3 "2025-01-04T13:53:24Z")

</div>

Does this apply to “Edit”, too?

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 8, 2025, 5:44pm UTC](https://forum.cursor.com/t/cursorrulles-adding-to-chat-or-composer-context-is-it-necessary/39082/4 "2025-01-08T17:44:45Z")

</div>

The rules should apply to the inline edit (CMD+K) functionality as well!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:23am UTC](https://forum.cursor.com/t/cursorrulles-adding-to-chat-or-composer-context-is-it-necessary/39082/5 "2026-06-18T10:23:51Z")

</div>


