Review Go OLAP code against project rules with Claude Code
Compare Go source to CLAUDE.md for naming, edge cases, tests, performance, and architecture.
中文Install in Claude Code
The OLAP workspace in Claude Code with Go sources, project conventions, and known inputs.
- Review `.claude/skills/review-code/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/review-code/` in your project and save the reviewed file as `.claude/skills/review-code/SKILL.md`.
- Start Claude Code from that project's root, then select `/review-code` in the slash menu.
Example task
A fictional CLAUDE.md says empty groups return an empty result. The current code takes the nonempty branch for `{file:'group.go',groups:[],expected:[],actual:'panic'}`.What to check
Record `{file:'group.go',issue:'empty group panics',expected:[]}` in the review. Recommend handling empty groups before that branch and adding a regression case. Review other naming, performance, and architecture findings against project conventions.
Original SKILL.md on GitHub · Updated
Frequently asked question
How should a Go review report an empty-group error?
Reference the project rule and the actual branch, describe the input and outcome, and give the boundary test alongside a concrete fix.