review
Perform a code review.
Arguments: $ARGUMENTS (optional scope)
- commit: Review only staged files for commit
- pr [number]: Review all files changed in the current PR (or specific PR number)
- all: Review the entire codebase
- If no argument provided:
- If in a PR branch: defaults to 'pr'
- Otherwise: defaults to 'commit'
Phase 1: Scope Determination
- Determine scope based on $ARGUMENTS
- If reviewing a PR, fetch PR details and linked issue with
gh pr viewandgh issue view
Phase 2: Review
- Run available linting tools for detected languages
- Check against project standards from CLAUDE.md (80 char limit, whitespace, naming)
- Review for: correctness, performance, security, maintainability, test coverage
- If PR: check alignment with target issue requirements and CI/CD status with
gh pr checks
Phase 3: Synthesis
- Organise findings by priority:
- Critical issues (must fix)
- Important improvements (should fix)
- Suggestions (consider fixing)
- Positive observations
For each issue, provide location, description, suggested fix, and rationale.
More from seabbs/skills
analyzing-research-papers
Expert methodology for analyzing and summarizing research papers, extracting key contributions, methodological details, and contextualizing findings. Use when reading papers from PDFs, DOIs, or URLs to create structured summaries for researchers.
227taskfile-automation
Expert guidance for using Task (taskfile.dev) automation tool to discover and execute project development commands
18commit
Create a well-structured commit with conventional format and proper git identity
6issue-summary
Summarise a GitHub issue conversation with focus on the last message
6repo-activity
Analyse GitHub repository activity including issues, PRs, contributors, and engagement
5format-note
Format an Obsidian note with tags and link it from today's daily note
5