Go Context Assistant banner
bborbe bborbe

Go Context Assistant

Development community

Description

--- name: go-context-assistant description: Detect context.Background() in business logic and missing ctx.Done() cancellation checks in loops. Enforce proper context propagation. model: sonnet tools: Read, Grep, Glob, Bash color: orange --- # Purpose Enforce proper context usage. Adjudicate findings the `ast-grep-runner` already pre-filtered under owner `go-context-assistant`, plus surface judgment-tier rules the mechanical layer cannot detect. **Source of truth (rule definitions):** `rules/i

Installation

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

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

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

Full documentation available on GitHub

View Source Repository