Skip to content
Back to skills

602 Optimize What You Send Ad149b4c

ASecurity

```typescript Sentry.init({ dsn: process.env.SENTRY_DSN,

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
developmenttypescript

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 602-optimize-what-you-send_ad149b4c --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 602 Optimize What You Send Ad149b4c?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 602 Optimize What You Send Ad149b4c
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-602-optimize-what-you-send-ad149b4c/badge)](https://www.skillsdirectory.com/skills/tools-only-602-optimize-what-you-send-ad149b4c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Optimize What You Send

## Optimize What You Send

### Reduce Event Size
```typescript
Sentry.init({
  dsn: process.env.SENTRY_DSN,

  // Limit string lengths
  maxValueLength: 250,

  // Limit breadcrumbs
  maxBreadcrumbs: 20,

  // Strip large data
  beforeSend(event) {
    // Remove large request bodies
    if (event.request?.data) {
      const size = JSON.stringify(event.request.data).length;
      if (size > 1000) {
        event.request.data = '[TRUNCATED]';
      }
    }
    return event;
  },
});
```

### Disable Unused Features
```typescript
Sentry.init({
  dsn: process.env.SENTRY_DSN,

  // Disable session tracking if not needed
  autoSessionTracking: false,

  // Disable profiling if not needed
  profilesSampleRate: 0,

  // Disable replay if not needed
  replaysSessionSampleRate: 0,
  replaysOnErrorSampleRate: 0,
});
```

Files in this skill

  • README.md1.1 KB
  • skill.md847 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.