executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
golang-loggingStandards for structured logging and observability in Golang. Use when adding structured logging or tracing to Go services.
Independent GitHub snapshot · Automated classification · Original documentation governs
type ctxKey string) for storing and retrieving request-scoped logger attributes.log.Fatal: Avoid terminating apps inside libraries. Return errors instead; only main() should handle process exit.log/slog (Recommended Stdlib): Stdlib since Go 1.21. Fast, structured, zero-dep.uber-go/zap): Production-grade structured logger for high-throughput microservices.main() with standard JSON output.logger.FromContext(ctx)) or constructor injection.See slog setup and usage examples
context.WithValue(ctx, "logger", l) with raw string keys.main() should call os.Exit.