write-logs - Standardize Go logging using log/slog at boundaries
Standardizes Go logging with log/slog by emitting logs once at outermost boundaries and defining layer, severity, vocabulary, and redaction rules.
Tags
Updated: 2026-09-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Verify logging boundaries
- Evaluate intermediate logging criteria
- Enforce layer logging restrictions
- Assign log levels and attributes
- Verify sensitive data redaction
- Run static code verification
- Report logging implementation status
Inputs
- Target Go process and boundary definitions
- Optional reference documents
- Repository AGENTS.md or CLAUDE.md guidelines
Outputs
- Logging implementation report
- Refactored Go log code
Requirements
- Go 1.27 runtime
- log/slog package
- connectrpc.com/connect v1.21.0
- go vet and grep tools
