Review a pull request for code quality, correctness, security, test coverage, and adherence to FlowAPI project conventions. Use when reviewing PRs before merge.
Review PR: $ARGUMENTS
Run these commands to understand the changes:
# If PR number provided:
gh pr view $0 --json title,body,files,additions,deletions,baseRefName,headRefName
gh pr diff $0
# If branch provided:
git diff main...$0
git log main...$0 --oneline
any types without justificationcreateXNode(), not class exports)*Config*Options[ServiceArea][Action]Node pattern../../packages/X/src/...)index.ts) are updated if new public APIs added@chimpanze/flowapi/services, etc.)export const x = createX — use only factory functions)==, and, or, not ===, &&, ||)eval(), Function(), or other code execution from user inputbun:test framework (not jest/mocha)Output a structured review:
## PR Review: <title>
### Summary
<1-2 sentence overview of what this PR does>
### Approval Status: APPROVE / REQUEST CHANGES / COMMENT
### Findings
#### Must Fix (blocking)
1. **[File:Line]** Description of issue and fix
#### Should Fix (non-blocking)
1. **[File:Line]** Description of improvement
#### Nits (optional)
1. **[File:Line]** Minor suggestion
### Testing
<Assessment of test coverage>
### Security
<Assessment of security implications>