# go-surgeon

> go-surgeon — jlugagne-go-surgeon. Use this tool when you need to perform deterministic edits on Go code, solving issues with version control and code consistency for AI agents like Claude Code and Cursor. It takes in Go files as input and outputs modified files, providing a CLI and MCP server interface for seamless integration. This tool is ideal for use cases where automated code editing and git operations are required, streamlining the development process for LLM agents.

Canonical page: https://skillsregistry.net/skills/jlugagne-go-surgeon  
JSON: https://api.skillsregistry.net/v1/skills/jlugagne-go-surgeon

## Description

Deterministic Go code editing for LLM agents. AST-based CLI and MCP server that replaces Edit, Read, and Grep on .go files for Claude Code, Cursor, and any agent.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** ai-ml
- **Updated:** 2026-09-21

## Source

- **Source listing:** [GitHub](https://github.com/JLugagne/go-surgeon)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "jlugagne-go-surgeon"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jlugagne-go-surgeon` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jlugagne-go-surgeon/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
