Skip to content
Back to skills

Log

ASecurity

Audit and improve logging practices. Review logging for a specific feature, audit the entire project, or set up logging infrastructure.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
data-ainextjs

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add ByeongminLee/nextjs-claude-code --skill log --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Log?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Log
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/byeongminlee-log/badge)](https://www.skillsdirectory.com/skills/byeongminlee-log)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: log
description: Audit and improve logging practices. Review logging for a specific feature, audit the entire project, or set up logging infrastructure.
argument-hint: "[feature-name] | --audit | --setup"
context: fork
---

## Strategy check

Before routing, check if `spec/LOG_STRATEGY.md` exists:
- If NOT exists AND mode is NOT `--setup` AND mode is NOT `--audit`:
  → Output: "No LOG_STRATEGY.md found. Run `/log --setup` to configure your logging strategy, or `/log --audit` for a baseline audit." → **STOP**
- `--setup` and `--audit` modes proceed without strategy file.

## Routing

Parse `$ARGUMENTS` to determine mode:

- **`--setup`**: Spawn `log-auditor` agent (haiku) with:
  ```
  Set up logging infrastructure for this project.
  Ask the user about their logging preferences (library, structured logging, correlation IDs, PII redaction, console.log blocking).
  Write the result to spec/LOG_STRATEGY.md.
  Provide setup guidance for the chosen library.
  If log-analysis skill is not installed, suggest: "npx nextjs-claude-code skill-add log-analysis"
  ```

- **`--audit`**: Spawn `log-auditor` agent (haiku) with:
  ```
  Audit logging practices across the entire project.
  Generate a project-wide logging health report.
  Do not modify any code.
  ```

- **Feature mode** (default): Spawn `log-auditor` agent (haiku) with:
  ```
  Audit and fix logging for feature: [feature-name from $ARGUMENTS]
  Read spec/LOG_STRATEGY.md for rules.
  Propose fixes and apply after user confirmation.
  ```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data-ai →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.