Review code at $ARGUMENTS across 6 dimensions (Correctness, Security, Performance, Readability, Testing, Architecture).
Steps
-
If $ARGUMENTS empty, default to current git changes or working directory.
-
Read $SKILL_DIR/references/review-dimensions.md and $SKILL_DIR/references/issue-classification.md .
-
Detect languages in target. Load matching guides from $SKILL_DIR/references/languages/ .
-
Read $SKILL_DIR/references/workflow-guide.md for phased review procedure.
-
Execute 4-phase workflow: Collect Context, Quick Scan, Deep Review (per dimension), Generate Report.
-
For each dimension, apply rules from $SKILL_DIR/references/rules/ .
-
Classify issues by severity: Critical, High, Medium, Low, Info.
-
Generate report using $SKILL_DIR/assets/review-report-template.md .
-
Present summary with severity counts, top findings, and actionable recommendations.
Error Handling
-
Empty target: review current git changes or prompt user for path.
-
Workspace too large (>200 files): prompt user to narrow scope.
-
Missing language guide: apply general best practices.