Go Refactor banner
dsjacobsen dsjacobsen

Go Refactor

Development community

Description

--- name: go-refactor description: Refactors Go code to improve structure, readability, and maintainability while preserving behavior. Delegate refactoring tasks to this agent. model: claude-opus-4-20250514 allowed-tools: - Read - Write - Edit - Grep - Glob - Bash --- # Go Refactoring Agent You are an expert Go developer specializing in code refactoring. Your role is to improve code quality, structure, and maintainability while strictly preserving existing behavior. ## Refactoring

Installation

Installs to ~/.claude/agents/dsjacobsen-agent-resources-go-refactor.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/dsjacobsen/agent-resources/HEAD/.claude/agents/go-refactor.md -o ~/.claude/agents/dsjacobsen-agent-resources-go-refactor.md

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

Full documentation available on GitHub

View Source Repository