sentry-python-setup
✓在 Python 應用程序中設置 Sentry。當要求將 Sentry 添加到 Python、安裝sentry-sdk 或為 Python 應用程序、Django、Flask、FastAPI 配置錯誤監控時使用。
SKILL.md
| dsn | Sentry DSN | Required | | senddefaultpii | Include user data | False | | tracessamplerate | % of transactions traced | 0 | | profilesessionsamplerate | % of sessions profiled | 0 | | enablelogs | Send logs to Sentry | False | | environment | Environment name | Auto-detected | | release | Release version | Auto-detected |
| Errors not appearing | Ensure init() is called early, check DSN | | No traces | Set tracessamplerate > 0 | | IPython errors not captured | Run from file, not interactive shell | | Async errors missing | Initialize inside async function |
在 Python 應用程序中設置 Sentry。當要求將 Sentry 添加到 Python、安裝sentry-sdk 或為 Python 應用程序、Django、Flask、FastAPI 配置錯誤監控時使用。 來源:getsentry/agent-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/getsentry/agent-skills --skill sentry-python-setup- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 sentry-python-setup?
在 Python 應用程序中設置 Sentry。當要求將 Sentry 添加到 Python、安裝sentry-sdk 或為 Python 應用程序、Django、Flask、FastAPI 配置錯誤監控時使用。 來源:getsentry/agent-skills。
如何安裝 sentry-python-setup?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/getsentry/agent-skills --skill sentry-python-setup 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/getsentry/agent-skills
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01