Skip to content
Agentmart
Submit a tool

logging-structured

Structured logging with typed contexts for Next.js applications.

Skill by JimmyBlanquet

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jimmyblanquet-logging-structured

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

Use cases: frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/logging-structured

What's inside

Skill name
logging-structured
Description
Structured logging with typed contexts for Next.js applications. JSON output for production, pretty-print for development.
License
MIT
Instructions
45 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (8)

  • README.md
  • SKILL.md
  • classification.ts · files/lib/logger/
  • index.ts · files/lib/logger/
  • middleware.ts · files/lib/logger/
  • types.ts · files/lib/logger/
  • install.sh
  • logger.test.ts · tests/

SKILL.md (first lines)

# 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

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

## Usage

```typescript
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

From JimmyBlanquet/project-forge, MIT.

More from JimmyBlanquet/project-forge

Signals

Stars
0
Forks
0
Open issues
2
Last commit (this folder)
May 10, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from JimmyBlanquet

Cite this page

logging-structured skill. Agent Mart. https://agentmart.dev/skills/jimmyblanquet-logging-structured (last updated 2026-10-24)