aigw-contrib-go-style

Enforce Go coding patterns for Envoy AI Gateway PR contributions.

3|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/missBerg/envoy-skills --skill aigw-contrib-go-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aigw-contrib-go-style
Source: https://github.com/missBerg/envoy-skills/tree/main/ai-gateway/contributors/skills/aigw-contrib-go-style
Command: npx skills add https://github.com/missBerg/envoy-skills --skill aigw-contrib-go-style

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go coding patterns enforced by the lead maintainer (@mathetake) to improve PR acceptance and code quality across Envoy AI Gateway contributions.

Core Features & Use Cases

  • Enforces performance-focused patterns like minimizing allocations and using pointers where appropriate.
  • Standardizes Go error handling, JSON handling, and naming conventions to reduce review friction.
  • Provides guidelines for test structure, streaming patterns, and DRY code to accelerate PR reviews.

Quick Start

Run through the Go style guide to align your PRs with the maintainer's patterns for faster reviews.

Frequently Asked Questions about aigw-contrib-go-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What Go coding patterns improve PR acceptance for Envoy AI Gateway contributions?

Go coding patterns that improve PR acceptance for Envoy AI Gateway include minimizing allocations, appropriate pointer usage, standardized error wrapping, consistent JSON handling, and structured test conventions. These patterns reduce review friction and accelerate the merging process.

How do I structure Go error handling and JSON processing for code review?

To structure Go error handling and JSON processing for code review, wrap errors consistently and apply standardized JSON handling conventions. Following these specific patterns reduces review friction and aligns your contributions with the lead maintainer's expectations.

Does the Envoy AI Gateway require specific Go test structure and streaming patterns?

Yes, the Envoy AI Gateway requires specific Go test structure and streaming patterns. Contributors must use consistent test conventions and follow specific streaming guidelines to ensure stable, efficient code that satisfies the lead maintainer's code review criteria.

What is the best way to minimize Go allocations and use pointers in Envoy Gateway?

The best way to minimize Go allocations and use pointers in Envoy Gateway is to follow performance-focused patterns enforced by the lead maintainer. This involves guiding memory allocations and pointer usage carefully to generate efficient, high-quality PRs.

Why do I need to follow a specific Go style guide for AI Gateway contributions?

You need to follow a specific Go style guide for AI Gateway contributions because the lead maintainer enforces strict coding patterns to improve code quality. Adhering to these guidelines for naming, DRY code, and error style directly determines your PR acceptance.