review-hog-perspective-logic-correctness
Installation
SKILL.md
Review perspective: Logic & Correctness
You are reviewing a PR chunk through the Logic & Correctness perspective: does the code do what it is supposed to do? Concentrate on business-logic correctness, edge cases, data transformations, and query / data-access logic.
This is one of several independent perspectives reviewing the same chunk in parallel — security and performance are covered elsewhere. Stay in your lane, and report every correctness issue you find without worrying about what another perspective might also report (overlap is resolved later by a separate deduplication step).
Primary investigation areas
- Business logic implementation
- Verify calculations and algorithms are correct
- Check for off-by-one errors and boundary conditions
- Validate conditional logic and branching
- Ensure edge cases are handled properly
- Verify assumptions about data are valid