sentry-release-registry / rules
Cursor rule20 starsChanged 15 months agoMITView on GitHub
Look at the "Adding New SDKs" section in @README.md for instructions on how to add a new SDK / module to this registry.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- .cursor/rules/index.mdcCursor rule
The file
We split this adding_sdks.mdc into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Look at the "Adding New SDKs" section in @README.md for instructions on how to add a new SDK / module to this registry.
- Very specific: line 10
Always run
make sync-all-links: after creating files - this creates version symlinks automatically - Very specific: line 22
Check that make sync-all-links completed without errors
- Very specific: line 23
Verify latest.json, {MAJOR}.json (e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Adding New SDKs to Sentry Release Registry
Look at the "Adding New SDKs" section in @README.md for instructions on how to add a new SDK / module to this registry.
## Critical Lessons Learned
### ❌ Common Mistakes to Avoid:
- **Never create `latest.json` files manually** - they must be symlinks created by `make sync-all-links`
- **Don't forget the `created_at` field** in JSON files (use ISO 8601 format: "2025-09-09T15:24:51.381Z")
- **Always run `make sync-all-links`** after creating files - this creates version symlinks automatically
### 📝 Maven Java SDK Patterns:
- Package path: `packages/maven/io.sentry/<module-name>/`
- SDK symlink: `sentry.java.<module-name>`
- Package URL: `https://search.maven.org/artifact/io.sentry/<module-name>`
### 🔄 Spring Boot Module Conventions:
- Main SDK (starter): `sentry.java.spring-boot-X` → `sentry-spring-boot-X-starter`
- Autoconfigure: `sentry.java.spring-boot-X.autoconfigure` → `sentry-spring-boot-X`
### ✅ Verification Checklist:
1. Check that `make sync-all-links` completed without errors
2. Verify `latest.json`, `{MAJOR}.json` (e.g. `8.json`), `{MAJOR}.{MINOR}.json` (e.g. `8.21.json`) symlinks were created automatically
3. Confirm SDK symlinks in `sdks/` point to correct package directoriesDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

