observability-enforcer

Enforce Sentry SDK integration and structured logging across frontend and backend codebases.

Updated Nov 25, 2025
One-click install
npx skills add https://github.com/filimorniga-ux/farmacias-vallenar-suit --skill observability-enforcer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-enforcer
Source: https://github.com/filimorniga-ux/farmacias-vallenar-suit/tree/main/.agent/skills/observability-sentry
Command: npx skills add https://github.com/filimorniga-ux/farmacias-vallenar-suit --skill observability-enforcer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures that code is instrumented for remote debugging by enforcing Sentry usage and structured logging instead of ad hoc console logs.

Core Features & Use Cases

  • Enforces Sentry error tracking across frontend and backend services.
  • Requires structured logging with contextual metadata (tags, extra fields) in error paths.
  • Automatically captures exceptions with breadcrumbs to aid incident reproduction.

Quick Start

Enable Sentry error tracking and structured logging across the application, replacing console logs and enriching errors with context.

Frequently Asked Questions about observability-enforcer

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

FAQPage Schema
How do I enforce Sentry error tracking and structured logging across my codebase?

Sentry instrumentation works by capturing exceptions alongside breadcrumbs and contextual data like tags and extra fields. It replaces ad hoc console logs with structured logging to provide reliable incident reproduction and remote debugging across frontend and backend codebases.

Why should I avoid console.error for business-critical errors in frontend and backend services?

You should avoid console.error for business-critical errors because it lacks remote observability capabilities. Enforcing Sentry instrumentation with structured logging and breadcrumbs ensures errors are captured with contextual data for reliable incident tracing and remote debugging.

How do I add breadcrumbs and contextual data to captured exceptions for incident reproduction?

You add breadcrumbs and contextual data by integrating the Sentry SDK and using structured logging with tags and extra fields. This enriches captured exceptions with the metadata needed to aid reliable incident reproduction during remote debugging.

Does Sentry observability instrumentation work for both frontend and backend codebases?

Yes, Sentry observability instrumentation applies to both frontend and backend codebases across web services. It enforces remote debugging by capturing exceptions with structured logging and breadcrumbs to ensure reliable incident tracing.

What is the best way to replace ad hoc console logs with structured logging for remote debugging?

The best way to replace ad hoc console logs is to enforce Sentry SDK integration with structured logging. This requires capturing exceptions with breadcrumbs and contextual metadata instead of console.error to ensure reliable remote debugging and incident tracing.