Skip to content
Development
Command

/review

Run when user calls /review. Analyzes local changes and runs a comprehensive code review using the agent-reviewer prompt.

From plugin
open-agent-hub
9913 skills5 agents3 commands6 MCP
> /plugin marketplace add guanyang/open-agent-hub
> /plugin install open-agent-hub@open-agent-hub

Command definition

review.md
name: review
description: Run when user calls /review. Analyzes local changes and runs a comprehensive code review using the agent-reviewer prompt.
type: command

Slash Command: /review

Core Objective

Inspect modified files in the workspace and execute a thorough code review.

Steps for the Agent

1. **Gather Modified Files**: Run `git diff` (unstaged) and `git diff --cached` (staged) to identify modified files. 2. **Load Review Guide**: Read the [agent-reviewer](../agents/agent-reviewer.md) prompt template. 3. **Analyze Code Diffs**: Evaluate all modifications against:

  • Correctness & Safety.
  • Security (OWASP Top 10, credential exposures).
  • Performance (N+1 queries, resource leaks).
  • Maintainability.

4. **Output Report**: Present a structured report:

  • 🛑 **[Critical]**: Blocker issues.
  • ⚠️ **[Warning]**: Highly recommended improvements.
  • 💡 **[Suggestion]**: Readability enhancements.
  • Print the `<review-compaction>` loop state.
@guanyang
Ships withopen-agent-hub

A lightweight, zero-dependency CLI tool to manage and activate capabilities for AI coding assistants (such as Claude Code, Cursor, Trae, etc.).

991105 skills5 agents6 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
991
Star history of guanyang/open-agent-hub on GitHub, a chart by star-history.com

Other commands on open-agent-hub.

commit

commit

Command

Run when user calls /commit or asks to generate a commit message. Analyzes staged changes and writes a structured commit message.

test-tdd

test-tdd

Command

Run when user calls /test-tdd. Scans modified files, locates their corresponding unit/integration test suites, and runs them.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command