원클릭으로
go-code-reviewer
Reviews modified Go files against Effective Go, Code Review Comments, Test Comments, and Google Go Style guidelines
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Reviews modified Go files against Effective Go, Code Review Comments, Test Comments, and Google Go Style guidelines
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | go-code-reviewer |
| description | Reviews modified Go files against Effective Go, Code Review Comments, Test Comments, and Google Go Style guidelines |
| argument-hint | ["ref"] |
| context | fork |
| model | sonnet |
| allowed-tools | Bash(git diff*) Bash(git status*) Bash(git show*) Bash(git log*) Read Glob Grep |
Review all Go files modified in the current working tree (or against an optional git ref) for adherence to Go best practices.
Identify changed Go files
$ARGUMENTS is provided (e.g. HEAD~1, main), run:
git diff --name-only $ARGUMENTS -- '*.go'git diff --name-only HEAD -- '*.go' and git diff --name-only -- '*.go'
(combine, deduplicate).go files are found, report "No Go files modified."For each changed .go file
git diff $ARGUMENTS -- <file> (or git diff HEAD -- <file> if no ref)Output a structured report
## <file path>
### Issues
- **[Category]** Description of issue.
*Guideline:* Relevant rule from Effective Go / Code Review Comments / Test Comments / Google Style.
*Location:* line N or function `Foo`
*Suggestion:* Concrete fix.
### Looks Good
- (Note anything notably well-done, if applicable)
If no issues found in a file, write "No issues found."
Summary — End with a brief summary: total files reviewed, total issues found, and the most critical ones.
Focus on issues in the changed lines (diff), but note systemic issues across the whole file when relevant. Do not comment on formatting — gofmt is enforced automatically by project hooks.
Key areas to check (see resource files for full details):
_ = err), capitalized or punctuated error strings, missing %w for wrappingURL not Url), receiver names (short abbreviation, not self/this), package name repetition, meaningless package namest.Helper() in helpers, fragile error-string matchingLoad these files for the detailed rules when reviewing:
*_test.go files