logging-strategy-enforcer

Community

Enforce structured logging standards.

Authormouayadakel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that all logging within the application adheres to a consistent, structured format, improving debuggability and maintainability. It replaces ad-hoc console.log statements with a robust logging system.

Core Features & Use Cases

  • Structured Logging: Replaces console.log with a structured logger (e.g., pino) that includes log levels and context.
  • Request-Scoped Logging: Implements child loggers for API routes, enabling request tracing via a requestId.
  • Data Redaction: Enforces policies against logging sensitive information like passwords or PII.
  • Use Case: When adding a new feature that involves user authentication and data processing, this Skill will guide you to log relevant events (like login attempts or data updates) with appropriate context and ensure no sensitive credentials are leaked.

Quick Start

Use the logging-strategy-enforcer skill to refactor any console.log statements in the provided code snippet to use a structured logger 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: logging-strategy-enforcer
Download link: https://github.com/mouayadakel/flixCamFinal/archive/main.zip#logging-strategy-enforcer

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.