code-logging

Community

Ship safe, structured logs and trace issues fast.

Authorjjmendezrodriguez
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents production debugging from turning into guesswork by standardizing structured logging, log levels, redaction, and request correlation across TypeScript services and browser analytics.

Core Features & Use Cases

  • Event-name-first structured logging: Log searchable domain events with context objects for consistent filtering and analytics.
  • Sensitive data protection: Redact secrets and avoid logging PII (emails, tokens, passwords, SSNs) to reduce breach risk.
  • Request correlation with requestId: Use logger.child() to propagate a shared requestId through request lifecycles.
  • Cross-platform observability: Pair server-side pino logs with PostHog capture and safe Edge Function shipping patterns.
  • Log level discipline: Use trace/debug/info/warn/error/fatal with clear paging guidance and operational intent.

Quick Start

Use the code-logging skill to tell the AI how to replace your console logging with pino event-name-first logs, add requestId correlation via logger.child, and configure redaction and PostHog session replay masking for your app.

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: code-logging
Download link: https://github.com/jjmendezrodriguez/jm-claude-plugin/archive/main.zip#code-logging

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 471,000+ vetted skills library on demand.