From erne-universal
Runs parallel code-reviewer and performance-profiler agents for pre-merge quality checks on React Native code, producing PASS/FAIL verdict with details.
npx claudepluginhub jubakitiashvili/everything-react-native-expo# /erne-quality-gate — Pre-Merge Checks You are executing the `/erne-quality-gate` command. Run **code-reviewer** and **performance-profiler** in parallel for comprehensive pre-merge validation. ## Parallel Execution ### Agent 1: code-reviewer — Code Quality Run a full code review focused on merge readiness: **Correctness:** - Logic errors, edge cases - TypeScript type safety (no `any` escapes) - Error handling completeness **Style & Conventions:** - Follows project rules (check `.claude/rules/`) - NativeWind usage is consistent - Component structure matches patterns **Security:** - ...
You are executing the /erne-quality-gate command. Run code-reviewer and performance-profiler in parallel for comprehensive pre-merge validation.
Run a full code review focused on merge readiness:
Correctness:
any escapes)Style & Conventions:
.claude/rules/)Security:
Testing:
Run performance validation:
Bundle Impact:
# Compare bundle size before/after changes
npx react-native-bundle-visualizer
Runtime Checks:
FlashList with estimatedItemSizeMemory:
## Quality Gate Result: PASS / FAIL
### Code Review: PASS
- 0 Critical issues
- 1 Warning (TODO in checkout.tsx:45)
- 3 Suggestions
### Performance: PASS
- Bundle size: +12KB (within threshold)
- No new re-render issues detected
- Memory: No leaks detected
### Verdict: PASS ✓
Ready for merge. Address 1 warning in next iteration.
The gate produces a binary PASS/FAIL. FAIL if: