senior-logging-pattern

Community

Structured, traceable API logging for production.

Authorlgsalinasp7
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Traditional logs in distributed systems often lack context, making it hard to diagnose incidents quickly and reliably.

Core Features & Use Cases

  • Full-context logging: automatically captures request IDs, user/tenant identifiers, endpoints, and timing for each API call.
  • Correlation and metrics: enables end-to-end tracing across services and useful metrics like duration and resource IDs.
  • Sanitization and safety: automatic redaction of sensitive data to protect privacy and compliance.
  • Use Case: Integrate into new or migrated API routes to replace ad hoc logging and improve incident response times.

Quick Start

Integrate the structured logging pattern into your API route by initializing a full-context log at the start and logging success or error with context.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: senior-logging-pattern
Download link: https://github.com/lgsalinasp7/appInstituto/archive/main.zip#senior-logging-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.