Overview
Code reviews are critical for maintaining code quality but can be time-consuming. Righthands perform preliminary code analysis, identify potential issues, and help teams be more effective in their review process.Core Capabilities
Pre-Review Analysis
Before human review, Righthands provide:Code Quality Check
Identify code smells, complexity issues, and style violations
Security Scan
Flag potential security vulnerabilities and unsafe patterns
Performance Review
Spot inefficient algorithms and performance bottlenecks
Test Coverage
Verify adequate test coverage for changed code
Support for Code Authors
1
Pre-Submission Review
Performs review before PR submission to catch obvious issues
2
Description Generation
Generates comprehensive PR descriptions from commit messages and code changes
3
Test Recommendations
Suggests test cases based on code changes
4
Breaking Change Detection
Identifies potential breaking changes to flag for reviewers
Support for Reviewers
1
Change Summary
Provides high-level summary of what changed and why
2
Risk Assessment
Identifies which changes carry highest risk
3
Context Gathering
Compiles related tickets, previous discussions, and architectural decisions
4
Review Comments
Generates draft review comments for common issues
Common Use Cases
Pre-Submission Code Review
Pull Request Description Generation
Righthand can analyze your commits and changes to create comprehensive PR descriptions:What Changed
What Changed
High-level summary of modifications, additions, and deletions
Why Changed
Why Changed
Link to tickets, explain motivation, provide business context
How to Test
How to Test
Steps for reviewers to verify the changes work correctly
Deployment Notes
Deployment Notes
Migration steps, configuration changes, or special deployment requirements
Reviewer’s Pre-Review Briefing
Before diving into code, reviewers can ask:Example Queries
Code Pattern Consistency
Righthand can verify consistency with codebase patterns:1
Identify Pattern Deviations
Compare new code against established patterns in the codebase
2
Style Consistency
Check naming conventions, file organization, and code structure
3
Architectural Compliance
Verify changes follow architectural decisions and layer separation
Advanced Features
Security-Focused Review
For security-critical changes, Righthand performs deep analysis:| Security Check | What It Detects |
|---|---|
| Injection vulnerabilities | SQL, command, LDAP injection patterns |
| Authentication issues | Weak auth, session management flaws |
| Authorization problems | Missing access controls, privilege escalation |
| Data exposure | Sensitive data in logs, error messages, or URLs |
| Cryptography | Weak algorithms, hard-coded secrets, key management |
| Dependencies | Known vulnerabilities in dependencies |
Performance Impact Analysis
Ask Righthand to evaluate performance implications:Example Analysis
Breaking Change Detection
Righthand identifies potential breaking changes:API Changes
Modified or removed public API methods
Data Schema
Database schema changes requiring migration
Configuration
New required environment variables or config
Dependencies
Updated dependencies with breaking changes
Best Practices
For Code Authors
1
Run Self-Review First
Use Righthand to catch issues before submitting for review
2
Generate Comprehensive Description
Let Righthand draft PR description, then add business context
3
Address Automated Feedback
Fix issues flagged by Righthand before requesting human review
4
Add Context Comments
Explain complex or non-obvious code decisions
For Reviewers
1
Start with Summary
Get Righthand’s overview before diving into code
2
Focus on High-Risk Areas
Use Righthand’s risk assessment to prioritize review time
3
Verify Automated Findings
Check that critical issues identified by Righthand are addressed
4
Add Human Judgment
Focus your review on design decisions, business logic, and maintainability
Review Efficiency Tips
Integration with Development Workflow
GitHub/GitLab Integration
Righthand can integrate with your PR workflow:Automated PR Comments
Automated PR Comments
Post review findings as comments on the PR
Status Checks
Status Checks
Block PRs with critical issues from merging
Review Requests
Review Requests
Suggest appropriate reviewers based on code changes
Changelog Generation
Changelog Generation
Automatically update CHANGELOG.md with PR summaries
Code Review Metrics
Track review effectiveness over time:Example Queries
Example Workflows
Full PR Review Cycle
Full PR Review Cycle
Scenario: Complete code review from submission to merge
-
Author Pre-Submission
- Complete feature implementation
- “Review my changes before I submit PR”
- Fix issues identified by Righthand
- “Generate PR description from my commits”
- Submit PR with generated description
-
Automated Review
- Righthand automatically analyzes PR
- Posts preliminary findings as comments
- Tags specific reviewers based on code areas
-
Human Review
- Reviewer: “Summarize PR #567 and highlight risks”
- Reviews code focusing on design and business logic
- Righthand assists with suggesting test cases
- Approves with comments
-
Post-Review
- Author addresses feedback
- Righthand verifies all issues resolved
- PR merged
- Righthand updates changelog and documentation
Large Refactoring Review
Large Refactoring Review
Scenario: Reviewing a major code refactoring
- “Analyze the refactoring in PR #789 - 2,400 lines changed”
-
Righthand provides:
- Component-by-component change summary
- Behavioral changes vs. pure refactoring
- Risk areas where bugs might hide
- Test coverage gaps
-
Focus review on:
- High-risk behavioral changes
- Areas with insufficient tests
- Potential performance regressions
-
“Compare performance before and after refactoring”
- Righthand analyzes algorithmic complexity
- Identifies any performance improvements or regressions
Code Quality Checks
Standard Checks
- Code Complexity: Cyclomatic complexity, nesting depth, function length
- Code Duplication: Identify repeated code blocks
- Naming Conventions: Verify consistent naming patterns
- Documentation: Check for missing docstrings or comments
- Error Handling: Ensure proper error handling and logging
Language-Specific Checks
- JavaScript/TypeScript
- Python
- Java
- Go
- Proper use of async/await
- Type safety in TypeScript
- React hooks rules compliance
- Common anti-patterns
Related Use Cases
- Documentation Generation - Auto-generate docs from reviewed code
- Bug Triage - Connect review findings to bug prevention