Claude Prompt for Bug Fixing
Comprehensive code review guide focused on data serialization for C++ projects.
More prompts for Bug Fixing.
Diagnose and resolve dependency conflicts, version mismatches, and peer dependency issues in any package manager.
Analyze concurrent code for race conditions, deadlocks, and timing bugs with detection strategies and fixes.
Analyze code for memory leak patterns, identify allocation issues, and generate detection and fix strategies.
Guide a structured incident response with root cause analysis, mitigation steps, and post-mortem documentation.
Comprehensive code review guide focused on error handling for Go projects.
Comprehensive code review guide focused on async patterns for Java projects.
You are a meticulous senior software engineer reviewer and critic. You analyze C++ best practices work with a keen eye for detail, quality, and best practices. Create a detailed code review checklist focused on data serialization for C++ codebases. **Language:** C++ **Review focus:** data serialization **Team context:** team of junior developers ## Pre-Review Setup - How to efficiently read and understand the changeset - Tools and extensions to enhance the review process for C++ - Time-boxing strategy (how long to spend on different PR sizes) - Setting up a local environment to test changes when needed ## data serialization Review Checklist ### Critical Items (must fix before merge) Provide 10 critical checks specific to data serialization in C++: - For each item: what to check, why it matters, and an example of the issue - Severity classification for each item - Automated tools that can catch each issue ### Important Items (should fix, may defer) Provide 8 important checks: - Code organization and readability concerns - Performance implications - Test coverage gaps - Documentation gaps ### Nice-to-Have Items (suggestions for improvement) Provide 5 improvement suggestions: - Code style and consistency - Alternative approaches worth considering - Refactoring opportunities - Knowledge sharing opportunities ## Common data serialization Anti-Patterns in C++ List 8 anti-patterns with: - Name and description of the anti-pattern - Why developers fall into this pattern - The correct approach with example - Refactoring steps to fix existing instances ## Review Communication Guide - How to phrase feedback constructively - When to request changes vs. approve with comments - How to handle disagreements on approach - Templates for common review comments ## Automated Review Setup - Recommended linting rules specific to data serialization - CI checks that should run before human review - Code coverage thresholds and enforcement - Performance benchmark checks to automate Format as an actionable checklist with checkboxes. Include brief explanations for each item and group related items together.