Agent skill · Audited from source
Notification Platform
skill · getsentry/sentryNOASSERTION licenceAudited 29 Sep 2026 · source 42a3375c14f5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 42a3375c14f5 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 0 critical or high. What it does: Guide for adding notifications, custom renderers, or new providers to Sentry's NotificationPlatform. Use when asked to "add notification", "new notification", "notification platform", "send notification", "notification…
Cite
Cite this page
ModelsAtlas. “Notification Platform (getsentry/sentry)”. Retrieved 29 Sep 2026. https://modelsatlas.com/skills/getsentry/notification-platform
Trust audit
Audit 0.4.1 · source read 29 Sep 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 2 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
MEDIUMInventory / provenanceinv.symlink · .claude/skills
.claude/skills
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · api-docs/.node-version
api-docs/.node-version
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 42a3375c14f5 · 29 Sep 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishergetsentry GitHub organizationOwner of the repository this skill is read from
- Source foldergetsentry/sentry/.agents/skills/notification-platformThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict42a3375c14f5A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Guide for adding notifications, custom renderers, or new providers to Sentry's NotificationPlatform. Use when asked to "add notification", "new notification", "notification platform", "send notification", "notification…
---
name: notification-platform
description: Guide for adding notifications, custom renderers, or new providers to Sentry's NotificationPlatform. Use when asked to "add notification", "new notification", "notification platform", "send notification", "notification template", "notification renderer", "notification provider", "NotificationPlatform", "notify user", "send email notification", "send slack notification".
---
# NotificationPlatform Guide
Sentry's NotificationPlatform is a provider-based system for sending notifications across Email, Slack, Discord, and MS Teams. You define data + template, register it, and the platform handles rendering and delivery per provider.
## Glossary
| Concept | Role | Location |
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
| `NotificationData` | Protocol. Frozen dataclass carrying the payload for a single notification. Must declare a `source` class variable. | `types.py` |
| `NotificationTemplate` | Abstract class. Converts `NotificationData` into a `NotificationRenderedTemplate`. Registered per `NotificationSource`. | `types.py` |
| `NotificationRenderedTemplate` | Dataclass. Provider-agnostic output: subject (str or text blocks), body (sections containing text blocks), actions, chart, footer (str or text blocks), optional email paths. | `types.py` |
| `NotificationProvider` | Protocol. Knows how to validate a target, pick a renderer, and send the final renderable (Email, Slack, etc.). | `provider.py` |
| `NotificationRenderer` | Protocol. Converts a `NotificationRenderedTemplate` into a provider-specific renderable (HTML email, Slack blocks, etc.). | `renderer.py` |
| `NotificationTarget` | Protocol. Identifies the recipient: email address, channel ID, or DM user ID. Two concrete classes: `GenericNotificationTarget` (email) and `IntegrationNotificationTarget` (Slack/Discord/MSTeams). | `target.py` |
| `NotificationService` | Entry point. Orchestrates lookup, rendering, and delivery. Provides `has_access()`, `notify_target()`, `notify_async()`, `notify_sync()`. | `service.py` |
All paths below are relative to `src/sentry/notifications/platform/`.
## Step 1: Determine Your Operation
| I want to... | Go to |
| ---------------------------------------------- | --------- |
| Add a new notification (most common) | Steps 2-5 |
| Add a custom renderer for an existing provider | Step 6 |
| Add an entirely new provider | Step 7 |
After any operation, continue to Step 8 (Test) and Step 9 (Verify).
## Step 2: Define the Notification Source
Every notification needs a unique `NotificationSource` enum value and must be mapped to a `NotificationCategory`. A `NotificationSource` should represent the domain or feature that a given notification belongs to.
> For examples, load `src/sentry/notifications/platform/types.py`.
**File:** `types.py`
1. Add the enum value under the appropriate category comment:
```python
class NotificationSource(StrEnum):
# MY_CATEGORY
MY_NEW_SOURCE = "my-new-source"
```
2. Add it to `NOTIFICATION_SOURCE_MAP` under the matching category key:
```python
NOTIFICATION_SOURCE_MAP[NotificationCategory.MY_CATEGORY].append(
NotificationSource.MY_NEW_SOURCE
)
```
If no existing `NotificationCategory` fits, add a new one to the `NotificationCategory` enum first, then create its entry in `NOTIFICATION_SOURCE_MAP`.
All `NotificationCategory` options are defined in the `src/sentry/notifications/platform/types.py` file.
## Step 3: Create the Notification Data
The data class is a frozen dataclass implementing the `NotificationData` protocol. It carries everything the template needs to render.
**File:** `templates/<your_notification>.py` (new file)
```python
from dataclasses import dataclass
from sentry.notifications.platform.types import NotificationData, NotificationSource
@dataclass(frozen=True)
class MyNotificationData(NotificationData):
source = NotificationSource.MY_NEW_SOURCE # class variable, not a field
title: str
detail_url: str
```
Rules:
- `source` is a **class variable** (no type annotation), not a dataclass field
- Use `frozen=True` for serialization safety
- Only include fields needed by the template's `render()` method
- Avoid Django model instances; use primitive types or simple dataclasses for async serialization
> For full examples (DataExportSuccess, DataExportFailure), load `references/data-and-templates.md`.
## Step 4: Create the Notification Template
The template converts your data into a provider-agnostic `NotificationRenderedTemplate`.
**Same file as Step 3:** `templates/<your_notification>.py`
```python
from sentry.notifications.platform.registry import template_registry
from sentry.notifications.platform.types import (
NotificationCategory,
NotificationRenderedAction,
NotificationRenderedTemplate,
NotificationTemplate,
ParagraphSection,
PlainTextBlock,
)
@template_registry.register(MyNotificationData.source)
class MyNotificationTemplate(NotificationTemplate[MyNotificationData]):
category = NotificationCatExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 42a3375
git clone https://github.com/getsentry/sentry git -C sentry checkout 42a3375c14f5
The author documents no install command, so this uses the repository directly. Our verdict covers commit 42a3375c14f5 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
42a3375c14f5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/getsentry/notification-platform/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All devops & cloud skills →getsentry/sentry
Instrument and discover analytics events in Sentry's frontend UI. Use when adding tracking to buttons, pages, modals, or custom interactions, when defining new analytics events, when searching for existing events, when…
getsentry/sentry
Reference and active migration guide for Sentry's cell architecture. Explains what cells and localities are and why they're different, how requests reach cells via Synapse API routing, ingestion routing, and the control…
getsentry/sentry
Guide for adding new actions to Sentry's Command+K palette. Use when implementing new cmdk actions, registering page-level or global actions, building async resource pickers, or adding contextual actions to a view.
getsentry/sentry
Guide for using Sentry's layout and text primitives. Use when implementing UI components, layouts, or typography. Enforces use of core components over styled components.
getsentry/sentry
Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Use when adding a new Django model, designing a model for a feature, deciding where data…
getsentry/sentry
Guide for creating forms using Sentry's new form system. Use when implementing forms, form fields, validation, or auto-save functionality.
Add this badge to your README
[](https://modelsatlas.com/skills/getsentry/notification-platform/)
<a href="https://modelsatlas.com/skills/getsentry/notification-platform/"><img src="https://modelsatlas.com/skills/getsentry/notification-platform/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Notification Platform
What does the Notification Platform skill do?
Is Notification Platform safe to install?
What can Notification Platform access on my machine?
How current is this page?
Sources
- github.com/getsentry/sentry/tree/master/.agents/skills/notificat — the audited source at commit 42a3375c14f5 and every finding aboveObserved · 29 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Notification Platform skill do?
- Is Notification Platform safe to install?
- What can Notification Platform access on my machine?