Golang code style, formatting and conventions. Use when writing code, reviewing style, configuring linters, writing comments, or establishing project standards.
91
91%
Does it follow best practices?
Impact
92%
1.06xAverage score across 3 eval scenarios
Passed
No known issues
Safe collection initialization and variable declarations
No nil slice returns
100%
100%
No nil map returns
100%
100%
No nil updated IDs slice
100%
75%
Capacity hint from input
100%
100%
No speculative overallocation
100%
100%
Named struct fields
100%
100%
var for zero-value locals
100%
100%
:= for non-zero locals
100%
100%
JSON test: empty slice not null
100%
100%
JSON test: empty map not null
100%
100%
Control flow clarity and function parameter design
Named booleans in CanAccess
0%
100%
Descriptive boolean names
0%
100%
No else after return in AssignPricingTier
100%
100%
Switch in HandleWebhookEvent
100%
100%
Switch default case
100%
100%
context.Context first
100%
100%
Options struct for SendNotification
100%
100%
Delivery options grouped
100%
100%
Default-then-override in AssignPricingTier
100%
100%
No ≥5 param function signatures
100%
100%
Variable init scope in if
0%
0%
String handling, code organization, and export discipline
strconv for int conversion
0%
0%
strings.Builder in Generate
100%
100%
No += in loop
100%
100%
fmt.Sprintf for float formatting
100%
100%
Internal helpers unexported
100%
100%
Minimal exported surface
100%
100%
Generic Contains function
100%
100%
Declaration order
100%
100%
Value params for small types
100%
100%
range over index loop
100%
100%
%q in error messages
100%
100%
b88f91d
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.