LogoClawIndex
CasesSkillsAbout
LogoClawIndex

golang-patterns - Idiomatic patterns for Go development

Provides idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable applications.

Tags

Updated: 2026-09-29
Gosoftware developmentcode reviewrefactoringerror handlingconcurrencypackage design

Capabilities

Apply simple Go designUse useful zero valuesHandle errors with contextDesign focused interfaces

Typical Inputs

Go source codeGo package structureGo module design

Typical Outputs

Go implementation guidanceCode review findingsRefactoring recommendations

What this skill does

  • Apply simple Go design
  • Use useful zero values
  • Handle errors with context
  • Design focused interfaces
  • Manage goroutine cancellation
  • Structure Go packages
  • Use dependency injection
  • Optimize slice allocation

Inputs

  • Go source code
  • Go package structure
  • Go module design
  • Code review context
  • Refactoring context

Outputs

  • Go implementation guidance
  • Code review findings
  • Refactoring recommendations
  • Package design recommendations

Requirements

    Source

    • Spec: SKILL.md

    ClawIndex

    OpenClaw Skills & Use Case Index

    ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

    Index

    Skills·
    Cases

    Meta

    About·
    Disclaimer·
    Email·
    GitHub
    © 2026 ClawIndex All Rights Reserved.