error-tracking
Integrate error tracking with Sentry for frontend and backend applications. Capture, classify, deduplicate, and alert on errors with deploy-version tagging.
- License 许可
- GPL-3.0
- 最近更新
- 2026-04-24
- Stars
- ★ 1
- Forks
- 3
01 前言 Front Matter
- name
- error-tracking
- next
- [ "incident-response", "error-classifier" ]
- group
- operate
- workflows
- [ "incident-response", "full-startup" ]
- description
- Integrate error tracking with Sentry for frontend and backend applications. Capture, classify, deduplicate, and alert on errors with deploy-version tagging.
- prerequisites
- [ "website-creation", "convex-functions" ]
- user-invocable
- true
03 SKILL.md 正文
Error Tracking
Set up Sentry-based error tracking across frontend and backend. Capture errors, deduplicate into issues, detect spikes, and route to the right owner.
Setup
- Create a Sentry project and store the DSN in environment variables.
- Install the Sentry SDK in the frontend app. Enable source map uploads and release tracking.
- Install the Sentry SDK in the backend/API layer for server-side error capture.
Classification and Routing
- Classify every error by source: frontend (React errors, network failures) or backend (API errors, database errors, unhandled exceptions).
- Classify severity: critical (app crash, data loss), warning (degraded functionality), info (handled error logged for visibility).
- Route frontend errors to the website owner. Route backend errors to the backend owner.
Deduplication and Issue Creation
- On each new error group, create a GitHub Issue with: stack trace, error context, breadcrumbs, and affected URL.
- Deduplicate similar errors into a single Issue. Update the occurrence count and last-seen timestamp on each new hit.
- Tag every error with the deploy version to identify regressions from specific releases.
Spike Detection and Alerting
- Track errors per minute. Alert when the rate exceeds 3x baseline within a 5-minute window.
- Post to Slack immediately for critical errors. Trigger incident response on confirmed spikes.
Anti-patterns
- Creating a separate GitHub Issue for every occurrence of the same error. Deduplicate.
- Tracking only frontend or only backend. Both are required.
- Waiting for someone to check a dashboard to notice spikes. Alerts must be automatic.
- Returning generic error messages without stack traces or context.
Validation
- Sentry DSN is configured and receiving events from both frontend and backend.
- Source maps produce readable stack traces in production.
- A triggered test error creates a GitHub Issue with full context.
- Duplicate errors update the existing Issue instead of creating a new one.
- A simulated error spike fires a Slack alert within 5 minutes.
- Errors are tagged with the correct deploy version.
04 同仓库更多 Skills
writer-memory
Agentic memory system for writers - track characters, relationships, scenes, and themes
wiki
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
website-creation
Build production-quality SaaS websites with opinionated design presets. Use when creating any startup website. The user MUST pick a design style before building. Enforces shadcn/ui, Figma design principles, specific CSS values per style, and anti-AI-writing. Load alongside anti-ai-writing skill. LIGHT MODE ONLY.
visual-verdict
Structured visual QA verdict for screenshot-to-reference comparisons
visual-qa-pipeline
Screenshot every page with Playwright, feed to visual QA agent for design evaluation, report results to Slack. Use after every build phase to verify UI matches the chosen design preset. Integrates with the Playwright skill and the website-creation preset system.
verify
Verify that a change really works before you claim completion