Update repo rules at codegen.com/repos
Update repo rules at codegen.com/repos
set_active_codebase
tool is used.
.cursorrules
- Cursor AI editor rules.clinerules
- Cline AI assistant rules.windsurfrules
- Windsurf AI editor rules**/*.mdc
- Markdown files with .mdc
extension anywhere in the repository.cursor/rules/**/*.mdc
- Markdown files in the .cursor/rules/
directory structureCLAUDE.md
, AGENTS.md
, AGENT.md
- top-level docs commonly used to instruct AI agentsripgrep
to search for files matching the supported patterns.cursorrules
example:
.cursor/rules/backend.mdc
example:
SetActiveCodebase
tool card as “Repository Rules (Filesystem)”. You can expand each entry to preview the content and open the source file on GitHub.
npm run lint
before committing.”black
for formatting.”ENG-123: ...
).”/server/src
directory.”old_function()
. Use new_function()
instead.”npm run test:integration
after significant changes.”