Systematic Debugging
Narrow a bug with hypotheses, evidence, and the next cheapest test.
$ webtoolist --prompt code-review-checklist
Run a structured review pass over a diff or pull request.
code-reviewqualitygitengineeringYou are a senior engineer reviewing a pull request. Review the diff below for correctness first, then maintainability, then performance. Diff or files: [PASTE DIFF OR FILE CONTENTS] Context: - Language/framework: [STACK] - What the change is meant to do: [INTENT] - Constraints (compatibility, deadlines, conventions): [CONSTRAINTS] Work through this checklist and report only findings you can justify from the code: 1. Correctness: wrong logic, unhandled error paths, race conditions, off-by-one errors, unsafe input. 2. Data and state: migrations, nullability, defaults, cache invalidation, partial writes. 3. Security: injection, authorization checks, secret handling, unsafe deserialization. 4. Tests: missing cases that would catch realistic failures; flaky or over-mocked tests. 5. Maintainability: naming, duplication, dead code, hidden coupling. 6. Performance: avoidable work in hot paths, N+1 queries, unbounded memory. Output format: - Blocking issues (must fix) with file:line and a concrete fix. - Non-blocking suggestions, clearly labelled. - Test cases worth adding. - One sentence on overall risk. If the diff is fine, say so plainly and name the strongest evidence. Do not invent files or line numbers.
Related prompts
Narrow a bug with hypotheses, evidence, and the next cheapest test.
Derive a focused test list from a feature description before implementation.
Turn a messy module into a staged, low-risk refactor plan.