By zircote
Claude Code plugin for Go development with gopls LSP integration, 14 automated hooks for linting (golangci-lint), formatting (gofmt), testing, and security scanning (govulncheck)
A Claude Code plugin providing comprehensive Go development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install gopls LSP (ensure ~/go/bin is in PATH)
go install golang.org/x/tools/gopls@latest
# Install development tools
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install golang.org/x/vuln/cmd/govulncheck@latest
go install golang.org/x/tools/cmd/goimports@latest
The plugin configures gopls for Claude Code via .lsp.json:
{
"go": {
"command": "gopls",
"args": [],
"extensionToLanguage": { ".go": "go" },
"transport": "stdio"
}
}
Capabilities:
| Hook | Trigger | Description |
|---|---|---|
go-fmt-on-edit | **/*.go | Auto-format with goimports/gofmt |
go-vet-on-edit | **/*.go | Run go vet |
go-build-check | **/*.go | Compile check |
go-lint-on-edit | **/*.go | Lint with golangci-lint |
| Hook | Trigger | Tool Required | Description |
|---|---|---|---|
go-sec | **/*.go | gosec | Security vulnerability scanning |
govulncheck | **/go.mod | govulncheck | Known vulnerability check |
go-todo-fixme | **/*.go | - | Surface TODO/FIXME comments |
| Tool | Installation | Purpose |
|---|---|---|
gopls | go install golang.org/x/tools/gopls@latest | LSP server |
go | golang.org | Go compiler |
| Tool | Installation | Purpose |
|---|---|---|
golangci-lint | go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | Comprehensive linting |
govulncheck | go install golang.org/x/vuln/cmd/govulncheck@latest | Vulnerability scanning |
goimports | go install golang.org/x/tools/cmd/goimports@latest | Import management |
go-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # gopls configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ ├── hooks.json # Hook definitions
│ └── scripts/
│ └── go-hooks.sh
├── tests/
│ └── sample_test.go # Test file
├── CLAUDE.md # Project instructions
└── README.md # This file
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub zircote/lsp-marketplace --plugin go-lspPersistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions and surfaces them when relevant.
Pure filesystem-based memory system for Claude Code with custom ontology support
Rust language server
Comprehensive agent library featuring 115+ specialized Opus 4.5 agents organized by domain
Detect AI-generated writing patterns and build authentic voice profiles through adaptive interviews and computational stylistics
Go language coding standards, best practices, and testing patterns
Go language discipline: conventions, idioms, toolchain, and LSP-powered code intelligence
Go language server
Go development following Google Go style guide with Go 1.25+ features and best practices
Automatically format Go files with gofmt after Write/Edit/MultiEdit operations
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.