lang-go

lang-go is a skill for Claude Code, Codex from paruff/uFawkesAI. It costs 40 tokens per session (940 once invoked), scanned A, original, MIT.

A working guide for building and checking Go programs. Go is a programming language; the guide covers its tools, project layout, linting, type-related checks, tests, and modules.

In plain words
What is it for?
It helps run lint checks, code analysis, tests, coverage reports, dependency commands, and preflight checks in Go projects.
Why use it?
It gives Go projects consistent commands and file conventions for local work and continuous integration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit It helps run lint checks, code analysis, tests, coverage reports, dependency commands, and preflight checks in Go projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paruff/ufawkesai/lang-go
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add paruff/uFawkesAI --skill lang-go
Clone the repo
git clone --depth 1 https://github.com/paruff/uFawkesAI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lang-go

README.md
[![agentmods](https://agentmods.dev/badge/skills/paruff/ufawkesai/lang-go/github.svg)](https://agentmods.dev/skills/paruff/ufawkesai/lang-go)
Your own site
<a href="https://agentmods.dev/skills/paruff/ufawkesai/lang-go"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/lang-go/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lang-go

Your own site · 80×15
<a href="https://agentmods.dev/skills/paruff/ufawkesai/lang-go"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/lang-go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00940
Opus 5 $0.00020 $0.00470
Sonnet 5 $0.00008 $0.00188
Haiku 4.5 $0.00004 $0.00094

Measured 6d ago against content hash d24c75663f3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

lang-go scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/lang-go/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Language — Go

Load trigger: "load lang-go skill" > Stack: Go 1.22+, golangci-lint, go vet, go test, go test -cover, go mod Token cost: Low

Toolchain Reference

Gate Tool Command Config file
Lint golangci-lint golangci-lint run ./... .golangci.yml
Vet go vet go vet ./... none
Test go test go test ./... none
Coverage go test go test -cover -coverprofile=coverage.out ./... none
Coverage report go tool go tool cover -func=coverage.out none
Preflight shell ./scripts/preflight.sh scripts/preflight.sh

File Layout Convention

cmd/
  [service-name]/
    main.go             ← entry point only; no business logic
internal/
  services/             ← business logic
  handlers/             ← HTTP handlers (net/http or chi/gin)
  models/               ← data types and interfaces
  utils/                ← pure utility functions
pkg/
  [shared-packages]/    ← packages safe to import externally
go.mod
go.sum

CI Gate Commands (ci-quality.yml)

- name: Set up Go
  uses: actions/setup-go@v5
  with:
    go-version: "1.22"

- name: Lint
  uses: golangci/golangci-lint-action@v6
  with:
    version: latest

- name: Vet
  run: go vet ./...

- name: Test with coverage
  run: |
    go test -coverprofile=coverage.out ./...
    COVERAGE=$(go tool cover -func=coverage.out | grep total | awk '{print $3}' | tr -d '%')
    if (( $(echo "$COVERAGE < 80" | bc -l) )); then
      echo "Coverage ${COVERAGE}% below 80% threshold"
      exit 1
    fi

Read the full file on GitHub · 119 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 119 lines · 40 tokens per session scan A d24c75663f3f

Subscribe to this mod's changes

lang-go is a skill published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 17d ago), licensed MIT. It adds 40 tokens to every session and 940 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

review-coverage

Use when the user asks for a coverage review, test coverage analysis, coverage gap analysis, uncovered code review, or wants to know what new/changed Go code is missing tests. Runs go test -coverprofile against the resolved scope and reports uncovered functions in changed Go files, grouped by package, with severity…

paultyng/skill-issue · 73 tokens

Go Testing Patterns

Go testing with testing package, table-driven tests, subtests, benchmarks, test fixtures, httptest, and testify assertions.

PramodDutta/qaskills · 29 tokens

migrate-to-shoehorn

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

mxyhi/ok-skills · 48 tokens

golang-testing

Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.

Fmarzochi/EGC · 37 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

timeouts-and-async

Make Ginkgo specs interruptible and test asynchronous behavior — SpecContext/context.Context cancellable nodes, NodeTimeout/SpecTimeout/GracePeriod, the --timeout flag, Abort and SIGINT behavior, Gomega Eventually/Consistently (the func(g Gomega) form, .WithContext), and the defer GinkgoRecover() rule for goroutines.…

onsi/ginkgo · 106 tokens