quick-reference.md - Daily cheat sheet
- 5-minute checklist
- Quick problem-finding commands
- Common error patterns
- Start here!
1. README.md - Methodology Overview
- General approach to code review
- Documentation structure
- Problem prioritization
- Effective review principles
2. security-vulnerabilities.md - Security
- Replay attacks
- SQL/Command injections
- Secret leaks
- Cryptography issues
- 16 KB - MOST IMPORTANT
3. performance-issues.md - Performance
- Inefficient allocations
- Duplicate operations
- Algorithmic complexity
- Blocking operations
- 15 KB
4. code-quality.md - Code Quality
- DRY principle
- Readability
- Documentation
- Testing
- Architectural principles
- 16 KB
5. rust-specific.md - Rust Specifics
- Ownership and Borrowing
- Lifetimes
- Panic vs Result
- let-else vs map_err chains
- Unsafe code
- Traits and Generics
- 14 KB
6. examples.md - Real Examples
- Telegram Authentication analysis
- N+1 Query Problem
- Memory Leaks
- Before/After refactoring with metrics
- 17 KB
- Open quick-reference.md
- Use the 5-15 minute checklist
- Run problem-finding commands
- Open security-vulnerabilities.md
- Find the vulnerability type
- Check examples and solutions
- Open performance-issues.md
- Check the section by category (allocations/algorithms/copying)
- Use profiling tools
- Open code-quality.md
- Section "Architectural principles"
- Check SRP, modularity, DI
- Open rust-specific.md
- Find the category (ownership/lifetimes/unsafe)
- Check correct code examples
- Open examples.md
- Read the Telegram Authentication example
- Check improvement metrics
code-quality.md 16 KB
examples.md 17 KB
performance-issues.md 15 KB
quick-reference.md 7.7 KB
README.md 6.5 KB
rust-specific.md 14 KB
security-vulnerabilities.md 16 KB
Total: ~92 KB of detailed methodology
+---------------------------------------------+
| 1. Open PR and read description |
| Time: 2-3 minutes |
+------------------+--------------------------+
|
v
+---------------------------------------------+
| 2. SECURITY (security-vulnerabilities.md) |
| - Secrets, injections, validation |
| Time: 5-10 minutes |
+------------------+--------------------------+
|
v
+---------------------------------------------+
| 3. PERFORMANCE (performance-issues.md) |
| - Duplication, O(n^2), allocations |
| Time: 5-10 minutes |
+------------------+--------------------------+
|
v
+---------------------------------------------+
| 4. QUALITY (code-quality.md) |
| - DRY, readability, tests |
| Time: 5-10 minutes |
+------------------+--------------------------+
|
v
+---------------------------------------------+
| 5. RUST-SPECIFIC (rust-specific.md) |
| - Ownership, unsafe, lifetimes |
| Time: 5 minutes |
+------------------+--------------------------+
|
v
+---------------------------------------------+
| 6. Write comments |
| - Specific, with solution examples |
| Time: 5-10 minutes |
+------------------+--------------------------+
|
v
Approve / Request Changes
Total time: 30-45 minutes for a thorough review
- Use search: All files are markdown, easy to search with Ctrl+F
- Start with quick-reference: For daily use
- Return to examples: examples.md contains real cases
- Copy commands: All bash commands are ready to use
- Take notes: Add your own findings to the methodology
- README.md - understand the general approach
- quick-reference.md - memorize basic checks
- examples.md - learn from examples
- The rest - as needed
- quick-reference.md - use as a checklist
- Specific sections - when you need details
- examples.md - for metrics reference
When you find new problem types:
- Add to the corresponding file
- Update quick-reference.md if it's a common problem
- Add to examples.md if you have a good example
code-review-methodology/
|-- en/ # English version
| |-- INDEX.md # This file - navigation
| |-- README.md # General overview
| |-- quick-reference.md # Cheat sheet
| |-- security-vulnerabilities.md # Security
| |-- performance-issues.md # Performance
| |-- code-quality.md # Code quality
| |-- rust-specific.md # Rust specifics
| +-- examples.md # Real examples
+-- ru/ # Russian version
+-- ...
Created: 2025-10-26 Version: 1.0 Author: Based on practical code review experience