用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill sentry命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | sentry |
| description | Sentry — error tracking, APM, SDK setup, source maps. |
| Signal | Location |
|---|---|
SENTRY_DSN env var | .env, .env.example, CI secrets |
@sentry/ prefix | package.json dependencies |
sentry-sdk | requirements.txt, pyproject.toml |
sentry/sentry-laravel or sentry/sentry-php | composer.json |
sentry service | docker-compose.yml |
.sentryclirc or sentry.properties | repo root |
| Term | Meaning |
|---|---|
| DSN | Data Source Name — the endpoint URL that SDKs send events to |
| Environment | production, staging, development — segments events |
| Release | Tagged version (v1.2.3 or git SHA) — ties issues to deploys |
| Issue | Grouped set of similar events (same error + stacktrace fingerprint) |
| Transaction | A performance trace for one request or operation |
| Span | A timed segment inside a transaction (DB query, HTTP call) |
sendDefaultPii: false — the safe GDPR defaultenvironment from an env var per deployment targetrelease from git SHA or semver tag via CISENTRY_DSN in source — treat it as a credentialLoad references/sdk-setup.md for: full initialization code for Node.js, Browser, Python, Go, PHP/Laravel; custom context (setUser, setTag, setExtra); custom span examples.
| Traffic volume | tracesSampleRate |
|---|---|
| < 1k req/day | 1.0 |
| 1k – 50k req/day | 0.2 |
| > 50k req/day | 0.05 + dynamic sampler |
Error capture always uses sampleRate: 1.0 — never drop errors. Exclude /health, /ping, /metrics from performance traces.
Load references/configuration.md for: dynamic sampler example, release tracking CLI commands, GitHub Actions deploy integration, source maps upload, alerts setup, self-hosted Docker setup.
SENTRY_DSN injected via env var — not hardcoded anywhere in sourceenvironment set correctly per deployment targetrelease tied to git SHA or semver and created via sentry-cli in CI1.0 in prod).map files not publicly accessiblesend_default_pii: false unless GDPR exemption is documented