GS/BS
← Standards directory
Formatting

gofmt.

Keep Go code in canonical form

List tracked Go files whose format differs from gofmt output. Have CI check that the list is empty and exclude generated files only by explicit policy.

Go

Use this standard

Agent prompt

Use gofmt in this repository to meet this standard: Keep Go code in canonical form. List tracked Go files whose format differs from gofmt output. Have CI check that the list is empty and exclude generated files only by explicit policy. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Read the agent skill ↗

Seikika package

The catalog has no verified package for this entry yet.

Adoption readiness

documented · 3 of 5 evidence checks passed.

  • Pass · Defined scope — Keep Go code in canonical form · Go
  • Pass · Upstream reference — https://pkg.go.dev/cmd/gofmt
  • Pass · Agent prompt — Use gofmt in this repository to meet this standard: Keep Go code in canonical form. List tracked Go files whose format differs from gofmt output. Have CI check that the list is empty and exclude generated files only by explicit policy. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
  • Missing · Tool command — No tool command is listed.
  • Missing · Seikika package — No Seikika package is listed.
How Seikika scores entries ↗

Primary source

gofmt documentation ↗