review-logging-patterns

review-logging-patterns is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 197 tokens per session (11,192 once invoked), scanned A, a copy of review-logging-patterns, MIT.

A code-review guide for improving logging and error messages in TypeScript and JavaScript applications. It covers structured event logging, setup with evlog, coverage checks, log delivery, and audit logs.

In plain words
What is it for?
Use it to review logging, set up evlog, document project conventions, measure entry-point coverage, improve errors, and gate logging regressions in CI.
Why use it?
It helps replace scattered console messages and vague errors with records that contain useful context for debugging and operations.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

Good fit Use it to review logging, set up evlog, document project conventions, measure entry-point coverage, improve errors, and gate logging regressions in CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/review-logging-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YuDefine/nuxt-supabase-starter --skill review-logging-patterns
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-logging-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/review-logging-patterns/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/review-logging-patterns)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/review-logging-patterns"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/review-logging-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-logging-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/review-logging-patterns"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/review-logging-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 197 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,192 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00197 $0.11192
Opus 5 $0.00098 $0.05596
Sonnet 5 $0.00039 $0.02238
Haiku 4.5 $0.00020 $0.01119

Measured 9d ago against content hash dc01bb591f0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

review-logging-patterns scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

export default async function fetch(request: Request) {
Origin

This is a copy

97% identical to review-logging-patterns — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

template/.claude/skills/review-logging-patterns/SKILL.md · 1,224 lines

How it starts

The opening of the file, as written. The whole thing — 1,224 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review logging patterns

Review and improve logging patterns in TypeScript/JavaScript codebases. Transform scattered console.logs into structured wide events and convert generic errors into self-documenting structured errors.

When to Use

  • Setting up evlog in a new or existing project (any supported framework)
  • Reviewing code for logging best practices
  • Converting console.log statements to structured logging
  • Improving error handling with better context
  • Configuring log draining, sampling, or enrichment

Quick Reference

Working on... Resource
Setup (CLI) evlog init — wire evlog into the project
Project conventions (CLI) evlog agents — write the evlog block into the project's AGENTS.md
Coverage map (CLI) evlog map — score dark entry points
CI gating (CLI) evlog map --min-score / --baseline — gate regressions
Wide events patterns references/wide-events.md
Error handling references/structured-errors.md
Code review checklist references/code-review.md
Drain pipeline references/drain-pipeline.md
Audit logs build-audit-logs skill + docs

Audit logs

For security-sensitive actions (auth, billing, admin, data export), use evlog's audit layer: a typed audit field on wide events, not a parallel logger. See the build-audit-logs skill for end-to-end setup (log.audit, withAudit, denials, auditEnricher, auditOnly, signed, mockAudit).

Read the full file on GitHub · 1,224 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 1,224 lines · 197 tokens per session scan A dc01bb591f0f

Subscribe to this mod's changes

review-logging-patterns is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed today), licensed MIT. It adds 197 tokens to every session and 11,192 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 97% identical to review-logging-patterns, differing in 12 lines, and is treated as a copy.