agentsclimarketplace

Logging structured

Skill JimmyBlanquet/project-forge/skills/core/logging-structured

SaaS factory: Next.js starters + spec-kit extensions + Ralph++ autonomous loop. Production-ready in 48h.

Install
npx -y skills add JimmyBlanquet/project-forge --skill logging-structured

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Structured logging with typed contexts for Next.js applications. JSON output for production, pretty-print for development.

SKILL.md

1.2 KB, as published. Nobody here has run it

Logging Structured Skill

Version: 1.0.0 | Category: Core | Production-ready: βœ…

Description

Structured logging with typed contexts for Next.js applications. JSON output for production, pretty-print for development.

Features

  • πŸ“ Structured JSON logging
  • 🎨 Pretty-print in development
  • 🏷️ Typed log contexts
  • ⚑ Performance tracking
  • πŸ” Request tracing
  • πŸ“Š Log levels (debug, info, warn, error)

Installation

cd skills/core/logging-structured && bash install.sh

Usage

import { createLogger } from '@/lib/logger'

const logger = createLogger({ module: 'api' })

logger.info('Processing request', { userId, action: 'login' })
logger.error('Failed to authenticate', { error })
logger.debug('Cache hit', { key, ttl: 300 })

Files

  • lib/logger/index.ts - Main logger factory
  • lib/logger/types.ts - TypeScript types
  • lib/logger/middleware.ts - Next.js middleware (optional)
  • lib/logger/classification.ts - Log classification helpers

Extracted from: internal production SaaS

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.