go-build-resolver

Diagnose and fix Go build errors, vet warnings, and lint issues.

Updated Nov 17, 2025
One-click install
npx skills add https://github.com/itou-daiki/easy_stat_edu --skill go-build-resolver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-build-resolver
Source: https://github.com/itou-daiki/easy_stat_edu/tree/main/.agent/skills/go-build-resolver
Command: npx skills add https://github.com/itou-daiki/easy_stat_edu --skill go-build-resolver

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go projects frequently encounter compilation errors, vet warnings, and lint failures that block progress. This Skill provides targeted guidance to diagnose, fix, and validate changes with minimal, surgical edits.

Core Features & Use Cases

  • Diagnose and fix go build errors across multi-module repos and CI pipelines.
  • Resolve go vet warnings and staticcheck/golangci-lint issues with precise changes.
  • Reconcile module dependencies and ensure tidy, reproducible builds.

Quick Start

Run the diagnostic sequence to identify and fix Go build errors in your project.

Frequently Asked Questions about go-build-resolver

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

FAQPage Schema
How do I fix Go build errors and lint warnings with minimal code changes?

To fix Go build errors and lint warnings with minimal changes, run a diagnostic sequence of go build, go vet, staticcheck or golangci-lint, and go mod tidy, then apply surgical code edits and validate the results.

Why does my Go project fail in CI pipelines with vet warnings and staticcheck issues?

Go projects fail in CI pipelines with vet warnings and staticcheck issues due to compilation errors, static analysis failures, or untidy module dependencies that require targeted code fixes and validation.

What's the best way to resolve golangci-lint failures in a multi-package Go project?

The best way to resolve golangci-lint failures in multi-package Go projects is to diagnose issues with a surgical workflow that runs static analysis, applies minimal code changes, and validates the build results.

Does this approach work for fixing go mod tidy and module dependency issues in Go repos?

Yes, this approach works for fixing go mod tidy and module dependency issues by reconciling dependencies, ensuring tidy and reproducible builds, and validating the results across multi-module repositories.

How do I diagnose and fix go vet warnings without breaking existing code?

To diagnose and fix go vet warnings without breaking existing code, run the diagnostic tool, apply minimal surgical edits to resolve the specific warnings, and validate that the build still compiles successfully.

Can I use this workflow to fix staticcheck issues in module-based Go repositories?

Yes, you can use this workflow to fix staticcheck issues in module-based Go repositories by running the diagnostic sequence, applying precise minimal changes, and validating the compilation and analysis results.