Where the code, folders, and task live
Project Rules
I keep reminding the AI to use TypeScript and our existing styles. Can these requirements live in project rules?
I keep reminding the AI to use TypeScript and our existing styles. Can these requirements live in project rules?
Where the code, folders, and task live
States rules for the applicable scope
Follows the rules while reading, editing, and verifying
Project rules tell an agent how to work in a directory; they are not permanent memory inside the model.
Preserve project conventions: Rules can describe the stack, naming, code style, and risky actions that require confirmation.
Become part of the context: After reading the rules, the tool gives them to the model for matching tasks instead of repeating them every time.
Share rules without sharing secrets: Team rules are usually committed with the project; real keys and personal paths do not belong in them.
Read the project rules before editing the button component. Follow the existing stack, do not use any, and ask before delete or reset commands. Run the project's existing checks after editing.