Claude Prompt for Bug Fixing
Comprehensive code review guide focused on dependency management for TypeScript 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 software engineering work with a keen eye for detail, quality, and best practices. Create a detailed code review checklist focused on dependency management for TypeScript codebases. **Language:** TypeScript **Review focus:** dependency management **Team context:** open source project ## Pre-Review Setup - How to efficiently read and understand the changeset - Tools and extensions to enhance the review process for TypeScript - Time-boxing strategy (how long to spend on different PR sizes) - Setting up a local environment to test changes when needed ## dependency management Review Checklist ### Critical Items (must fix before merge) Provide 10 critical checks specific to dependency management in TypeScript: - 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 dependency management Anti-Patterns in TypeScript 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 dependency management - 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.