Gathering detailed insights and metrics for pr-vibe
Gathering detailed insights and metrics for pr-vibe
Gathering detailed insights and metrics for pr-vibe
Gathering detailed insights and metrics for pr-vibe
🎵 When AI tools vibe together on your PRs. Let CodeRabbit and Claude Code handle the repetitive feedback while you ship features. Built BY an AI (Claude) FOR AIs to orchestrate - the first tool designed for AI-to-AI collaboration on code reviews.
npm install pr-vibe
Typescript
Module System
Min. Node Version
Node Version
NPM Version
v0.12.1 - Bot Detection Fix
Updated on Jul 07, 2025
v0.12.0 - Priority-Based Filtering
Updated on Jul 07, 2025
v0.11.0 - Smart Watch Mode 🎯
Updated on Jul 07, 2025
v0.10.0 - Merge Readiness Integration
Updated on Jul 07, 2025
v0.9.0 - Enhanced No Issues Experience
Updated on Jul 07, 2025
v0.8.0 - Claude Code Integration
Updated on Jun 23, 2025
JavaScript (99.66%)
Shell (0.34%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
88 Commits
1 Forks
15 Branches
2 Contributors
Updated on Jul 07, 2025
Latest Version
0.12.0
Package Id
pr-vibe@0.12.0
Unpacked Size
240.08 kB
Size
62.90 kB
File Count
25
NPM Version
10.8.2
Node Version
20.19.2
Published on
Jul 07, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
🎵 When AI tools vibe together on your PRs. Let CodeRabbit, Claude Code, and other bots handle the repetitive feedback while you ship features.
Built BY an AI (Claude) FOR AIs to orchestrate - the first tool designed for AI-to-AI collaboration on code reviews.
1# Try instantly without any setup! 2npx pr-vibe@latest demo
Visit our interactive demo to see pr-vibe in action.
PR review bots like CodeRabbit, Claude Code, and DeepSource are great, but they don't understand your project. You find yourself:
console.log
is valid in Lambda functions... againpr-vibe bridges this gap by:
npx pr-vibe@latest demo
1npm install -g pr-vibe 2 3# Or use directly with npx 4npx pr-vibe review 42
1npx pr-vibe@latest demo
Install pr-vibe globally:
1npm install -g pr-vibe
Check authentication status:
1pr-vibe auth
pr-vibe will automatically detect GitHub tokens from:
GitHub CLI (gh auth token
)
Environment variables (GITHUB_TOKEN
, GH_TOKEN
)
VS Code GitHub extension
Git config
🔐 Security Note: Never commit tokens to the repository. See SECURITY.md for best practices.
Initialize in your project:
1cd your-project 2pr-vibe init
Review your next PR with bot comments:
1pr-vibe pr 42
That's it! pr-vibe will analyze bot comments, handle conversations, and start learning your patterns.
1# Interactive demo - no setup required! 2pr-vibe demo 3 4# Check authentication status 5pr-vibe auth 6 7# Initialize patterns in your project 8pr-vibe init 9 10# Review bot comments interactively 11pr-vibe pr 42 12 13# Filter comments by priority 14pr-vibe pr 42 --skip-nits # Focus on critical issues only 15pr-vibe pr 42 --nits-only # Review only style/formatting comments 16pr-vibe pr 42 --show-all # Show all comments including non-critical 17 18# Priority-based filtering (NEW in v0.12.0) 19pr-vibe pr 42 --critical-only # Only must-fix issues (security, bugs) 20pr-vibe pr 42 --priority-threshold suggestion # Show must-fix + suggestions 21pr-vibe pr 42 --priority-threshold nitpick # Show all (default) 22# Note: --critical-only is equivalent to --priority-threshold must-fix 23 24# Smart watch mode - wait for bots to arrive 25pr-vibe watch 42 # Watch for bot reviews with smart polling 26pr-vibe watch 42 --auto-process # Auto-process when all bots complete 27pr-vibe watch 42 --timeout 30 # Custom timeout (default 10 minutes) 28 29# Create GitHub issues for deferred feedback 30pr-vibe pr 42 --create-issues # Auto-create issues when deferring 31pr-vibe issues 42 # Create issues from saved report 32pr-vibe issues 42 --dry-run # Preview without creating 33 34# Check if PR is ready to merge (all bot comments resolved) 35pr-vibe check 42 36 37# View saved reports for a PR 38pr-vibe report 42 39pr-vibe report 42 --list # List all reports 40pr-vibe report 42 --json # Output in JSON format 41 42# Post GitHub status check 43pr-vibe status 42 # View status 44pr-vibe status 42 --post # Post to GitHub 45 46# Export comments for external analysis (Claude Code mode) 47pr-vibe export 42 48 49# Apply decisions from Claude Code 50pr-vibe apply 42 51 52# Clean up old reports 53pr-vibe cleanup 54 55# Specify a different repository 56pr-vibe pr 42 -r owner/repo 57 58# Show what's new 59pr-vibe changelog
pr-vibe now provides richer information about your PR:
--show-all
Example output:
🔍 Analyzing PR #42...
📎 https://github.com/owner/repo/pull/42
🤖 Bot Approval Status
✅ CodeRabbit: Approved - 3 suggestions, 2 nitpicks
❌ DeepSource: Changes Requested - 1 must-fix, 2 suggestions
✨ Summary
Total comments: 8
By Priority:
Must Fix: 1
Suggestions: 5
Nitpicks: 2
(2 non-critical suggestions hidden - use --show-all to view)
# Check for updates
pr-vibe update
pr-vibe has special support for Claude Code reviews:
Example Claude Code comment handling:
Claude Code: "MUST_FIX: SQL injection vulnerability (95% confidence - FACT)"
pr-vibe: Automatically marks for fixing without re-analysis
pr-vibe gets smarter with each use. When you reject a bot suggestion as valid for your project, pr-vibe remembers:
1# .pr-bot/patterns.yml 2valid_patterns: 3 - id: console-log-lambda 4 pattern: "console.log" 5 condition: 6 files: ["**/lambda/**", "**/*-handler.js"] 7 reason: "We use console.log for CloudWatch logging" 8 confidence: 1.0
Enhance pr-vibe with LLM analysis:
1# Use Claude (recommended) 2export ANTHROPIC_API_KEY=your-api-key 3pr-vibe pr 42 --llm anthropic 4 5# Use GPT-4 6export OPENAI_API_KEY=your-api-key 7pr-vibe pr 42 --llm openai 8 9# No LLM needed - pattern matching works great! 10pr-vibe pr 42
Focus on what matters most with intelligent priority filtering:
1# Only show critical issues that must be fixed 2pr-vibe pr 42 --critical-only 3 4# Show must-fix and suggestions (hide nitpicks) 5pr-vibe pr 42 --priority-threshold suggestion 6 7# Custom threshold - show all at or above specified level 8pr-vibe pr 42 --priority-threshold nitpick # Shows everything
--critical-only
to focus on blockers--priority-threshold suggestion
for balanced review--critical-only --auto-fix
for rapid resolutionEvery pr-vibe run shows a priority breakdown:
1By Priority: 2 Must Fix: 2 3 Suggestions: 5 4 Nitpicks: 3 5 6📋 Filtered by priority: 7 Nitpicks: 3 (hidden)
pr-vibe includes an intelligent watch mode that monitors your PR for bot activity:
1# Start watching immediately after creating a PR 2gh pr create ... 3pr-vibe watch 123 4 5# Auto-process when all bots complete their reviews 6pr-vibe watch 123 --auto-process 7 8# Watch with custom timeout and auto-fix 9pr-vibe watch 123 --auto-process --auto-fix --timeout 20
Smart polling intervals:
pr-vibe now handles full conversations with bots:
Example conversation flow:
You: "This is intentional for CloudWatch"
Bot: "Actually, I was referring to the ESLint issue..."
pr-vibe: "Thank you for the clarification. You're right about the ESLint configuration..."
Bot: "LGTM! Thanks for addressing this."
[Thread resolved automatically]
GitHub limits comment bodies to 65,536 characters. pr-vibe automatically:
1# Morning: New PR from your teammate 2$ pr-vibe pr 147 3🔍 Found 12 bot comments from CodeRabbit 4 5Bot: "Missing null check on user.email" 6> What would you like to do? 7 ✓ Apply fix 8 9Bot: "console.log found in production code" 10> What would you like to do? 11 ✓ Post reply: "We use console.log for CloudWatch" 12 13[pr-vibe detects rate limit from CodeRabbit] 14⏳ Rate limit detected. Waiting 60 seconds... 15 16[After bot responds with clarification] 17💬 CodeRabbit: "Thanks for the explanation. Makes sense for Lambda!" 18✅ Thread resolved automatically 19 20Summary: Fixed 8 issues, explained 3 patterns, skipped 1 21Time saved: ~22 minutes
pr-vibe now generates detailed reports for every PR processed:
.pr-bot/reports/pr-{number}/
1# View latest report 2pr-vibe report 42 3 4# List all available reports 5pr-vibe report 42 --list 6 7# Get JSON for programmatic access 8pr-vibe report 42 --json
Never accidentally merge a PR with unresolved bot comments:
1# Returns exit 0 if ready, 1 if not 2pr-vibe check 42 3 4# Example output: 5✅ Bot Comment Status: 6 - CodeRabbit[bot]: 12/12 resolved ✓ 7 - DeepSource[bot]: 3/3 resolved ✓ 8 - Total: 15/15 (100%) 9 10✅ PR is ready to merge!
1# Post status to GitHub 2pr-vibe status 42 --post 3 4# Creates a status check that shows: 5# ✅ "All bot comments resolved (15/15)" 6# ❌ "3 bot comments need attention"
1# .github/workflows/pr-check.yml 2- name: Check bot comments resolved 3 run: | 4 npx pr-vibe check ${{ github.event.pull_request.number }}
Perfect for AI-powered development workflows:
1# Export PR comments for Claude Code analysis 2pr-vibe export 42 --format claude 3 4# Creates a markdown report optimized for LLM analysis
Learn from human reviews too:
1pr-vibe pr 42 --experimental 2 3# Now tracks patterns from senior developers 4# "When Alice requests a refactor, it's usually about service boundaries" 5# "Bob always flags missing integration tests"
pr-vibe embodies "vibe coding" - the idea that AI tools should work together harmoniously. Instead of fighting with bots or explaining the same patterns repeatedly, let pr-vibe orchestrate the conversation while you focus on building great software.
This tool was born from real frustration during PR reviews and built by Claude while actually responding to CodeRabbit comments. It's uniquely positioned to understand the AI-to-AI collaboration space because it emerged from that exact use case.
We love contributions! See CONTRIBUTING.md for guidelines.
1# Fork and clone 2git clone https://github.com/yourusername/pr-vibe.git 3cd pr-vibe 4 5# Install dependencies 6npm install 7 8# Run tests 9npm test 10 11# Make your changes and submit a PR!
pr-vibe is open source and free forever. If it saves you time, consider sponsoring:
Your support helps maintain and improve pr-vibe for everyone! 💜
MIT © Andrew Stroup and pr-vibe contributors
Built with 💜 by Claude and the vibe coding community
Remember: Code reviews are better when tools vibe together 🎵
No vulnerabilities found.
No security vulnerabilities found.