go-build-fix

Fix Go build errors and vet issues with minimal changes.

24|5|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Luohaothu/everything-codex --skill go-build-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-build-fix
Source: https://github.com/Luohaothu/everything-codex/tree/main/skills/go-build-fix
Command: npx skills add https://github.com/Luohaothu/everything-codex --skill go-build-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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.

Core Features & Use Cases

  • Minimal, surgical fixes to Go build errors, vet warnings, and linter issues.
  • Supports fast verification by running go build, go vet, and staticcheck.
  • Use case: when a repository fails to build after dependency upgrades, this Skill identifies root causes and applies smallest necessary changes.

Quick Start

Run the Go build-fix skill on a project with a failing build to apply minimal, surgical changes and verify the build passes.

Frequently Asked Questions about go-build-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Go build errors after a dependency upgrade?

Fix Go build errors after a dependency upgrade by applying minimal, surgical changes to resolve compilation failures. This workflow identifies root causes and applies the smallest necessary edits to restore the build.

What is the best way to resolve Go vet warnings and staticcheck issues?

Resolving Go vet warnings and staticcheck issues involves applying minimal, surgical fixes to the codebase. This approach targets linter warnings and vet problems directly, ensuring the smallest necessary changes are made.

Can I use this to fix Go compilation failures in a CI workflow?

Yes, you can fix Go compilation failures in a CI workflow. The deterministic workflow runs go build, go vet, and staticcheck, applying necessary edits and verifying fixes to ensure the build passes.

How does a minimal change workflow verify Go build fixes?

A minimal change workflow verifies Go build fixes by running go build, go vet, and staticcheck after applying edits. This deterministic process ensures the compilation errors are resolved with the smallest necessary changes.

Why does my Go project fail to build after updating dependencies?

Your Go project may fail to build after updating dependencies due to breaking changes in the new versions. This workflow identifies the root causes of the compilation failures and applies minimal, surgical changes to resolve them.

Does this approach support resolving linter warnings with minimal edits?

Yes, resolving linter warnings with minimal edits is supported. The workflow applies surgical fixes to staticcheck and go vet issues, ensuring only the smallest necessary changes are made to pass the checks.