aigw-contrib-go-style

Installation
SKILL.md

Go Style Guide (AI Gateway)

This guide captures the Go coding patterns enforced by the lead maintainer (@mathetake). Following these patterns is the single biggest factor in getting PRs accepted on the first or second review cycle.

Performance Patterns

These are the most common reasons PRs get rejected.

No Allocations Inside Loops

Construct maps, slices, and reusable objects once outside the loop:

// BAD — allocates a new map every iteration
for _, item := range items {
    m := make(map[string]string)
    // ...
}
Installs
2
GitHub Stars
3
First Seen
Apr 27, 2026
aigw-contrib-go-style — missberg/envoy-skills