Skip to content
Agentmart
Submit a tool

code-review

Review changed code for correctness, logic bugs, edge cases, security issues, and clarity.

Skill by Nomadcxx

IndexedBSD-3-Clause★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nomadcxx-code-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Review changed code for correctness, logic bugs, edge cases, security issues, and clarity. Use when asked to review a diff, PR, or specific file.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/code-review

What's inside

Skill name
code-review
Description
Review changed code for correctness, logic bugs, edge cases, security issues, and clarity. Use when asked to review a diff, PR, or specific file.
License
BSD-3-Clause
Instructions
59 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

---

## Code Review

Review changed code systematically. Always read the PR description first.

### Review Order

Review in this order: correctness first, then logic bugs and edge cases, then security, then naming and clarity, then style. Never lead with style.

### Correctness

Does the code do what the PR description says? Are error return values checked? Are resources (files, connections, goroutines) cleaned up? Are there off-by-one errors?

### Logic Bugs and Edge Cases

Test these cases mentally:
- Empty input, nil/null, zero values
- Negative numbers, very large inputs
- Concurrent access, timeout expiry, unexpected ordering

Ask: what happens if this function is called twice? What happens if the network drops here?

### Security Issues

Flag these immediately:
- Injection (SQL, shell, HTML)
- Secrets hardcoded or logged
- Authentication bypass, missing authorisation check
- Unbounded resource consumption (no limit on loop or allocation)
- Path traversal

### Naming and Clarity

Can you understand the intent from the name alone? Are variable names a single letter where a word would help? Are function names verbs? Are boolean names positive (avoid `notDisabled`)?

### Substance vs Style

Style (flag only if project convention violated): formatting, whitespace, import ordering.

Substance (always flag): logic, correctness, security.

### Flag vs Suggest vs Praise

- **Flag (must fix):** correctness bugs, security issues, crashes, data loss
- **Suggest (nice to fix):** clarity improvements, alternative approaches
- **Praise (no action needed):** clever solutions, good test coverage, well-chosen names

### Matching Intent

The most important question is: does this change do what was intended? If no, flag the mismatch first.

### Go-Specific Points

- Error wrapping: `fmt.Errorf("...: %w", err)`
- Deferred close on error path
- Unexported fields in exported structs
- Goroutine cleanup on context cancellation

From Nomadcxx/smolbot, BSD-3-Clause.

More from Nomadcxx/smolbot

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Mar 31, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
BSD-3-Clause
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Nomadcxx

Cite this page

code-review skill. Agent Mart. https://agentmart.dev/skills/nomadcxx-code-review (last updated 2026-10-24)