File contents Golang Tooling Standards
Priority: P1 (Operational)
Verification Workflow (Mandatory)
After writing or modifying Go code, run in order:
mcp__ide__getDiagnostics — gopls real-time errors and type warnings (requires gopls-lsp
plugin)
go vet ./... — catch printf mismatches, unreachable code, shadowed variables
goimports -w . — organize imports and format in one pass
golangci-lint run ./... — run full linter suite (if .golangci.yml present)
Tool Overview
Tool
Purpose
When to Use
gopls
LSP: diagnostics, completion, hover
Always (IDE integration)
go vet
Static analysis — correctness bugs
After every edit
goimports
Import sorting + gofmt
Before commit
golangci-lint
Aggregated linters (errcheck, staticcheck, etc.)
CI / pre-commit
staticcheck
Advanced static analysis
Large codebases
golangci-lint Setup
Configure via .golangci.yml at repo root. Recommended linters:
errcheck — enforce error handling
staticcheck — bug detection beyond go vet
govet — shadow, composites
revive — style enforcement
gosec — security issues
See golangci.yml example.
gopls Integration
gopls powers mcp__ide__getDiagnostics. Install:
go install golang.org/x/tools/gopls@latest
Anti-Patterns
No gofmt alone : Use goimports — it does formatting AND imports.
No manual import sorting : Let goimports manage the order.
No skipping go vet : Run it — catches real bugs gofmt misses.
No broad lint disable : Fix the root cause instead of //nolint comments.
References
Source: li-lance/android-seraphim-framework — distributed by TomeVault .
1 --- 2 name: li-lance-android-seraphim-framework-golang-tooling 3 description: Golang Tooling Standards 4 --- 5 6 # Golang Tooling Standards 7 8 ## **Priority: P1 (Operational)** 9 10 ## Verification Workflow (Mandatory) 11 12 After writing or modifying Go code, run in order: 13 14 1. **`mcp__ide__getDiagnostics`** — gopls real-time errors and type warnings (requires gopls-lsp 15 plugin) 16 2. **`go vet ./...`** — catch printf mismatches, unreachable code, shadowed variables 17 3. **`goimports -w .`** — organize imports and format in one pass 18 4. **`golangci-lint run ./...`** — run full linter suite (if `.golangci.yml` present) 19 20 ## Tool Overview 21 22 | Tool | Purpose | When to Use | 23 |-----------------|--------------------------------------------------|--------------------------| 24 | `gopls` | LSP: diagnostics, completion, hover | Always (IDE integration) | 25 | `go vet` | Static analysis — correctness bugs | After every edit | 26 | `goimports` | Import sorting + `gofmt` | Before commit | 27 | `golangci-lint` | Aggregated linters (errcheck, staticcheck, etc.) | CI / pre-commit | 28 | `staticcheck` | Advanced static analysis | Large codebases | 29 30 ## golangci-lint Setup 31 32 Configure via `.golangci.yml` at repo root. Recommended linters: 33 34 - `errcheck` — enforce error handling 35 - `staticcheck` — bug detection beyond go vet 36 - `govet` — shadow, composites 37 - `revive` — style enforcement 38 - `gosec` — security issues 39 40 See [golangci.yml example](references/golangci.md). 41 42 ## gopls Integration 43 44 `gopls` powers `mcp__ide__getDiagnostics`. Install: 45 46 ```bash 47 go install golang.org/x/tools/gopls@latest 48 ``` 49 50 ## Anti-Patterns 51 52 - **No `gofmt` alone**: Use `goimports` — it does formatting AND imports. 53 - **No manual import sorting**: Let `goimports` manage the order. 54 - **No skipping go vet**: Run it — catches real bugs `gofmt` misses. 55 - **No broad lint disable**: Fix the root cause instead of `//nolint` comments. 56 57 ## References 58 59 - [golangci.yml example](references/golangci.md) 60 61 --- 62 > Source: [li-lance/android-seraphim-framework](https://github.com/li-lance/android-seraphim-framework) — distributed by [TomeVault](https://tomevault.io). 63 <!-- tomevault:4.0:skill_md:2026-06-16 -->
tomevault-io/skills-registry/tree/main/li-lance--android-seraphim-framework--golang-tooling commit 1890ffbe5b
Frequently asked questions How do I install the Li Lance Android Seraphim Framework Golang Tooling skill? Run npx skillmds@latest add tomevault-io/li-lance-android-seraphim-framework-golang-tooling in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Li Lance Android Seraphim Framework Golang Tooling skill do? Golang Tooling Standards It is listed under Coding & Dev Tools on SkillMD.
Is Li Lance Android Seraphim Framework Golang Tooling safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Li Lance Android Seraphim Framework Golang Tooling? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Li Lance Android Seraphim Framework Golang Tooling free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Li Lance Android Seraphim Framework Golang Tooling? tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.