golang-tooling
БесплатноБез исполняемых скриптовНе проверенGo developer toolchain — gopls LSP diagnostics, linting, formatting, and vet. Use when setting up Go tooling, running linters, or integrating gopls with…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Golang Tooling Standards
Priority: P1 (HIGH)
Verification Workflow (Mandatory)
After writing or modifying Go code, run in order:
mcp__ide__getDiagnostics— gopls real-time errors and type warnings (requires gopls-lsp plugin)go vet ./...— catch printf mismatches, unreachable code, shadowed variablesgoimports -w .— organize imports and format in one passgolangci-lint run ./...— run full linter suite (if.golangci.ymlpresent)
Tool Overview
| Tool | Purpose | When to Use |
|---|---|---|
gopls |
LSP: diagnostics, completion, hover | Always (IDE integration) |
go vet |
Static analysis — correctness bugs | After every edit |
goimports |
Import sorting + gofmt |
Before commit |
golangci-lint |
Aggregated linters (errcheck, staticcheck, etc.) | CI / pre-commit |
staticcheck |
Advanced static analysis | Large codebases |
golangci-lint Setup
Configure via .golangci.yml at repo root. Recommended linters:
errcheck— enforce error handlingstaticcheck— bug detection beyond go vetgovet— shadow, compositesrevive— style enforcementgosec— security issues
See golangci.yml example.
gopls Integration
gopls powers mcp__ide__getDiagnostics. Install:
go install golang.org/x/tools/gopls@latest
Anti-Patterns
- No
gofmtalone: Usegoimports— it formatting AND imports. - No manual import sorting: Let
goimportsmanage order. - No skipping go vet: Run it — catches real bugs
gofmtmisses. - No broad lint disable: Fix root cause instead of
//nolintcomments.
References
Установить golang-tooling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл golang-tooling?
Go developer toolchain — gopls LSP diagnostics, linting, formatting, and vet. Use when setting up Go tooling, running linters, or integrating gopls with Claude Code.
Как установить скилл golang-tooling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл golang-tooling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic