/shavakan-commands:code-reviewfrom shavakan-commands
Run full AI code review cycle on current PR branch
Ships in shavakan-commands. Installing the plugin adds it to Claude Code.
Iteratively review local changes, fix issues, and re-review until clean.
Verify shavakan-agents:code-reviewer is installed:
if ! claude plugins list 2>/dev/null | grep -q "shavakan-agents"; then
echo "MISSING: shavakan-agents plugin required"
echo "Install: claude plugins add shavakan-agents@shavakan"
exit 1
fi
$ARGUMENTS
Track iterations:
iteration_count = 0issues_by_iteration = []max_iterations = 5Repeat until no actionable issues or max_iterations reached:
Run Review
iteration_countshavakan-agents:code-reviewer agent via Task toolCheck Exit Condition
iteration_count >= max_iterations → exit loop, report remaining issuesRecord Issues
issues_by_iteration[iteration_count]Fix Issues
git add -AContinue Loop
Output structured iteration report:
## Code Review Summary
**Iterations**: {iteration_count}
**Final Status**: {Clean | {N} issues remaining}
### Iteration Details
#### Iteration 1
- [file:line] type - description → Fixed
- [file:line] type - description → Fixed
#### Iteration 2
- [file:line] type - description → Fixed
### Statistics
- Total issues found: N
- Issues fixed: M
- Time per iteration: ~Xs average
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
12 commands in this plugin
/cleanupRepository Cleanup AuditComprehensive repository audit and cleanup (dead code, comments, docs, architecture, deps)/cleanup-architectureRefactor ArchitectureRefactor structure - split god objects, break circular deps, improve separation of concerns/cleanup-commentsRemove Comment NoiseRemove obvious comments, commented code, outdated TODOs - keep 'why' explanationsnpx claudepluginhub shavakan/claude-marketplace --plugin shavakan-commandsOther plugins' commands for the same job