Neo Code Review
When the user invokes this skill ($neo-review <file or module>), do the following:
Identify the target. It will usually be a file path (e.g.
src/api/handlers.py), a module name, or a free-form description ("the payment processing code"). Use Read/Grep/Glob to resolve it to concrete file(s).Read the relevant code. Up to 5 files at a time keeps Neo's context budget healthy. Prefer the files where the actual logic lives over generated/test files.
Invoke Neo with a review-framed prompt. Allow up to 5 minutes.
neo <<'QUERY' Review the following code for: security vulnerabilities, edge cases, error handling, performance issues. Provide concrete suggestions with confidence scores. <paste relevant code or summarize what you read> QUERYFilter Neo's output to review-relevant findings. Group by severity. Flag any finding with confidence ≥ 0.8 as actionable; treat lower-confidence findings as worth-checking-but-verify.
Cross-reference with Neo's KNOWN ISSUES IN NEARBY CODE section if present. Neo's context-assembly already surfaces TODOs, stubs, swallowed exceptions, hardcoded credentials — those overlap with review concerns and add weight to related findings.
Notes
- Neo's confidence scores reflect both LLM self-assessment and pattern-match strength against past reviews in semantic memory.
- For security-critical code, escalate findings the user pushes back on — Neo's memory is updated with outcomes, so consistent rejections will demote weak patterns over time.