/trove-dev:review [files | PR# | branch]from trove-dev
Reviews code changes from staged files, PRs, or branches with project-aware best practices. Detects stack, runs lint/type checks, and produces a structured report covering quality, security, performance, and testing.
Ships in trove-dev. Installing the plugin adds it to Claude Code.
Review scope: $ARGUMENTS
If a PRP file was used for implementation, read it first to understand the requirements.
Identify changes to review:
git diff --stagedgh pr view <number> --json files,additions,deletionsgit diff origin/$BASE...HEADDetect project stack from config files (pyproject.toml, package.json, Package.swift, next.config.*, etc.) to apply stack-specific review criteria.
Read the FULL context — read complete files to understand structure and data flow before flagging issues. Verify issues are ACTUAL bugs, not false positives.
Apply project rules — if .claude/rules/ exists, read and apply all rules found there.
Run quality checks using project-appropriate tooling:
| Stack | Commands |
|---|---|
| Python | ruff check ., ruff format --check . |
| Node/React/Vue | pnpm lint or npm run lint, pnpm type-check |
| Next.js | npm run lint, npm run type-check |
| Swift | swiftlint, swift build |
anyPython/FastAPI:
await, no blocking calls in asynclogger.exception() in handlers, extra={} for WARNING/ERRORReact/Vue:
Swift:
@Observable / @State / @Binding usageasync/await, no data races)Next.js:
# Code Review
## Status
STATUS: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
## Summary
[2-3 sentence overview]
## Issues Found
### Critical (Must Fix)
- [Issue with file:line and suggested fix]
### Important (Should Fix)
- [Issue with file:line and suggested fix]
### Minor (Consider)
- [Improvement suggestions]
## Checklist
- [ ] No mutation / race condition bugs
- [ ] Error handling covers edge cases
- [ ] No memory or resource leaks
- [ ] Types correct and complete
- [ ] No security issues (XSS, injection, exposed secrets)
- [ ] No unnecessary performance costs
- [ ] Code is readable and well-structured
- [ ] Tests cover new/changed behavior
- [ ] Lint/format passes
- [ ] Project conventions followed
Save report to .claude/reviews/review-[#].md (check existing files first).
If uncertain after 3 investigation attempts, STOP and escalate:
STATUS: BLOCKED
REASON: [1-2 sentences]
ATTEMPTED: [what was tried]
RECOMMENDATION: [what the user should do next]
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
9 commands in this plugin
/changelogGenerate ChangelogGenerate changelog for a new release version/commitCreate Git CommitCreate an atomic git commit with conventional message/docDocumentation GeneratorGenerate or sync documentation with the current codebase/new-branchCreate Git BranchCreate a conventional git branch from user request/prCreate Pull RequestCreate Pull Request with comprehensive description/prp-createCreate Feature PRPCreate comprehensive implementation PRP with deep codebase analysisnpx claudepluginhub bravew/trove --plugin trove-devOther plugins' commands for the same job