agentleFS
SentryKnown publishergetsentry/sentry-python/.agents/skills/sdk-review/SKILL.md

sdk-review

Skill2.2k starsChanged 5 days agoMITView on GitHub

Review sentry-python changes for violations of Sentry SDK contracts: host-app safety, data-collection gates, supported versions, public API, and Python-specific rules.

6 other projects use a version of this, 3 of them edited.

Trending

More talk lately.about the whole repository

Dec 2025: 3 mentionsJan 2026: 6 mentionsFeb 2026: 5 mentionsMar 2026: 3 mentionsApr 2026: 0 mentionsMay 2026: 2 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 5 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the getsentry/sentry-python repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about getsentry/sentry-python

The biggest 5 of 65 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 65

Talked about on GitHub and Stack Overflow (65 times).

On GitHub · 49

44 more on GitHub

On Stack Overflow · 16

11 more on Stack Overflow
  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 3

    1. getsentry/sentry-go★ 1.1k26% same
    2. getsentry/sentry-ruby★ 99045% same
    3. getsentry/sentry-dotnet★ 77671% same

    Wrote their own version · 3

    1. DataDog/dd-trace-java★ 739same name
    2. DataDog/dd-trace-dotnet★ 573same name
    3. getsentry/sentry-godot★ 260same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow-ups the PR says are handled in a stacked PR or the major branch.

    line 20

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review only the changed code. Report a finding only if you can point to the exact line and show how it breaks a user's app, build or data. Most hunks break no SDK contract, so no findings is the normal result. Generic logic bugs belong to code-review; this skill only covers SDK contracts.

Core SDK rules (same in every SDK repo)

  1. Never break the host app (high). SDK code that can raise, block, or change the user's behavior: exceptions, return values, signatures, job or request flow.
  2. Data collected without its gate (high). Bodies, headers, cookies, user info, gen_ai inputs/outputs or DB results recorded without their data-collection option. Header and cookie names match case-insensitively. Gate on the data_collection option keys; don't ask for send_default_pii or should_send_default_pii() as the gate. Automatically collected header, cookie, query or body values must go through the denylist filter in sentry_sdk/data_collection.py; a new path that sends them raw is a finding. Data the user set explicitly (scope, span, before_send) is never gated or scrubbed: don't flag reading it back from the scope, but do flag new code that gates or rewrites it.
  3. Supported versions (high). Language, runtime, target or dependency APIs newer than the repo's declared minimum, used without a guard. Minimums come from python_requires and _MIN_VERSIONS in sentry_sdk/integrations/__init__.py.
  4. Public API (medium). Breaking public changes without a deprecation path, or internals exposed as public API.

Do not report (same in every SDK repo)

  • Style, naming, refactors, or anything the repo's linters, type checkers or analyzers catch.
  • Pre-existing code the diff does not change.
  • Behavior that matches the spec, Relay or other SDKs, or a trade-off the PR or its threads explain.
  • Follow-ups the PR says are handled in a stacked PR or the major branch.
  • Tests, samples and examples, unless they can't fail or they teach wrong SDK usage.
  • Edge cases that need misuse or very unlikely timing.

Python rules

  1. Missing internal-exception guard (high). New patch or hook code outside capture_internal_exceptions(), or code that reads framework objects that can be missing or None (for example an unmatched route). Never wrap the user's own call or provider iterator: its exceptions must still reach the caller.
  2. Brittle monkeypatch (medium). A patch spells out arguments instead of *args, **kwargs, or swallows or re-raises the user's exception differently.
  3. Span or check-in not finished on every path (medium). Exceptions, early returns, and streams closed early or never consumed.

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.