simple-logger-usage

Installation
SKILL.md

simple-logger-usage

Expert guide for adding structured logging to any TypeScript application using @alcyone-labs/simple-logger.

When to Apply

  • Adding logging to new or existing TypeScript project
  • Need consistent logging across files (frontend/backend/services)
  • Want typed logs with metadata/data separation
  • Need scoped loggers per file/module
  • Building Chrome MV3 extensions with service workers

Golden Rules

  • Create file-scoped logger at top of each file using useLogging
  • Pass contextual metadata (service, file, component, requestId)
  • Separate message (human-readable) from data (structured)
  • Use data.metadata for tags/labels, data.* for structured fields
  • Never pass secrets/passwords in logs
Related skills
Installs
2
GitHub Stars
1
First Seen
Mar 1, 2026