adding-error-tracking
Add Error Tracking (Sentry)
Use this skill when the user asks to add error tracking, crash reporting, exception monitoring, or performance tracing.
Steps
-
Detect the framework — check
package.json, config files, and directory structure to determine the stack (Next.js, React, Node.js, Python/Django/Flask, etc.). -
Install the SDK
- Next.js:
npx @sentry/wizard@latest -i nextjs - React (Vite):
npm install @sentry/react - Node.js:
npm install @sentry/node - Python:
pip install sentry-sdk
- Next.js:
-
Initialize Sentry
- For Next.js, the wizard creates
sentry.client.config.ts,sentry.server.config.ts, andsentry.edge.config.ts. Verify they exist and contain the DSN.
- For Next.js, the wizard creates
More from spencerpauly/awesome-cursor-skills
saving-workspace-context
Automatically persist useful context — research, decisions, learnings, templates — to workspace files so knowledge survives across conversations.
38database-design
Design database schemas — tables, relationships, indexes, constraints, and ORM setup. Covers relational design, normalization, and common patterns.
37reviewing-code
Perform a thorough code review focused on correctness, maintainability, performance, and best practices.
37suggesting-cursor-rules
When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently.
35systematic-debugging
Structured debugging methodology — reproduce, isolate, hypothesize, verify. Covers git bisect, binary search, logging, and minimal reproduction.
33auditing-security
Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns.
33