From code-review-plugin
Perform code review using the codex CLI. Reviews uncommitted changes or changes since a base branch. Triggers on: code review, review my code, review changes, codex review, review uncommitted, review branch.
npx claudepluginhub seekayel/agent-skills --plugin code-review-pluginThis skill uses the workspace's default tool permissions.
Performs automated code review using the `codex` CLI tool. Supports reviewing uncommitted local changes or comparing changes against a base branch.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Performs automated code review using the codex CLI tool. Supports reviewing uncommitted local changes or comparing changes against a base branch.
This skill uses the codex CLI to analyze code changes and provide feedback on:
Review all uncommitted changes in your working directory (staged and unstaged).
Command:
codex review --uncommitted
Use when:
Review all changes between your current branch and a base branch (typically main).
Command:
# First, generate a diff of changes since the base branch
codex review --base "${BASE_BRANCH}"
Use when:
Determine the type of review.:
See code examples above for how to run.
Summarize the codex review output for the user, highlighting:
User says: "Review my uncommitted changes"
Execute:
codex review --uncommitted
Sample output interpretation:
Codex found the following issues:
CRITICAL:
- Line 45 in src/auth.js: SQL query uses string concatenation - potential SQL injection vulnerability
WARNINGS:
- Line 23 in src/utils.js: Missing null check before accessing property
- Line 89 in src/api.js: Hardcoded timeout value should be configurable
SUGGESTIONS:
- Consider adding input validation in handleSubmit function
- The error messages could be more descriptive for debugging
User says: "Review my branch changes before I create a PR"
Execute:
# Determine base branch
BASE_BRANCH=$(git rev-parse --abbrev-ref origin/HEAD) # Almost always "main"
codex review --base ${BASE_BRANCH}
git status)git log main..HEAD)For very large changes, review specific files:
codex --approval-mode full-auto "Review changes in src/components/"
Before completing the review, ensure: