aiwf:error-tracking

Implement Sentry v8 error tracking and performance monitoring across project services.

1|Updated Jun 21, 2025
One-click install
npx skills add https://github.com/moonklabs/aiwf --skill aiwf-error-tracking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aiwf:error-tracking
Source: https://github.com/moonklabs/aiwf/tree/main/skills/error-tracking
Command: npx skills add https://github.com/moonklabs/aiwf --skill aiwf-error-tracking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces comprehensive Sentry v8 error tracking and performance monitoring across project services, ensuring errors are captured with context and visible in dashboards, not merely logged to console.

Core Features & Use Cases

  • Sentry integration patterns: proper initialization, error capturing, performance tracing
  • Workflow and cron support: track errors in schedules and workflows
  • Guardrail rule: ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.

Quick Start

Initialize Sentry in service instrumentation (e.g., blog-api/notifications) as shown in the Skill, and test with provided endpoints to verify error capture and performance traces.

Frequently Asked Questions about aiwf:error-tracking

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

FAQPage Schema
How do I capture all errors across my services with Sentry?

Error capturing with Sentry requires universal v8 integration initialization across all project services. The Skill enforces comprehensive error tracking patterns for controllers, routes, workflows, and cron jobs, ensuring errors surface in Sentry dashboards with contextual metadata, user tagging, and environment data instead of being logged only to console.

What's the best way to track errors in scheduled tasks and workflows?

Sentry v8 workflow and cron support captures scheduled task errors with performance tracing. The Skill implements standardized error handling patterns that integrate cron jobs and workflows into your error monitoring, guaranteeing visibility into failures that would otherwise go undetected in background processes.

Can I monitor database performance alongside error tracking?

Yes. Sentry v8 performance monitoring tracks database queries through dedicated performance spans. The Skill enforces database performance instrumentation as part of comprehensive monitoring, capturing query execution alongside errors to identify bottlenecks and failures in data layer operations.

Do I need to set up Sentry initialization separately for each service?

Sentry initialization must occur in service instrumentation for each project service. The Skill provides standardized initialization patterns that you apply consistently—such as in blog-api or notifications services—to ensure all services report errors and performance data to the same Sentry project.

Why should errors go to Sentry instead of just logging to console?

Console logs are ephemeral and lack aggregation; Sentry provides persistent, searchable error dashboards with automatic grouping, context, and performance traces. The Skill enforces this distinction by ensuring all errors reach Sentry with standardized metadata, making errors visible, actionable, and traceable across your infrastructure.

What metadata should I include when capturing errors in my controllers and routes?

Sentry error capture requires contextual metadata including user identification, environment tagging, and request context. The Skill enforces standardized metadata patterns across controllers and routes, ensuring errors include relevant identifiers and environment details so errors are traceable and debuggable in dashboards.