/code-review
Reviews code changes, pull requests, and diffs for correctness, security, performance, and style. Use when the user submits a PR for review, asks to review a diff or code snippet, or requests a quality check on recent changes.
$ npx -y skills add 0xranx/golembot --skill code-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/code-review
Context preview
The summary Claude sees to decide when to auto-load this skill.
Reviews code changes, pull requests, and diffs for correctness, security, performance, and style. Use when the user submits a PR for review, asks to review a diff or code snippet, or requests a quality check on recent changes.
SKILL.md
code-review.SKILL.mdname: code-review
description: "Reviews code changes, pull requests, and diffs for correctness, security, performance, and style. Use when the user submits a PR for review, asks to review a diff or code snippet, or requests a quality check on recent changes."
Code Review Skill
Review submitted code changes across multiple quality dimensions and produce an actionable report.
Review Dimensions
1. **Correctness** — Is the logic correct? Are edge cases handled? 2. **Security** — Are there risks such as SQL injection, XSS, or sensitive data exposure? 3. **Performance** — Are there unnecessary loops, memory leaks, or N+1 queries? 4. **Readability** — Are names clear, is the structure reasonable, are comments needed? 5. **Consistency** — Does it follow the project's existing coding style?
Output Format
Review results are categorized by severity:
- **Must Fix** — Bug or security vulnerability
- **Should Fix** — Performance or readability issue
- **Nice to Have** — Optional improvement suggestion
Each review comment includes: file path, line number (if determinable), issue description, and suggested fix.
Example Review Comment
**Must Fix** — src/auth/login.ts:42
Issue: User-supplied `redirectUrl` is passed to `res.redirect()` without validation, enabling an open-redirect attack.
Suggested fix:
const allowed = ['/', '/dashboard', '/settings'];
const target = allowed.includes(redirectUrl) ? redirectUrl : '/';
res.redirect(target);
Workflow
1. The user provides code changes (diff, files, or pull request description) 2. Review file by file across all dimensions 3. Output the review report to the `reviews/` directory 4. Summarize: approved / changes requested / blocked
Behavioral Guidelines
- When pointing out an issue, provide a solution — don't just criticize
- Give positive feedback for well-written code
- Don't nitpick style debates (e.g., indentation, brace placement) unless they violate project conventions
Read more
name: code-review description: "Reviews code changes, pull requests, and diffs for correctness, security, performance, and style. Use when the user submits a PR for review, asks to review a diff or code snippet, or requests a quality check on recent changes."
Code Review Skill
Review submitted code changes across multiple quality dimensions and produce an actionable report.
Review Dimensions
1. **Correctness** — Is the logic correct? Are edge cases handled? 2. **Security** — Are there risks such as SQL injection, XSS, or sensitive data exposure? 3. **Performance** — Are there unnecessary loops, memory leaks, or N+1 queries? 4. **Readability** — Are names clear, is the structure reasonable, are comments needed? 5. **Consistency** — Does it follow the project's existing coding style?
Output Format
Review results are categorized by severity:
- **Must Fix** — Bug or security vulnerability
- **Should Fix** — Performance or readability issue
- **Nice to Have** — Optional improvement suggestion
Each review comment includes: file path, line number (if determinable), issue description, and suggested fix.
Example Review Comment
**Must Fix** — src/auth/login.ts:42 Issue: User-supplied `redirectUrl` is passed to `res.redirect()` without validation, enabling an open-redirect attack. Suggested fix: const allowed = ['/', '/dashboard', '/settings']; const target = allowed.includes(redirectUrl) ? redirectUrl : '/'; res.redirect(target);
Workflow
1. The user provides code changes (diff, files, or pull request description) 2. Review file by file across all dimensions 3. Output the review report to the `reviews/` directory 4. Summarize: approved / changes requested / blocked
Behavioral Guidelines
- When pointing out an issue, provide a solution — don't just criticize
- Give positive feedback for well-written code
- Don't nitpick style debates (e.g., indentation, brace placement) unless they violate project conventions
Any Agent × Any Provider × Anywhere. Connect Cursor, Claude Code, OpenCode, or Codex to Slack, Telegram, Discord, Feishu, DingTalk, WeCom, WeChat — with any LLM provider.
Repo: 0xranx/golembot
Other skills on golembot.
- /escalation
Escalate unresolvable or sensitive requests to a human agent by recording an escalation entry. Use when the user asks to speak to a human, the bot cannot answer confidently, the request involves financial, legal, or security concerns, a safety issue is detected, or the user is
Open skill - /general
Handle everyday conversation, answer questions, manage files, take notes, run scripts, and maintain persistent memory across sessions. Use when the user asks a general question, requests file operations, wants to brainstorm ideas, needs to-do tracking, asks you to remember
Open skill - /im-adapter
Format responses for instant messaging platforms such as Lark, DingTalk, WeCom, Slack, and Telegram. Controls response length, Markdown formatting, tone, group chat behavior, and the [PASS] protocol. Use when replying through an IM channel, composing a group chat message, or
Open skill - /kb-guide
Search, read, create, and update knowledge base entries via MCP-connected KB tools. Use when the user asks to look up documentation, find existing articles, check if docs exist on a topic, create a new KB entry, update an existing document, or when domain questions should be
Open skill - /message-push
Send proactive messages to IM groups or individual users via the gateway Send API. Use when the user says to send, post, notify, forward, or tell someone a message on Feishu, Slack, Telegram, Discord, DingTalk, or WeCom.
Open skill - /multi-bot
Coordinates responses between multiple GolemBot instances in a shared fleet. Use when the bot operates in a group chat with other bots, needs to decide whether to respond or pass, or must call a peer bot's API to fetch cross-domain data.
Open skill

