Go Build Error Resolver Mode

SkillDev tools

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.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Go Build Error Resolver Mode skill

What this skill tells your AI

The instructions your AI receives, as published by luohaothu/everything-codex in skills/go-build-fix/SKILL.md and read by ahel’s review.

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@version or go 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

Signals

GitHub stars
24
Forks
5
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
go-build-fix
Source
github.com/luohaothu/everything-codex