Run a code review for React + Next.js projects using the frontend-reviewer agent
Identifies changed files in the current branch, delegates a code review to the stack's reviewer agent, and reports findings categorised as blockers, warnings, or suggestions.
/review # Review all changed files vs base branch
/review path/to/file.ts # Review a specific file
/review --staged # Review only staged changes
Identify changed files. Run git diff --name-only against the base
branch (typically main or master) to build the list of files to review.
If --staged is passed, use git diff --cached --name-only instead. If a
specific file is provided, review only that file.
Gather context. Read each changed file in full. Also read:
.agent-pipeline/implement.md if it exists (implementation notes).agent-pipeline/test.md if it exists (test results).claude/context/features/ if one is
linked in the pipeline context.Delegate to the stack's reviewer agent. Use the Task tool to invoke the reviewer sub-agent with:
git diff output)Collect review results. The reviewer agent analyses each file and returns findings in the following structure:
## Code Review Results
**Verdict:** APPROVED | NEEDS_CHANGES | BLOCKED
### Blockers (must fix)
- [file:line] Description of the issue
### Warnings (should fix)
- [file:line] Description of the concern
### Suggestions (nice to have)
- [file:line] Description of the improvement
Write pipeline artefact. If running as part of a sequential pipeline,
write results to .agent-pipeline/review.md.
The reviewer agent checks for:
| Verdict | Meaning | |------------------|------------------------------------------------------| | APPROVED | No blockers. Warnings and suggestions are advisory. | | NEEDS_CHANGES | At least one blocker must be resolved before merge. | | BLOCKED | Unresolvable architectural concern requiring user decision. |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer