Development

Go Development

Go (Golang) development patterns following best practices for cloud-native applications. Covers project structure, error handling, concurrency patterns, testing strategies, Docker containerization, LDAP integration, and resilience patterns. By Netresearch.

Latest release v1.11.1

Install

Pick whichever fits your project — they all reach the same skill.

  1. Claude Code via this marketplace
    /plugin install go-development@netresearch-claude-code-marketplace
  2. npx any Agent Skills CLI
    npx skills add https://github.com/netresearch/go-development-skill --skill go-development

    Universal Agent Skills CLI from skills.sh — works across Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI and 30+ more agents.

  3. composer require PHP project, as a package
    composer require netresearch/go-development-skill

    Requires netresearch/composer-agent-skill-plugin — resolves Agent Skills as Composer dependencies in PHP projects, auto-discovers skills, generates AGENTS.md.

  4. composer skills:add PHP project, direct source
    composer skills:add github:netresearch/go-development-skill

    Provided by netresearch/composer-agent-skill-plugin — pins skill repos directly without going through Packagist, locks them in composer.skills.lock.

What you can do with it

  • Architecture Patterns: Package structure best practices, job abstraction hierarchy, configuration management (5-layer precedence), middleware chain pattern
  • Cron Scheduling: go-cron patterns — named jobs, runtime updates, per-entry context, resilience wrappers, observability, FakeClock testing
  • Resilience Patterns: Retry logic with exponential backoff, graceful shutdown, context propagation, error handling strategies
  • Docker Integration: Optimized Docker client patterns, buffer pooling for performance, container execution patterns
  • LDAP Integration: Active Directory patterns, user and group management, authentication flows
  • Testing Strategy: Test pyramid (unit/integration/e2e), build tags for test isolation, table-driven tests, comprehensive coverage
  • Performance Optimization: Buffer pooling, connection reuse, lazy initialization, context deadlines
  • Observability: Prometheus metrics integration, structured logging, error tracking

What it expects in your project

Tags

  • development
  • devops