error-tracking

Diagnose production errors by tracking logs and system health.

21|2|Updated Nov 5, 2023
One-click install
npx skills add https://github.com/sgcarstrends/sgcarstrends --skill error-tracking-sgcarstrends
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-tracking
Source: https://github.com/sgcarstrends/sgcarstrends/tree/main/.claude/skills/error-tracking
Command: npx skills add https://github.com/sgcarstrends/sgcarstrends --skill error-tracking-sgcarstrends

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you track and debug errors in production by centralizing logs, enabling structured logging, and monitoring application health to reduce mean time to recovery.

Core Features & Use Cases

  • CloudWatch integration: Centralized error logs and health metrics for Lambda-driven apps.
  • Structured logging: Consistent log formats to simplify debugging and alerting.
  • Observability patterns: Quick guidance on viewing logs and performing log insights to identify errors and trends.
  • Use Case: When a production issue occurs, you can quickly locate error spikes, trace error messages, and correlate logs with requests.

Quick Start

Enable CloudWatch-based error tracking for all Lambda functions and start querying error logs for recent issues.

Frequently Asked Questions about error-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track and debug errors in AWS Lambda production environments?

Error tracking in Lambda involves centralizing logs through CloudWatch, implementing structured logging with a typed logger, and querying logs to identify error spikes and patterns. This Skill provides integration setup, logging patterns, and CloudWatch Insights workflows to reduce mean time to recovery.

What is structured logging and why does it matter for debugging?

Structured logging formats log entries consistently with typed fields, making them machine-readable and sortable. This simplifies filtering errors, correlating logs with requests, and setting up automated alerts—essential for production observability across distributed Lambda functions.

Can I use CloudWatch Logs to monitor application health and alert on errors?

Yes. CloudWatch Logs integrates with Lambda to centralize error logs and health metrics. This Skill shows how to query logs for error trends, set up alerting on error patterns, and quickly locate error messages when production issues occur.

How do I correlate logs with requests to trace production issues?

Structured logging with request IDs and typed fields enables log correlation. CloudWatch Insights queries let you filter logs by request, trace error chains across services, and identify the root cause of production failures in your Lambda application.

What observability patterns should I follow for Lambda-based applications?

This Skill covers viewing centralized logs, performing CloudWatch Insights queries, analyzing error patterns, and correlating logs with requests. These patterns help you quickly detect issues, monitor application health, and establish consistent debugging workflows.