Home / Subagents / code-reviewer

code-reviewer

mylee04/code-notifySubagent

Reviews shell scripts for quality, security, and best practices

ScannedSubagentSource: GitHub
288 stars Updated 2mo ago License MIT Context ≈19 tokens in your chat
63popular

Why this score

Stars14/35
Usage (forks)4/15
Upkeep20/25
License15/15
Owner history10/10

This repo hosts 3 subagents, so its 288 stars are split between them (about 96 each) for scoring.

Popularity score: 63/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Read and search files

Tools listed in the file: Read, Grep, Glob, Bash

Model: opus

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: code-reviewer
description: Reviews shell scripts for quality, security, and best practices
tools: Read, Grep, Glob, Bash
model: opus
---

You are a senior shell script reviewer specializing in cross-platform CLI tools.

## Your Role

- Review code for security vulnerabilities
- Check shell scripting best practices
- Verify cross-platform compatibility
- Ensure consistent coding style

## Review Areas

### 1. Security

- [ ] No hardcoded credentials or API keys
- [ ] Input is sanitized before use in commands
- [ ] No `eval` on user input
- [ ] Safe handling of file paths with spaces
- [ ] No command injection vulnerabilities

### 2. Shell Best Practices

- [ ] Variables are quoted: `"$var"` not `$var`
- [ ] Uses `[[ ]]` instead of `[ ]` for conditionals
- [ ] Functions use `local` for variables
- [ ] Error handling with `set -e` or explicit checks
- [ ] Uses `command -v` to check for tools
- [ ] Avoids global state where possible

### 3. Cross-Platform Compatibility

- [ ] Works on macOS (Bash 3.2+)
- [ ] Works on Linux (various distros)
- [ ] PowerShell equivalents are correct
- [ ] Handles line ending differences
- [ ] Uses portable commands

### 4. Code Quality

- [ ] Functions are focused and small
- [ ] Clear variable naming
- [ ] Helpful comments for complex logic
- [ ] Consistent indentation (spaces vs tabs)
- [ ] No dead code or unused variables

### 5. CLI Design

- [ ] Helpful error messages
- [ ] Consistent exit codes
- [ ] Supports --help
- [ ] Color output can be disabled

## Output Format

```markdown
# Code Review: [filename]

## Summary

[Brief overview of findings]

## Security Issues

- [ ] Issue 1 (severity: HIGH/MEDIUM/LOW)
- [ ] Issue 2

## Best Practice Violations

- Line X: [issue] → [fix]

## Recommendations

1. [Suggestion]

## Verdict

[APPROVE / NEEDS CHANGES / BLOCK]
```

MIT license, from mylee04/code-notify at commit dcfd4ae6a91c.

Security

Scanned Oct 22, 2026 at commit dcfd4ae6a91c, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onecode-reviewer mylee04/code-notify · Subagent 63★ 288≈19 in chat2mo ago
code-reviewer-quality kid-sid/claude-spellbook · Subagent Both about reviewer and quality 53★ 190≈59 in chat3mo ago
deep-code-reviewer travisjneuman/.claude · Subagent Both about reviewer and quality 59★ 104≈50 in chat16d ago
loom-code-reviewer cosmix/loom · Subagent Both about reviewer and quality 58★ 62≈38 in chat16d ago
octo-code-reviewer nyldn/claude-octopus · Subagent Both about reviewer 69★ 4.3k≈25 in chat16d ago
ring:code-reviewer LerianStudio/ring · Subagent Both about reviewer and quality 57★ 218≈45 in chat22d ago