Open
Conversation
We have an `AGENTS.md` to instruct agents on how to work with this repo, but neither Claude Code nor Cursor's Bugbot tool use this file. Instead, Claude Code uses `CLAUDE.md` ([source][1]) and Bugbot uses `.cursor/BUGBOT.md` ([source][2]) We don't need to make new files to support these tools; we can simply symlink them to `AGENTS.md`. [1]: https://code.claude.com/docs/en/memory [2]: https://cursor.com/docs/bugbot#rules
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Contributor
|
We could also just use links to existing agent.md |
Contributor
Author
|
@cryptodev-2s I figured that symlinks were more efficient than using file references. That said, this approach probably won't work on Windows. I just pushed up an update. |
cryptodev-2s
approved these changes
Mar 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation
We have an
AGENTS.mdto instruct agents on how to work with this repo, but neither Claude Code nor Cursor's Bugbot tool use this file. Instead, Claude Code usesCLAUDE.md(source) and Bugbot uses.cursor/BUGBOT.md(source).To get these tools to follow our rules, we create new files that link to
AGENTS.md. Note that both Claude Code supports the use of@for file references; Bugbot does not, but we can use Markdown links to achieve a similar effect (source).References
https://consensyssoftware.atlassian.net/browse/WPC-79
Checklist
Note
Low Risk
Low risk: adds tool-specific rule files/symlinks only and does not change runtime code or production behavior.
Overview
Adds
CLAUDE.mdand.cursor/BUGBOT.mdas pointers to the existingAGENTS.mdso Claude Code and Cursor Bugbot can reuse the repo’s agent instructions without duplicating content.Written by Cursor Bugbot for commit 40f303e. This will update automatically on new commits. Configure here.