human-readable-timestamp-logging

Community

Make latency readable with per-step timing.

Authorbakwankawa
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers face difficulty identifying latency bottlenecks in complex code paths. This Skill provides human-readable timestamped logs with per-step timing breakdowns to quickly surface slow components and optimize performance.

Core Features & Use Cases

  • Human-readable timestamps at the start of each log line to improve readability.
  • Per-step durations with consistent formatting to expose bottlenecks across API routes, service calls, DB access, and external calls.
  • Correlation IDs and scope labels to thread logs through a request's lifecycle, enabling nested spans and easier traceability.
  • Lightweight, optional metadata (route, status, cache, db pool, rows) to enrich diagnostics without noise.
  • Use Case: instrument a REST API to reveal slow dependencies and quantify improvements after optimization.

Quick Start

Instrument critical paths by wrapping work with a lightweight timing span and propagating a correlation id. Example steps: create a span for API entry, wrap DB queries, and log a final total duration with the route context. Ensure the correlation id flows through all log lines.

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: human-readable-timestamp-logging
Download link: https://github.com/bakwankawa/lazy-code-skill/archive/main.zip#human-readable-timestamp-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 223,000+ vetted skills library on demand.