What problem does it solve?
This Skill helps you replace scattered console logging and generic error throwing with structured evlog wide events and self-documenting structured errors that include clear context, root cause, and actionable fixes.
Core Features & Use Cases
- Console.log consolidation into wide events: Detects console.log spam and guides you to accumulate request/business context with log.set() and emit once per request or job.
- Structured error transformation: Converts new Error(...) / throw Error(...) patterns into createError(...) objects with message, why, fix, optional link, and preserved cause.
- Production-grade drain/enrichment setup guidance: Recommends correct drain pipeline usage, batching/retry/overflow safeguards, and enrichment/sampling/route service mapping across many frameworks.
- Framework-specific guidance: Covers setup and usage patterns for Nuxt, Next.js, SvelteKit, Nitro, TanStack Start, React Router, NestJS, Express, Hono, Fastify, Elysia, Cloudflare Workers, and standalone TypeScript.
Quick Start
Ask an AI to review the codebase for console.* usage and generic error patterns, then propose concrete evlog replacements and a framework-appropriate setup for draining, enrichment, and structured errors.