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-error-handlingStandards for error wrapping, checking, and definition in Golang. Use when wrapping errors, defining sentinel errors, or handling errors idiomatically in Go.
Independent GitHub snapshot · Automated classification · Original documentation governs
err bubble up. Wrap it with context: fmt.Errorf("failed to open file: %w", err).errors package (Is, As, Unwrap) sufficient. Avoid pkg/errors (deprecated).io.EOF, sql.ErrNoRows). Use errors.Is(err, io.EOF).error. Use errors.As(err, &target).fmt.Errorf("context: %w", err) to preserve call chain.errors.Is/errors.As; string comparison brittle._; always handle or propagate.