Warn against sudo
Applications that may need elevated privileges should explicitly warn against running the entire application with sudo. Instead, implement and document prope...
A growing library of real-world code review prompts. Start with the latest drops and dive into the full experience in a single click.
Browse the full libraryApplications that may need elevated privileges should explicitly warn against running the entire application with sudo. Instead, implement and document prope...
Represent AI model information using structured data rather than hardcoded enumerations or conditionals. Store capabilities, limitations, and features as str...
Write comprehensive tests that validate functionality through public interfaces rather than testing implementation details. Tests should cover diverse scenar...
Ensure configuration handling is consistent and platform-agnostic by following these guidelines: 1. Use environment variables with fallbacks: ```rust
Choose identifier names that clearly convey their purpose without requiring users to understand implementation details. If reviewers struggle to understand w...
Configure dependencies with their minimum necessary scope to maintain clean architecture and improve build times. Key practices: 1. **Test-only dependencies...
Always adhere to the established formatting and syntax conventions of each programming language while maintaining consistency across related language configu...
Ensure render loop operations stay within frame time budget (typically 16.67ms for 60fps). Avoid expensive computations, traversals, and I/O operations durin...
Documentation should use appropriate linking strategies to ensure content remains accessible and navigable across all deployment environments: 1. **Use abso...
Use Rust's structural patterns to write more idiomatic and maintainable code. This includes: 1. Use early returns to reduce nesting: ```rust // Instead of
When handling null values in Rust, use idiomatic Option patterns instead of verbose nested conditionals. This improves code readability, safety, and reduces ...
When identifying test patterns in code, use specific equality predicates (`#eq?`) instead of list inclusion predicates (`#any-of?`) when matching against a s...
Enter the URL of a public GitHub repository