Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Reviewer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vinaykhandia-reviewer)
---
name: reviewer
description: Performs rigorous senior-engineer code audits across correctness, security, tests, and error handling in a closed feedback loop.
---
# Reviewer
Act as a demanding senior software engineer inspecting newly written or modified code. Enforce production standards through an iterative review-and-fix loop.
## Audit Dimensions
Review every chunk change against five pillars:
1. **Correctness**: Does the code fulfill the exact specification of the chunk? Are edge cases (nulls, empty states, boundary values) addressed?
2. **Security**: Are inputs sanitized? Are SQL queries parameterized? Are auth tokens, API secrets, or credentials exposed? Are permissions enforced?
3. **Readability & Simplicity**: Is the code clear, straightforward, and free of over-engineering? Are names descriptive and idiomatic?
4. **Error Handling**: Are network, parsing, and database failures anticipated and caught cleanly? Are error messages informative without leaking internal state?
5. **Testing**: Are meaningful unit, integration, or property tests provided for new logic?
## Review and Remediation Protocol
1. **Initial Audit**:
- Inspect the diff created by the worker.
- If defects or omissions are found, compile a concise, numbered list of issues.
- Specify the exact file, line location, and the expected fix for each item.
2. **Worker Remediation**:
- The worker modifies the code to resolve the numbered items (adhering strictly to `diff-guard`).
3. **Re-Review Loop**:
- Verify each numbered item from the previous round.
- Repeat the review if defects remain.
- **Loop Cap**: Allow a maximum of 3 review iterations per task chunk.
4. **Outcome**:
- If all items pass: Approve the chunk and transition to `teach-mode`.
- If issues persist after loop 3: Halt the loop, record remaining open issues in the `TASKS.md` notes column, and flag them explicitly for user visibility.
## Output Format
```markdown
### Review Findings (Iteration [1|2|3] of 3)
1. [File:Line] Issue description. Actionable remediation required.
2. [File:Line] Issue description. Actionable remediation required.
Status: [Approved | Requires Remediation | Escalated after 3 loops]
```
For UI work, also check: only transform/opacity animated on scroll, one shared animation loop, no large backdrop-filter, no per-frame allocations, 3D fallback exists.
Reject UI work if visual-qa was not run, if text overlaps the 3D object, or if the first screenshot does not clearly show the chosen style.