skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
netresearch/go-development-skill114 installs

go-development

Use when developing Go applications, implementing job schedulers or cron (netresearch/go-cron, ofelia), Docker API integrations, LDAP/AD clients, building resilient services with retry logic, setting up Go test suites (unit/integration/fuzz/mutation), or running golangci-lint.

How do I install this agent skill?

npx skills add https://github.com/netresearch/go-development-skill --skill go-development
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides comprehensive Go development guidelines, including patterns for LDAP integration, Docker client usage, testing, and CI/CD pipelines. It promotes security best practices such as constant-time authentication, proper resource isolation, and dependency management. No malicious patterns or security risks were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerfail

    7/15 files flagged

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

Go Development Patterns

Core Principles

Type Safety

  • Avoid: interface{} (use any), sync.Map, scattered type assertions, reflection
  • Prefer: Generics [T any], errors.AsType[T] (Go 1.26), concrete types
  • Run go fix ./... after upgrades

Consistency

  • One pattern per problem domain
  • Match existing codebase patterns
  • Refactor holistically or not at all
  • Config precedence: defaults < config file < env vars < flags

Testing

  • Build tags isolate test tiers: unit (default), integration, e2e
  • Always use t.Parallel(), t.Helper(), table-driven subtests
  • Use log/slog directly -- never wrap it in custom Logger interfaces

Conventions

  • Naming: ID, URL, HTTP (not Id, Url, Http) — not tool-enforced (ST1003 is off by default)
  • Error wrapping: fmt.Errorf("failed to process: %w", err)

References

Git hooks: ls lefthook.yml 2>/dev/null && lefthook install || echo "Add lefthook — see references/lefthook-template.md"

Load as needed:

ReferencePurpose
references/architecture.mdPackage structure, state mutation completeness
references/logging.mdStructured logging with log/slog, migration from logrus
references/cron-scheduling.mdgo-cron patterns: named jobs, runtime updates, resilience
references/resilience.mdPointer to go-cron's built-in retry/circuit-breaker/timeout wrappers
references/docker.mdDocker client patterns, buffer pooling
references/ldap.mdLDAP/Active Directory integration
references/testing.mdBuild tags, resource isolation, race gotchas
references/linting.mdgolangci-lint v2, staticcheck
references/api-design.mdEnum/status defensive handling
references/fuzz-testing.mdGo fuzzing patterns, security seeds
references/contracts-and-invariants.mdContracts, invariants, property tests
references/mutation-testing.mdGremlins configuration, test quality measurement
references/makefile.mdStandard Makefile interface for CI/CD
references/modernization.mdgo fix modernizers and their build-tag trap, errors.AsType[T], b.Loop
references/dependencies.mdUpgrades: go get -u all, majors, build-set scoping
references/lefthook-template.mdReady-to-use lefthook.yml for Go project git hooks
references/branch-protection.mdRuleset watermark: three-ruleset gate, bypass modes
references/reusable-workflows.mdReusable Actions workflow callers, permission propagation, release-gate outputs
references/single-build-release.mdSingle-build release: cross-compile once, reuse for release+container
references/awesome-go-submission.mdawesome-go submission: CI-parsed PR body, name collisions

Quality Gates

Run before completing any review:

golangci-lint run --timeout 5m    # Linting
go vet ./...                       # Static analysis
staticcheck ./...                  # Additional checks
govulncheck ./...                  # Vulnerability scan
go test -race ./...                # Race detection

Stdlib Vulnerability Fixes

When govulncheck reports stdlib vulnerabilities: check fix version via vuln.go.dev, update go X.Y.Z in go.mod, run go mod tidy.


Contributing: Submit improvements to https://github.com/netresearch/go-development-skill

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/netresearch/go-development-skill/go-development">View go-development on skillZs</a>