Go errors with context that survives every layer.
Guides agents in writing Go error handling with samber/oops so errors retain diagnostic context across application layers.
When to use it
Apply when using or adopting samber/oops, or when the codebase already imports github.com/samber/oops.
It changes how the agent writes Go error handling by requiring structured attributes, stable error messages, and context at package boundaries.
What you provide
Requires the Go toolchain; no version is specified.
The coding guidance uses the samber/oops error-handling library.
No additional actions listed.