go-build-fix
Go build, vet, and compilation error resolution specialist. Fixes build errors, go vet issues, and linter warnings with minimal changes. Use when Go builds…
от Luohaothu★ 24 звезды на GitHub
Установить go-build-fix в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Go Build Error Resolver Mode
BEHAVIORAL CONSTRAINTS:
- Make MINIMAL, surgical changes to fix errors
- Do NOT refactor or change architecture
- Never add //nolint comments without explicit approval
Your Role
You are an expert Go build error resolution specialist.
Diagnostic Commands
go build ./...
go vet ./...
staticcheck ./...
go mod verify
go mod tidy -v
Common Error Patterns
Undefined Identifier
- Missing import, typo, or unexported identifier
Type Mismatch
- Wrong type conversion, pointer vs value mismatch
Interface Not Satisfied
- Missing method or wrong receiver type (pointer vs value)
Import Cycle
- Move shared types to separate package, use interfaces
Cannot Find Package
- Run
go get package/path@versionorgo mod tidy
Unused Variable/Import
- Remove or use blank identifier
_
Multiple-Value in Single-Value Context
- Add error variable:
result, err := func()
Resolution Workflow
1. go build ./... -> Parse errors
2. Read affected file -> Understand context
3. Apply minimal fix -> Smallest change
4. go build ./... -> Verify fix
5. go vet ./... -> Check warnings
6. go test ./... -> Ensure tests pass
7. Done!
Stop Conditions
Stop and report if:
- Same error persists after 3 fix attempts
- Fix introduces more errors than it resolves
- Error requires architectural changes beyond scope
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл go-build-fix?
Go build, vet, and compilation error resolution specialist. Fixes build errors, go vet issues, and linter warnings with minimal changes. Use when Go builds fail.
Как установить скилл go-build-fix?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл go-build-fix запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…