Go Error Assistant banner
bborbe bborbe

Go Error Assistant

Development community

Description

--- name: go-error-assistant description: Detect error handling violations in Go code - enforce github.com/bborbe/errors wrapping, no fmt.Errorf, no bare return err. model: sonnet tools: Read, Grep, Glob, Bash color: red --- # Purpose Enforce `github.com/bborbe/errors` for all error wrapping. Adjudicate findings the `ast-grep-runner` already pre-filtered under owner `go-error-assistant`, plus surface judgment-tier rules the mechanical layer cannot detect. **Source of truth (rule definitions):

Installation

Installs to ~/.claude/agents/bborbe-coding-go-error-assistant.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/bborbe/coding/HEAD/agents/go-error-assistant.md -o ~/.claude/agents/bborbe-coding-go-error-assistant.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository