onsi

29 mods across 2 repositories, 11k stars between them.

gleak

25

onsi/gomega

Skill Claude CodeCodex

Skill "gleak" from onsi/gomega, covering gleak: detecting leaked goroutines, import, the canonical pattern, gotchas and haveleaked([ignoring...]).

2.4k 4d ago A 126 tokens original MIT

gmeasure

26

onsi/gomega

Skill Claude CodeCodex

Benchmark and measure Go code with gmeasure — an Experiment groups named Measurements, recorded via RecordValue/RecordDuration/MeasureDuration or repeated Sample/SampleValue/SampleDuration with SamplingConfig, timed inline with a Stopwatch, summarized through GetStats/Stats (StatMin/Max/Mean/Median/StdDev…

2.4k 4d ago A 129 tokens original MIT

gstruct

27

onsi/gomega

Skill Claude CodeCodex

Deep, partial matching of nested structs, slices, maps, and pointers with gstruct — MatchAllFields/MatchFields/Fields, MatchAllElements/MatchElements/Elements (idFn), MatchAllKeys/MatchKeys/Keys, PointTo, and the IgnoreExtras/IgnoreMissing/IgnoreUnexportedExtras/AllowDuplicates options, plus Ignore()/Reject(). Use…

2.4k 4d ago A 104 tokens original MIT

matchers

28

onsi/gomega

Skill Claude CodeCodex

The complete catalog of Gomega's built-in matchers, grouped by category — equivalence (Equal/BeEquivalentTo/BeComparableTo/BeIdenticalTo/BeAssignableToTypeOf), presence (BeNil/BeZero/BeEmpty), truthiness (BeTrue/BeFalse/BeTrueBecause), errors (HaveOccurred/Succeed/MatchError), channels (Receive/BeClosed/BeSent)…

2.4k 4d ago A 163 tokens original MIT

overview

29

onsi/gomega

Skill Claude CodeCodex

The Gomega mental model for writing assertions in Go — the Expect/Ω notation, matchers-are-values, the multi-return error idiom, synchronous vs asynchronous (Eventually/Consistently) assertions, and a map of the whole library including the gstruct/ghttp/gexec/gbytes/gleak/gmeasure sub-libraries. Use this first when…

2.4k 4d ago A 104 tokens original MIT