Go Perf Code Review

Guides reviewing Go for performance — flagging premature pessimization (free wins: prealloc a sized slice, strings.Builder over += in a loop, bounded fan-out) while NOT demanding premature optimization on cold paths (unmeasured pools, unsafe for unproven speed), routing each flag to its deep skill, and wording feedback as a request for evidence not a change. Fires on "review this for performance", "should I flag this in review", "is this premature optimization". Routes the policy root to go-idiomatic-discipline, should-I to go-perf-methodology.

ctoth Updated 1 repo stars

File contents

ctoth/golang-skills-plugin commit e7005ad60a

Frequently asked questions

npx get-skill add ctoth/go-perf-code-review