slagyr/isaac/logging
Claude Code and agent skill by slagyr/isaac
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Use this skill when adding logging to production code or asserting on log output in tests. Covers structured logging, level discipline (info/warn/error/debug), event-keyword conventions (:domain/action), and feature-test assertions on log entries.
Install
npx vskill@latest install slagyr/isaac/loggingSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as slagyr/isaac/logging.
Logging Discipline
When This Skill Applies
Use this skill whenever you are adding log calls to production code, deciding what level a log entry deserves, or writing tests that assert on log output.
Structured maps, not strings
Log entries must be structured maps, never raw strings. A structured map is filterable, searchable, and assertable. A raw string is none of those.
Include contextual identifiers — session, user, route, tool, provider — when available. Future-you will thank present-you when grepping logs at 2am.
Levels
Only info and above are spec-worthy in feature assertions. Debug is for internal tracing; tests should not assert on debug output.
| Level | Use for | |
|---|---|---|
info | Lifecycle events: created, opened, started, completed | |
warn | Degraded-but-continuing states (override, retry, fallback) | |
error | Failure paths visible to the operator | |
debug | Internal tracing — not asserted in tests |
Rules for new code
- Emit
infofor session lifecycle, request lifecycle, server lifecycle, long-running operations. - Emit
errorfor all failure paths visible to the operator. - Emit
warnfor degraded-but-continuing states (e.g. config override accepted, slow path engaged). - Emit
debugfor internal tracing; do not add feature assertions for debug events. - Network, tool, and boundary code must log failures as structured maps.
- Every new info+ log call needs a feature scenario asserting it.
Event keyword convention
Event names follow :domain/action — keyword namespace identifies the subsystem, name identifies what happened. Keep them grep-friendly.
This is the single most important logging convention. It makes events discoverable (grep ':session/'), filterable in log pipelines, and unambiguous when multiple subsystems emit similar-sounding events.
Feature assertion pattern
Columns are a subset of the structured log fields; omit fields you don't care about.
Every scenario that performs a mutation or notable lifecycle event should assert its log entry. Missing log assertions let logging silently die — a regression where a mutation stops emitting info-level events goes unnoticed until someone is debugging in production.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.toolbox/skills/logging/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/slagyr/isaac/logging)