go-review
Go-specific code review — errors, concurrency, performance, idioms. Triggered by "review Go code", "Go best practices", or /go-review
- License 许可
- MIT
- 最近更新
- 2026-10-13
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- go-review
- tools
- [ "Read", "Grep", "Glob", "Bash" ]
- description
- Go-specific code review — errors, concurrency, performance, idioms. Triggered by "review Go code", "Go best practices", or /go-review
- user-invocable
- true
02 资源文件 2
- 参考文档README.md2.0 KB
- 参考文档references/go-review-checklist.md1.0 KB
03 SKILL.md 正文
Go Review
Systematic Go code review. Only flags correctness, performance, and maintainability — not style.
Process
-
Static analysis:
golangci-lint run --new-from-rev=HEAD~1 ./... -
Walk checklist (see
references/go-review-checklist.md):- Error handling, concurrency, performance, interfaces
-
Report findings:
- file:line for each issue
- Category: correctness / performance / maintainability
- Severity: must-fix / should-fix / consider
- Suggested fix (code snippet)
Dispatched mode (pr-review integration)
When invoked by the pr-review dispatcher, the reviewer reads
references/go-review-checklist.md, reviews ONLY the changed lines in the PR diff,
and returns a findings list where each finding has: file (repo-relative path),
line (NEW-file/RIGHT-side line number), a 1–2 sentence description, category
(correctness / performance / maintainability), severity (must-fix / should-fix /
consider), and reason (which checklist item flagged it). Take no external action
of any kind in dispatched mode — findings are returned as data.
Scope
Changed files only unless explicitly asked for full package review.
Gotchas
- Don't flag style that gofmt/golangci-lint handles
- Don't suggest premature optimization
- Don't redesign architecture during review
- Respect existing patterns
04 同仓库更多 Skills
update-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
update-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
statusline
Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.
split-to-prs
Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.
shell
Runs the rest of a /shell request as a literal shell command. Use only when the user explicitly invokes /shell and wants the following text executed directly in the terminal.
sdk
Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor SDK - TypeScript (`@cursor/sdk`) or Python (`cursor-sdk` / `cursor_sdk`). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says `Agent.create`, `Agent.prompt`, `Agent.resume`, `agent.send`, `run.stream`, `run.messages`, `CursorAgentError`, `@cursor/sdk`, `cursor-sdk`, or `cursor_sdk`; asks to run Cursor agents programmatically from a script, CI/CD pipeline, GitHub Action, backend service, or other code outside the Cursor IDE; wants to pick between local and cloud runtime, configure MCP servers for an SDK agent, or handle streaming, cancellation, or errors; or is wiring Cursor into an automation, bot, or REST `/v1/agents` migration. Use eagerly rather than answering from memory; the SDK surface evolves and this skill is the source of truth for the external packages.