Skip to content

Comments

Add AGENTS.md and tell agents to use .cursor/skills#5103

Merged
adinauer merged 2 commits intomainfrom
feat/agents-md
Feb 23, 2026
Merged

Add AGENTS.md and tell agents to use .cursor/skills#5103
adinauer merged 2 commits intomainfrom
feat/agents-md

Conversation

@adinauer
Copy link
Member

#skip-changelog

📜 Description

Add AGENTS.md and tell agents to use .cursor/skills

Had to be worded rather strictly or otherwise Claude would simply ignore the instructions to both read AGENTS.md or cursor skills.

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Feb 16, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 16, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against cc472c9

@@ -1,156 +1,7 @@
# CLAUDE.md
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could in theory symlink this to AGENTS.md but that might cause problems for Windows contributors.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

- Internal contributing guide: https://docs.sentry.io/internal/contributing/
- Git commit message conventions: https://develop.sentry.dev/engineering-practices/commit-messages/

This SDK is production-ready and used by thousands of applications. Changes should be thoroughly tested and maintain backwards compatibility.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicated content between AGENTS.md and coding.mdc

Low Severity

AGENTS.md instructs agents to read .cursor/rules/coding.mdc as a required first step, but then repeats nearly all of coding.mdc's content inline — build commands, contributing guidelines, coding workflow rules, and useful resources are duplicated verbatim. This creates a maintenance risk where the two copies can drift out of sync, leading to conflicting instructions for agents. The duplicated sections in AGENTS.md could reference coding.mdc instead of repeating its content.

Additional Locations (1)

Fix in Cursor Fix in Web

@adinauer adinauer enabled auto-merge (squash) February 23, 2026 10:05
@adinauer adinauer merged commit 6ea4329 into main Feb 23, 2026
61 checks passed
@adinauer adinauer deleted the feat/agents-md branch February 23, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants