build-check

Runs Go format, vet, build, and race-detector tests on the Fabrik codebase.

22|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/handarbeit/fabrik --skill build-check-handarbeit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-check
Source: https://github.com/handarbeit/fabrik/tree/main/.claude/skills/build-check
Command: npx skills add https://github.com/handarbeit/fabrik --skill build-check-handarbeit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually running the full Go quality pipeline (formatting, static analysis, compilation, and race-detector tests) is repetitive and easy to skip steps. This Skill executes the entire build and quality check sequence in one pass and reports failures clearly. ## Core Features & Use Cases - Full Go Pipeline: Runs go fmt, go vet, go build, and go test -race across all packages in sequence. - Clear Failure Reporting: Surfaces any build, vet, or test failures and lists files changed by formatting. - Use Case: Before committing changes to the Fabrik codebase, invoke this Skill to confirm the code compiles, passes static analysis, and all tests pass under the race detector. ## Quick Start Ask the assistant to run the build-check skill to format, vet, build, and test the Go codebase with the race detector.

Frequently Asked Questions about build-check

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

FAQPage Schema
How do I run the full Go build and test pipeline at once?

Invoke the build-check skill, which runs go fmt, go vet, go build, and go test -race across all packages in sequence. It reports any failures and lists files modified by formatting.

How to check Go code for race conditions in tests?

Run go test with the -race flag to enable the race detector, which this skill includes as its final step. It executes all tests while monitoring for concurrent data access issues.

Does this skill work with any Go project?

The commands use ./... so they apply to all packages in the current Go module. It was written for the Fabrik codebase but works in any standard Go module layout.

What happens when go fmt changes files during the check?

The skill lists any files that were modified by go fmt so you can review the formatting changes. You should then commit those changes along with your code edits.

Why does go vet fail even when the build succeeds?

go vet performs static analysis checks beyond compilation, such as suspicious constructs, incorrect printf formats, and unreachable code. Fix the reported issues and rerun the pipeline to confirm a clean pass.