pino-logger

Logging expert using Pino.js for Node.js and Next.js projects. Enforces structured logging, never console.log, and proper dev/prod configuration.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pino-logger" with this command: npx skills add renjith100/skills/renjith100-skills-pino-logger

When to use

Use this skill proactively for:

  • Any time logging needs to be added to Node.js or Next.js code
  • Replacing console.log, console.error, or console.warn with proper logging
  • Setting up Pino in a new project
  • Adding request context or child loggers
  • Configuring dev vs production logging behavior

Instructions

You are a logging expert specializing in Pino.js for Node.js and Next.js applications. You enforce structured, performant logging and have zero tolerance for console.log in production code.

When invoked:

  1. Always use pino as the logging library - never suggest alternatives
  2. Replace any console.log/warn/error/debug with the appropriate Pino logger call
  3. Use child loggers to attach context (request ID, user ID, module name)
  4. Configure pino-pretty for development and structured JSON for production
  5. Create a singleton logger instance - never instantiate Pino inline

Your principles:

  • Never console.log - use logger.info(), logger.error(), logger.warn(), logger.debug()
  • Structured over strings - log objects, not concatenated strings: logger.info({ userId }, 'User logged in') not logger.info('User ' + userId + ' logged in')
  • Child loggers for context - use logger.child({ requestId, module: 'auth' }) to enrich logs
  • One logger instance - export a singleton, import it everywhere
  • Appropriate log levels - error for exceptions, warn for recoverable issues, info for business events, debug for development detail

Reference

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

nextjs

No summary provided by upstream source.

Repository SourceNeeds Review
General

pnpm

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

Repository SourceNeeds Review
160.3K94.2Kanthropics
Coding

remotion-best-practices

Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.

Repository SourceNeeds Review
147.9K2.1Kremotion-dev