AI-powered code review CLI for Cursor IDE
npm install @iamshubhankarkhare/cursor-review-cliš AI-powered code review CLI for Cursor IDE that enables intelligent code review before human review.
- šØ Beautiful CLI interface with gradient banners
- š Progress tracking and status reporting
- š Git diff analysis for changed files
- š GitHub integration with commit status API
- š Batch file review support
- ā
Review completion verification
``bashInstall globally
npm install -g @iamshubhankarkhare/cursor-review-cli
Usage
$3
`bash
cursor-review start
`
Shows banner, analyzes repository, and lists files to review.$3
`bash
cursor-review mark src/components/UserProfile.vue src/composables/useAuth.ts
`$3
`bash
cursor-review status
`$3
`bash
cursor-review finalize
`
Posts review completion status to GitHub.Configuration
Set up environment variables:
`bash
GitHub token for API access
export GITHUB_TOKEN="your-github-token"Repository (optional, auto-detected)
export GITHUB_REPOSITORY="owner/repo-name"
`Workflow
1. Start Review:
cursor-review start
2. Review Files: Use Cursor AI to review files in batches
3. Mark Reviewed: cursor-review mark
4. Check Progress: cursor-review status
5. Finalize: cursor-review finalizeGitHub Integration
The CLI posts commit status checks to GitHub when review is complete:
- ā
cursor-ai-review - AI Review: 12/12 files reviewed
Requirements
- Node.js 16+
- Git repository
- GitHub token (for finalization)
Development
`bash
Clone the repository
git clone https://github.com/iamshubhankarkhare/cursor-review-cli.git
cd cursor-review-cliInstall dependencies
npm installLink for local development
npm linkTest the CLI
cursor-review start
``MIT
Shubhankar Khare