Error tracking

From aj-geddes/useful-ai-prompts · View interactive version

Error tracking is an AI agent skill from the GitHub repository aj-geddes/useful-ai-prompts. Implement error tracking with Sentry for automatic exception monitoring, release tracking, and performance issues. Use when setting up error monitoring, tracking bugs in production, or analyzing application stability.

How to use this skill

Skill file

Error Tracking

Table of Contents

Overview

Set up comprehensive error tracking with Sentry to automatically capture, report, and analyze exceptions, performance issues, and application stability.

When to Use

Quick Start

Minimal working example:

npm install -g @sentry/cli
npm install @sentry/node @sentry/tracing
sentry init -d

Reference Guides

Detailed implementations in the references/ directory:

| Guide | Contents |

|---|---|

| Sentry Setup | Sentry Setup, Node.js Sentry Integration |

| Express Middleware Integration | Express Middleware Integration |

| Python Sentry Integration | Python Sentry Integration |

| Source Maps and Release Management | Source Maps and Release Management, CI/CD Release Creation |

| Custom Error Context | Custom Error Context |

| Performance Monitoring | Performance Monitoring |

Best Practices

✅ DO

❌ DON'T

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.