aigw-contrib-add-api
Installation
SKILL.md
Add API Types
Add or modify CRD types in the AI Gateway API. API changes must be in a separate PR from implementation — this is enforced by reviewers.
CRD-to-File Mapping
| CRD | Type File | FilterAPI Impact |
|---|---|---|
| AIGatewayRoute | api/v1alpha1/ai_gateway_route_types.go |
Yes — routes affect filterapi.Config |
| AIServiceBackend | api/v1alpha1/ai_service_backend_types.go |
Yes — schema/backend config |
| BackendSecurityPolicy | api/v1alpha1/backend_security_policy_types.go |
Yes — auth config |
| GatewayConfig | api/v1alpha1/gateway_config_types.go |
Indirect — ExtProc container config |
| MCPRoute | api/v1alpha1/mcp_route_types.go |
Yes |
| QuotaPolicy | api/v1alpha1/quota_policy_types.go |
Yes |
Step 1: Define the Go Type
Add the field to the appropriate *_types.go file: